Tuesday 2 February 2010

How to Setup Broadcom Wireless BCM4312 (rev 02) for Ubuntu

#Step 1 (run in terminal)

echo 'blacklist bcm43xx' | sudo tee -a /etc/modprobe.d/blacklist

sudo apt-get install ndiswrapper-utils-1.9


mkdir ~/bcm43xx; cd ~/bcm43xx

For Step 2, You can check your Broadcom wireless version with this command in terminal : "lspci | grep Broadcom\ Corporation",if your wireless device is different from BCM4312 (rev 02), please refer here for this step and you can continue again with step 3 onwards:

#Step 2 (run in terminal)

sudo apt-get install cabextract

wget ftp://ftp.compaq.com/pub/softpaq/sp34001-34500/sp34152.exe

cabextract sp34152.exe

#Step 3 (run in terminal)

sudo ndiswrapper -i bcmwl5.inf

ndiswrapper -l

sudo depmod -a

sudo modprobe ndiswrapper

sudo cp /etc/network/interfaces /etc/network/interfaces.orig

echo -e 'auto lo\niface lo inet loopback\n' | sudo tee /etc/network/interfaces

sudo ndiswrapper -m

echo 'ndiswrapper' | sudo tee -a /etc/modules

echo 'ENABLED=0' | sudo tee -a /etc/default/wpasupplicant

#Step 4 (run in terminal)

sudo aptitude remove b43-fwcutter

#Step 5 (run in terminal)

sudo gedit /etc/init.d/wirelessfix.sh

#Step 6

Paste the followings in the opened file(wirelessfix.sh)and make sure you save it before continuing Step 7

#!/bin/bash
modprobe -r b44
modprobe -r b43
modprobe -r b43legacy
modprobe -r ssb
modprobe -r ndiswrapper
modprobe ndiswrapper
modprobe b44

#Step 7 (run in terminal)

Run this :

cd /etc/init.d/ && sudo chmod 755 wirelessfix.sh

#Step 8 (run in terminal)

finally run this:

sudo update-rc.d wirelessfix.sh defaults

#Step 9

Restart your machine and that's it.


Resource : onlyubuntu.blogspot.com

No comments:

Post a Comment