Scenario:
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
cd /etc/modprobe.d
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!
source: http://aircrack-ng.org/doku.php?id=compat-wireless
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)
wget http://patches.aircrack-ng.org/mac80211.compat08082009.wl_frag+ack_v1.patch
wget http://patches.aircrack-ng.org/channel-negative-one-maxim.patch
patch -p1 < mac80211.compat08082009.wl_frag+ack_v1.patch
patch -p1 < channel-negative-one-maxim.patch
./scripts/driver-select b43
make
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).
ref: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/184600/comments/34
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
#!/bin/sh
modprobe -r ssb
modprobe -r b43
modprobe b43
modprobe ssb
WindyCityTech Blogger
windywindycitytech wordpress
No comments:
Post a Comment