Friday, 15 July 2011

[Solved] Installing aircrack-ng on Dell Inspiron Mini 10 (1012) Netbook b43

Fuck Broadcom propriety shit!

aircrack-ng wont work out the box on a stock ubuntu 11.04 install, that is because it is using the wl driver.

  1. Install aircrack-ng suite
  2. Disable wl driver
  3. Remove bcmwl
  4. Install compat-wireles & patches.

Checkout and compile the latest svn of aircrack-ng
sudo apt-get install svn
svn co 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!

wget$(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
./scripts/driver-select b43
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
modprobe b43
modprobe ssb

WindyCityTech Blogger
windywindycitytech wordpress

No comments:

Post a Comment