Comment 13 for bug 602609

Revision history for this message
needlez6 (needlez6) wrote :

ok, so im sorry to post this fix so late but i finally found a way to fix this.

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 reboot

This will fix the issue with the negative channel and aircrack-ng. I confirmed this today, it was compat-wireless not just the kernel. Also not sure but I think WPA handshakes are messed up too. But I know this will work to break WEP. And this does work to fix. Thanks to squirrelscript and ubuntuforums and iwir3d.This is the patch for the negative one bug.