Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.