LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-25-2005, 08:05 PM   #1
Ephracis
Senior Member
 
Registered: Sep 2004
Location: Sweden
Distribution: Ubuntu, Debian
Posts: 1,109

Rep: Reputation: 50
Kismet does not start


I have a working wlan and my card is a D-Link DWL-AG650. Everything is working and I thought I would try out Kismet. I have installed all the dependencies and kismet did compile fine. But I can't seem to start it, not even as root.

Code:
$ kismet      
Server options:  none
Client options:  none
Starting server...
Will drop privs to mezzymeat (1000) gid 100
No specific sources given to be enabled, all will be enabled.
Enabling channel hopping.
Enabling channel splitting.
Source 0 (D-Link_AG): Enabling monitor mode for madwifi_ag source interface wlan0 channel 6...
FATAL: Unable to find private ioctl 'get_mode'
Waiting for server to start before starting UI...
Also I get this error when trying to switch to monitor mode by using iwconfig:
Code:
$ iwconfig wlan0 mode Monitor
Error for wireless request "Set Mode" (8B06) :
    SET failed on device wlan0 ; Invalid argument.
 
Old 03-26-2005, 01:48 PM   #2
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
Did you properly edit kismet.conf with your wireless card and the correct driver? It would appear your card does not support monitor mode. If you are using ndiswrapper or anything other than a native linux driver kismet will not work for you.

Also, I don't think this is your problem, but if you start kismet from say /root, when it drops privileges your regular user will not be able to write to that directory and kismet will crap out.
 
Old 03-26-2005, 02:09 PM   #3
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 46
some beta wireless drivers dont use iwconfig interface yet (my wlan-ng driver doesn't), that's why you get the "unsupported" error when you try to change mode using iwconfig. Usually you have some kind of developper tools to mess up with your card (at least my driver does have it), but if kismet doesnt know your card driver well, it wont be able to use it because it wont call the "developper tool" to change settings on your card.
Take a look to your kismet conf and to kismet documentation to make ure your card is supported by kismet. If it is not, you will probably have to wait a bit before using this.
 
Old 03-26-2005, 02:59 PM   #4
Ephracis
Senior Member
 
Registered: Sep 2004
Location: Sweden
Distribution: Ubuntu, Debian
Posts: 1,109

Original Poster
Rep: Reputation: 50
Thanks for the replies.

I am using madwifi and ndiswrapper. Maybe I am not able to use kismet since the card does not seem to be supported natively by Linux.

It's a shame not enough hardware is supported in Linux, I miss how easy it was to get the stuff to work. Maybe it's time to try to do something about it.
 
Old 03-26-2005, 03:16 PM   #5
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 46
I really don't know if ndiswrapper is supported by kismet, but I would tend to believe it is not since it doesnt use a native driver. Refer to kismet documentation, maybe I am wrong.

And if you want to "do something about it" you could write some letters to your card vendor. Most unsupported hardware are like this because the makers never released any technical specifications about the card, so it is nearly impossible to make drivers. Usually the problem isn't Linux, but cards vendors that believe you should only use Windoze XP. Tell them how you feel about it, that might help.
 
Old 03-26-2005, 03:24 PM   #6
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
I can confirm, without a doubt, you cannot use monitor mode with ndiswrapper, so no, you cannot use kismet.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
kismet help willtell Linux - Wireless Networking 2 05-29-2005 02:27 AM
Cannot start Kismet when in root dooda5555 Linux - Wireless Networking 2 04-12-2005 03:06 PM
kismet failing to start - prism54 Netgearwg511 student04 Linux - Wireless Networking 3 10-04-2004 09:50 AM
kismet... rabby Linux - Software 0 05-14-2004 08:18 PM
Kismet Problems :need help with kismet.conf source qbann Linux - Wireless Networking 6 04-26-2004 05:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration