Aircrack Problem With iwl3945
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:
description: Wireless interface
product: PRO/Wireless 3945ABG Network Connection
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:03:00.0
logical name: eth1
width: 32 bits
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:
tar -jxf compat-wireless-2010-10-16.tar.bz2
patch -p1 < mac80211.compat08082009.wl_frag+ack_v1.patch
patch ./net/wireless/chan.c channel-negative-one-maxim.patch
#*** FIND LINE 13: KLIB=/lib/modules/2.6.31-wl/build
#*** REPLACE WITH: KLIB=/lib/modules/$(uname -r)/build
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).