*
* *
After upgrading to Ubuntu Maverick, the Aircrack suite stopped working.
After setting airodump to a channel (like usual):
airodump --channel X
It still displayed its status as:
fixed channel mon0: -1
Some forum users advised to use:
airodump --channel X,X
But this didn't work. For the record, I'm using a Thinkpad X60, with the iwl3945 driver. lshw output:
*-network description: Wireless interface product: PRO/Wireless 3945ABG [Golan] Network Connection vendor: Intel Corporation physical id: 0 bus info: pci@0000:03:00.0 logical name: eth1 version: 02 width: 32 bits clock: 33MHz capabilities: bus_master cap_list ethernet physical wireless
Luckily, there is an easy to follow thread on the forums which fixes the problem for a similar card. This solution also worked with my 3945ABG.
Here are the commands:
wget http://wireless.kernel.org/download/compat-wireless-2.6/compat-wireless-2010-10-16.tar.bz2 tar -jxf compat-wireless-2010-10-16.tar.bz2 cd compat-wireless-2010-10-16 wget http://patches.aircrack-ng.org/mac80211.compat08082009.wl_frag+ack_v1.patch patch -p1 < mac80211.compat08082009.wl_frag+ack_v1.patch wget http://patches.aircrack-ng.org/channel-negative-one-maxim.patch patch ./net/wireless/chan.c channel-negative-one-maxim.patch gedit scripts/update-initramfs #*** FIND LINE 13: KLIB=/lib/modules/2.6.31-wl/build #*** REPLACE WITH: KLIB=/lib/modules/$(uname -r)/build make sudo make install sudo make unload sudo modprobe iwl3945
Alternatively you can also use sudo reboot instead of sudo modprobe if you're unsure which driver module you need to load.
Aircrack should work fine again now. Note that kernel updates might overwrite the module again (and, hopefully, fix the bug at the same time).
Thank you very much.
ReplyDeleteIt works fine!!!
thanks so much
ReplyDeletethank you very much, i really appreciate your post, it works well. ^^
ReplyDeleteWEP cracking training successed, next WPA...
this works, thanks for the excelent tutorial.
ReplyDeletewww.hackmiami.org
Awesome, appreciate
ReplyDeleteThis doesn't worked for me , but I found another way :
ReplyDeletesudo apt-get remove --purge aircrack-ng
sudo apt-get install libssl-dev
sudo apt-get install subversion
cd ~
mkdir aircrack-ng
svn co http://trac.aircrack-ng.org/svn/trunk/ aircrack-ng
cd aircrack-ng
sudo make unstable=true install
You just have to add this option : "--ignore-negative-one" at the end of aireplay command
ie : sudo aireplay-ng -0 10 -a xx:xx:xx:xx:xx -c xx:xx:xx:xx:xx: --ignore-negative-one mon0
thank you so much, i have been tried some things, but i could'nt do it... until i see your post ...:)))
Deleteyou'r the man
Deletehey i have atheros ath5k and i did both of thease and when i do aireplay it cycles through all the channels and wont stay on the one i need or it when i do airodump-ng wlan0 it wont collect data from a secure network just open???? please help
ReplyDeleteOk.. now my wifi stoped working... aparently using this patch altered some how the wifi driver. Checking the private drivers, it says that the b43 (broadcom card) is installed but not working... after looking up in forums I just gave up, now posting form a fres Ubuntu 10.10 install, hope ya can get aircrack to work..
ReplyDelete--ignore-negative-one works just fine for me....looks kind of ugly but it works and that is all there is...thx anonymous
ReplyDelete--ignore-negative-one works great for me thanks a lot :)
ReplyDeleteproblrem on ubuntu 11.04 ===>> ERROR 2
ReplyDeletecommants:
make[1]: *** [_module_/home/panais/compat-wireless-2010-10-16] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.38-8-generic'
make: *** [modules] Error 2
my friend anonymous use areplay with only
ReplyDelete--ignore
patch -p1 < mac80211.compat08082009.wl_frag+ack_v1.patch
ReplyDeletedont work!!!! please help me!
helpful article, i have save this page to my drive. And maybe I'll try it soon.
ReplyDeleteim traying to use --ignore but this page isnt working. svn co http://trac.aircrack-ng.org/svn/trunk/ aircrack-ng, sets that svn: El servidor envió un valor de devolución inesperado (501 Not Implemented) en respuesta al requerimiento REPORT para «/svn/!svn/vcc/default»
ReplyDeletenice share! thanks! i used ubuntu 11.04
ReplyDeleteNo patch for Fedora 16?
ReplyDeleteI had the same problem with ath5k driver for Atheros card which supposed to replace mad-wifi. I fixed it by rolling back to old good mad-wifi and deleting ath5k .
ReplyDeleteath5k sucks totally and with mad-wifi I get much better range
it doesn't work for me, i'm Using a Dell Inspiron 2200 running on Ubuntu 11.10 with a Broadcom Corporation BCM4306 802.11b/g Wireless LAN Controller [14e4:4320] (rev 02)
ReplyDeleteGood Post.....
ReplyDeletethis method work for me
ReplyDeletesudo apt-get remove --purge aircrack-ng
sudo apt-get install libssl-dev
sudo apt-get install subversion
cd ~
mkdir aircrack-ng
svn co http://trac.aircrack-ng.org/svn/trunk/ aircrack-ng
cd aircrack-ng
sudo make unstable=true install
You just have to add this option : "--ignore-negative-one" at the end of aireplay command
ie : sudo aireplay-ng -0 10 -a xx:xx:xx:xx:xx -c xx:xx:xx:xx:xx: --ignore-negative-one
mon0you solve my problem, thanks man
I really appreciate the way you write
ReplyDeleteCrash on 12.04 cant lauch wlan0 . 4 process cause trouble
ReplyDelete