PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Kismet & Netgear MA111



Jesuz
05.09.2006, 23:16
Hallo liebe Buha Gemeinde,

ich hätte folgendes Problem:

auf meinem System habe ich eine Suse 10.0 mit dem Kernel .2.6.13 installiert. Auf diesem System möchte ich, wunder wunder der name des threads sagt es schon, kismet laufen lassen. Als Wlan Karte nutze ich wie schon gesagt die MA111

ich habe die Netgear mit den Standardtreibern laufen, wird von der suse einwandfrei erkannt. Derzeit läuft sie im Managed mode.

Meine config datei von kismet habe ich folgendermassen configuriert:
----------------------------------------------------------------------------------------------------

# Kismet config file
# Most of the "static" configs have been moved to here -- the command line
# config was getting way too crowded and cryptic. We want functionality,
# not continually reading --help!

# Version of Kismet config
version=2005.06.R1

# Name of server (Purely for organizational purposes)
servername=Kismet

# User to setid to (should be your normal user)
suiduser=uk

# Sources are defined as:
# source=sourcetype,interface,name[,initialchannel]
# Source types and required drivers are listed in the README under the
# CAPTURE SOURCES section.
# The initial channel is optional, if hopping is not enabled it can be used
# to set the channel the interface listens on.
# YOU MUST CHANGE THIS TO BE THE SOURCE YOU WANT TO USE
source=prism54g,wlan0,addme

# Comma-separated list of sources to enable. This is only needed if you defined
# multiple sources and only want to enable some of them. By default, all defined
# sources are enabled.
# For example:
# enablesources=prismsource,ciscosource

# Do we channelhop?
channelhop=true



----------------------------------------------------------------------------------------------------

Soooooooooooooo, nun würde ich ja gern kismet laufen lassen, nur bekomme ich folgende meldung:

linux:~ # kismet
Server options: none
Client options: none
Starting server...
Waiting for server to start before starting UI...
Will drop privs to uk (1000) gid 100
No specific sources given to be enabled, all will be enabled.
Enabling channel hopping.
Enabling channel splitting.
Source 0 (addme): Enabling monitor mode for prism54g source interface wlan0 channel 6...
FATAL: Failed to set monitor mode: Operation not supported. This usually means your drivers either do not support monitor mode, or use a different mechanism for getting to it. Make sure you have a version of your drivers that support monitor mode, and consult the troubleshooting section of the README.


so, nun folgende Frage: Warum unterstützt die Karte keinen Monitor Mode? Mein kumpl hat einen MAC und wir haben die Karte mit kismac einwandfrei laufen lassen...

Könnte es daran liegen das ich das prism54g Modul gewählt habe? Es gab leider kein anderes Modul im Support zur Auswahl, ich weiss das ich einen Prism2 Chipsatz drinnen habe ... Auf meinem PC wurde der Stick auch schon erfolgreich mit kismet eingesetzt ... und zwar unter Backtrack, da liefs, aber warum nicht bei mir wenn ich das unter suse zum laufen bringen will?

Ich würde mich über hilfe sehr freuen :)

PS.: iwconfig wlan0 mode monitor bringt genau das gleiche wie wenn ich adhoc oder managed einstellen will:

linux:~ # iwconfig wlan0 mode monitor
Error for wireless request "Set Mode" (8B06) :
SET failed on device wlan0 ; Operation not supported.

deepthought
06.09.2006, 07:14
PS.: iwconfig wlan0 mode monitor bringt genau das gleiche wie wenn ich adhoc oder managed einstellen will:

linux:~ # iwconfig wlan0 mode monitor
Error for wireless request "Set Mode" (8B06) :
SET failed on device wlan0 ; Operation not supported.

Bei prism2 brauchte man imho dieses wlanctl-ng Kommando um in den Monitormodus zu wechseln. Probier also mal "wlanctl-ng wlan0 lnxreq_wlansniff enable=true" bevor du Kismet startest.


Könnte es daran liegen das ich das prism54g Modul gewählt habe? Es gab leider kein anderes Modul im Support zur Auswahl, ich weiss das ich einen Prism2 Chipsatz drinnen habe .

Im "Support"? :confused:

Jesuz
06.09.2006, 08:33
^^ http://www.kismetwireless.net/documentation.shtml


hmm, der Befehl funktioniert leider nicht --- "The required argument channal has no value" ... öhhhm, wo geb ich den mit? wlanctl-ng commands gibt ja hier tausende von befehlen aus :(

deepthought
06.09.2006, 08:39
Dann halt noch ein " channel=1" hinten dran.

Jesuz
06.09.2006, 09:21
gibt mir n sucess aber der fehler bleibt ... kann man noch ein anderes moduul als prism54g wählen? Weil ich bin mir net sicher ob das BSD Modul was bringt, oder gibts noch was was undokumentiert ist

deepthought
06.09.2006, 10:52
Was fürn Kernelmodul verwendet die Karte denn? "prism54g" ist nur richtig wenn auch das Kernelmodul "prism54" verwendest. Ich vermute aber eher du verwendest "prism2_usb" oder was in der Art. Dann müsstest du "wlanng" in der kismet.conf verwenden.

Jesuz
06.09.2006, 22:50
linux:~ # wlanctl-ng wlan0 lnxreq_wlansniff enable=true channel=1
message=lnxreq_wlansniff
enable=true
channel=1
prismheader=no_value
wlanheader=no_value
keepwepflags=no_value
stripfcs=no_value
packet_trunc=no_value
resultcode=success
linux:~ # kismet
Server options: none
Client options: none
Starting server...
Waiting for server to start before starting UI...
Will drop privs to uk (1000) gid 100
No specific sources given to be enabled, all will be enabled.
Enabling channel hopping.
Enabling channel splitting.
Source 0 (addme): Enabling monitor mode for wlanng source interface wlan0 channel 6...
Source 0 (addme): Opening wlanng source interface wlan0...
Spawned channelc control process 22127
Dropped privs to uk (1000) gid 100
Allowing clients to fetch WEP keys.
Logging networks to Kismet-Sep-06-2006-1.network
Logging networks in CSV format to Kismet-Sep-06-2006-1.csv
Logging networks in XML format to Kismet-Sep-06-2006-1.xml
Logging cryptographically weak packets to Kismet-Sep-06-2006-1.weak
Logging cisco product information to Kismet-Sep-06-2006-1.cisco
Logging gps coordinates to Kismet-Sep-06-2006-1.gps
Logging data to Kismet-Sep-06-2006-1.dump
Writing data files to disk every 300 seconds.
Mangling encrypted and fuzzy data packets.
Tracking probe responses and associating probe networks.
Reading AP manufacturer data and defaults from /usr/local/etc/ap_manuf
Reading client manufacturer data and defaults from /usr/local/etc/client_manuf
Using network-classifier based data encryption detection
FATAL: Dump file error: Unable to open dump file Kismet-Sep-06-2006-1.dump (Permission denied)
Sending termination request to channel control child 22127...
Waiting for channel control child 22127 to exit...
WARNING: addme (wlan0) unable to exit monitor mode automatically. You may
need to manually restart the device and reconfigure it for normal
operation.Kismet exiting.

Soooooooooo, wenn du mir jetzt noch sagst wieso ich n Berechtigungsfehler hast halte ich dich für Gott ... ich mein ich starte das ding doch schon als root da hab ich doch auf alles zugriff oder?

Jesuz
07.09.2006, 09:54
okay et läuft ... ich hab den Fehler gemacht und Kismet nicht aus dem home verzeichniss gestartet, aber nun funktionierts :)

Ich danke für die Hilfe ...