Sunday, June 1, 2008

Broadcom 4311 How-To (Ndiswrapper in Hardy)

This is a how-to I've come up with on installing a broadcom 4311 card rev 2 using the bcmwl5 drivers, ndiswrapper and a bootscript that enables it (as Hardy attempts to load the firmware from fwcutter first).
sudo apt-get install ndiswrapper-utils-1.9 ndiswrapper-common
download these drivers, bcmwl5 drivers, extract them to a folder then do this:
cd /path/to/drivers
sudo ndiswrapper -i bcmwl5.inf
sudo ndiswrapper -m

sudo modprobe -r b43

sudo modprobe -r ssb
sudo modprobe -r ndiswrapper
sudo modprobe ndiswrapper
and it should work. To get it working at every boot download this script (written by me) and copy the contents of the pastebin script into text editor and save it as Wireless.sh, then follow the instructions below.
sudo cp /path to script/Wireless.sh /etc/init.d/Wireless.sh
sudo chmod 755 /etc/init.d/Wireless.sh

update-rc.d Wireless.sh defaults

**Remember: change "/path to script/" to where you have the items saved**
***Installing via apt-get requires an internet connection, such as ethernet***
****each line is one command, so copy and paste it so 1 line is one command****

No comments: