LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   kismet not working (https://www.linuxquestions.org/questions/linux-software-2/kismet-not-working-449373/)

true_atlantis 05-28-2006 02:06 PM

kismet not working
 
i am trying to get kismet working with my madwifi driver, but i get this error from kismet as soon as it loads...

┌─Status───────────────────────────────────────────────────────────────────────┐
│ Connected to Kismet server version 2006.04.R1 build 20050815211952 on localh│
│ localhost:2501 TCP error: socket returned EOF, server has closed the connect│
│ │
│ │
└─Battery: 0% 0h0m0s───────────────────────────────────────────────────────────┘


im using the madwifi-ng driver... any ideas?

when trying to run the server, i get this error...

Will drop privs to atlantis (1000) gid 100
No specific sources given to be enabled, all will be enabled.
Enabling channel hopping.
Enabling channel splitting.
Source 0 (madwifi): Enabling monitor mode for madwifi_ag source interface wifi0 channel 6...
WARNING: wifi0 appears to not accept the Madwifi-NG controls. Will attempt to configure it as a standard Madwifi-old interface. If you are using madwifi-ng, be sure to set the source interface to the wifiX control interface, NOT athX
FATAL: channel get ioctl failed 22:Invalid argument

meetscott 05-30-2006 02:26 AM

I'm not sure if this is your problem but I ran into some weird behavior with kismet that I threw me off for a bit. It turned out to be permission problems, but that wasn't clear at the time. See in order to bring down the wireless ethernet interface, you have to be root. But for security reasons, kismet always runs as a regular user. So you start kismet from the root account, it kicks you over to a regular user and you're dead because the regular user can't write to the root's home directory because of permissions. Kismet kicks out a lot of log information, so I created a directory naturally called "kismet" in my home directory (because I have kismet configured to kick me over to my regular user account once it starts). My procedure then becomes: log into root, change to /home/scott/kismet directory, start kismet, and walla! I'm running as a regular user, me, and logging kismet info in my set aside place.

The fact that it's not accepting wi-fi controls kind of indicates this problem. Another possibility is that your card can't be used in monitor mode. I've never witnessed this behavior but I've heard it can happen.


All times are GMT -5. The time now is 04:15 PM.