LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Monitor Mode on wlan0 (https://www.linuxquestions.org/questions/linux-newbie-8/monitor-mode-on-wlan0-674388/)

edwardtomney 10-05-2008 12:59 PM

Monitor Mode on wlan0
 
Hello,

My problem is on a DELL Inspiron 2200. I am not sure how to identify what wireless chipset is. I am trying to get the wireless card to get into monitoring mode, so that I can play with aircrack-ng on my home network.

I would also be interested in other peoples opinions of this application.

Output from trying to run airodump
/$ sudo airodump-ng wlan0

ioctl(SIOCSIWMODE) failed: Device or resource busy
Error setting monitor mode on wlan0

Output from iwconfig

wlan0 IEEE 802.11g ESSID:"REMOVED ESSID"
Mode:Managed Frequency:2.462 GHz Access Point: 00:18:4D:DA:55:7A
Bit Rate=1 Mb/s Tx-Power=27 dBm
Retry min limit:7 RTS thr:off Fragment thr=2346 B
Link Quality=65/100 Signal level=0 dBm Noise level=-45 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

Output from iwconfig wlan0 mode monitor
/$ iwconfig wlan0 mode monitor
Error for wireless request "Set Mode" (8B06) :
SET failed on device wlan0 ; Operation not permitted.

Output of iwpriv wlan0 (not sure what this means)
/$ iwpriv wlan0
wlan0 no private ioctls.

I am a linux newbie, so I appologize if I haven't provided you with all the needed information.

klearview 10-05-2008 02:17 PM

First, disable network manager (i.e. you can just right-click on nm-applet and un-tick enable networking).

Then (you need root privileges for this):

sudo iwconfig wlan0 mode Monitor

Then:

sudo airodump-ng wlan0

edwardtomney 10-06-2008 12:30 AM

Thank you
 
Hello,

Thank you! That was easy. For anyone else having this problem, after you disable networking, give it a few moments to finish that process, before you try the above mentioned steps.

I was wondering, is there a way to disable the networking like you had me do from the command line?

Again, thank you very much !!!


All times are GMT -5. The time now is 01:02 PM.