aircrack-ng wont work out the box on a stock ubuntu 11.04 install, that is because it is using the wl driver.
- Install aircrack-ng suite
- Disable wl driver
- Remove bcmwl
- Install compat-wireles & patches.
Checkout and compile the latest svn of aircrack-ng
sudo apt-get install svn
svn co http://trac.aircrack-ng.org/svn/trunk/ aircrack-ng
sudo apt-get install iw
Check wl is blacklisted
cat * | grep wl
Enter synaptic, Completly remove bcmwl
You may notice nm-applet is saying "firmware no loaded" if you try to connect with wireless - good
I followed instructions on the aircrack-ng site to install compat-wireless and patch for aircrack, then install Broadcom firmware BS!
wget http://wireless.kernel.org/download/compat-wireless-2.6/compat-wireless-$(date -I).tar.bz2
tar -jxf compat-wireless-$(date -I).tar.bz2
cd compat-wireless-$(date -I)
patch -p1 < mac80211.compat08082009.wl_frag+ack_v1.patch
patch -p1 < channel-negative-one-maxim.patch
sudo make install
sudo apt-get install b43-fwcutter firmware-b43-installer
sudo modprobe -r b43 ssb
sudo modprobe b43
check it! (assume your wlan is wlan0)
sudo airmon-ng start wlan0
sudo aireplay-ng -9 mon0
Now make it work properly on boot (important).
To make ssb not load you have to blacklist it, reboot and execute
sudo update-initramfs -k all -u
If you fail to do this, ssb is loaded before b43 and it will cause error sand the b43 module will fail to load correctly. Lots of ssb and b43 errors in your dmesg.
Remember to unblacklist ssb after the update-initramfs.
If you still have this problem, I suggest that you make a script in your init.d
modprobe -r ssb
modprobe -r b43