Comment 41 for bug 643788

Revision history for this message
Bruno Clermont (b.clermont-deactivatedaccount) wrote :

I fixed that easily (i'm in Oneiric)

Get package source of linux-backports-modules-cw-3.1-3.0.0-14-*, from:

http://archive.ubuntu.com/ubuntu/pool/main/l/linux-backports-modules-3.0.0/linux-backports-modules-3.0.0_3.0.0-14.6.tar.gz

Extract it, and patch updates/cw-3.1/net/wireless/chan.c

with:

http://patches.aircrack-ng.org/channel-negative-one-maxim.patch

well, I did not used patch in my case, I update the code manually... it might work with patch

then build new packages with dpkg-buildpackage

the result is (in my case):

../linux-backports-modules-cw-3.1-3.0.0-14-generic_3.0.0-14.6_amd64.deb
../linux-backports-modules-cw-3.1-3.0.0-14-server_3.0.0-14.6_amd64.deb
../linux-backports-modules-net-3.0.0-14-generic_3.0.0-14.6_amd64.deb
../linux-backports-modules-net-3.0.0-14-server_3.0.0-14.6_amd64.deb
../linux-headers-lbm-3.0.0-14-generic_3.0.0-14.6_amd64.deb
../linux-headers-lbm-3.0.0-14-server_3.0.0-14.6_amd64.deb
../updates-modules-3.0.0-14-generic-di_3.0.0-14.6_amd64.udeb

I installed the package that match my kernel, rebooted and voila!