Friends

Sabtu, 22 Januari 2011

How to fix ‘ioctl(SIOCSIWMODE) failed: Device or resource busy ‘ problem.

Airodump-ng is one of favorite tools in hacking wireless network. When I upgrade my ubuntu from Gutsy to Intrepid, I can’t run this application anymore. It’s not application error because I can run it in Gutsy version before. My wireless card chip set is ‘ipw3945′. The error message is a bit complicated as you see below.

_________________________________________
ioctl(SIOCSIWMODE) failed: Device or resource busy

ARP linktype is set to 1 (Ethernet) – expected ARPHRD_IEEE80211,
ARPHRD_IEEE80211_FULL or ARPHRD_IEEE80211_PRISM instead. Make
sure RFMON is enabled: run ‘airmon-ng start wlan0 <#>’
Sysfs injection support was not found either.
_________________________________________
Mean that if you want your airodump-ng run, you will need to try to fix the bolds problems above. Your problem may be one of it but in my case not even one of the error message.
Try to figure out the answer quite some times which is actually is very simple.
It’s only change the ipw3945 chip set mode from ‘Managed‘ to ‘monitor‘.
Step 1. Check your chip set mode
From the Terminal Screen, type ‘iwconfig wlan0‘. Your wireless card name (wlan0) may be different. It will depend on your wireless card chip set or your Ubuntu version. When I used Gutsy or lower version, my wireless card (ipw3945) is ‘eth1′ but when I upgrade to ‘Intrepid’, it become ‘wlan0′.

If you don’t remember the iwconfig command line, just type ‘iwconfig –help‘.
What we need now is the information in ‘interface mode’. We have to change the ‘mode’ from ‘Managed‘ to ‘monitor‘.

Step 2. Change the wireless card mode.
First turn of your wireless card. Type ‘sudo ifconfig wlan0 down‘.
Second, change your wireless card mode from ‘Managed’ to monitor. Type ‘sudo iwconfig wlan0 mode monitor‘.
Third, turn on again your wireless card. Type ‘sudo ifconfig wlan0 up‘.
Fourth, check the wireless card status. Type ‘sudo iwconfig wlan0‘.

Now, my wireless card mode is ‘monitor‘ and you are ready to run ‘airdump-ng’ application again.

Ads by Google

0 komentar:

Posting Komentar

300Ribu Dapat Website
### ###