Mar 15, 2010

How to Install your Wireless Broadcom Card in Ubuntu 7/8, and Studio 7/8 Linux

Follow these steps to get your wireless card working under ubuntu

Broadcom Corporation BCM4311 802.11b/g WLAN (rev 02)
Broadcom Corporation BCM4311 802.11b/g WLAN (rev 03)
If does not match exactly try it anyways, you have nothing to lose except a linux OS

This will help you install your broadcom wireless card in the corresponding versions of Linux, if you get errors please use the forms to troubleshoot your errors, This tutorial was made on the success of installation on 56 computers that I have done, all 56 times the same methods were used so please if you get errors please use the forums to troubleshoot them. This worked well for me and many of my friends so please let me know how it goes and I hope it goes well. Thanks.

This worked for me on most HP`s, Compaq`s and some Dell`s

Many Thanks to the people on ubuntu forums for their hard work

You Should Have A LAN Connection To Your PC For This Tutorial

If you are running hardy please run this command first. The terminal is usually located in Applications, Accessories, Terminal
Bug Fix

echo -e '\n#hardy ssb bug-fix\nrmmod b43\nrmmod b44\nrmmod ssb\nrmmod ndiswrapper\nmodprobe ndiswrapper\nmodprobe ssb\nmodprobe b44' | sudo tee -a /etc/init.d/rc.local

Now, we need to remove any ndiswrapper and fwcutter program installed already or that you have added your self, please do so by entering the following command into the terminal. The terminal is usually located in Applications, Accessories, Terminal

sudo apt-get remove ndiswrapper-common ndiswrapper-utils-1.9


sudo apt-get remove bcm43xx-fwcutter

Please save your self the trouble and enter one code into the terminal at a time.

Now, you need to blacklist a few modules. to do so please enter the following command into the terminal.

sudo gedit /etc/modprobe.d/blacklist

Now a text editor should appear, and you should see a list of a sort. now you need to add the following modules to the end of the list. for an example you see something like this>

#blah blah blah
blah blah blah

(# comment just like this, right above the module)
(here is where you put the black listed module line)

Just like that, you can put a comment if you want but its not a need, just put a # in front of the comment you wish to put its not a must to comment though.


blacklist bcm43xx

*Hardy already has thise module blacklisted so if you see it already just ignore it and add this additional module to the blacklist.


blacklist b43

*Now SAVE it, and then CLOSE it, and then REBOOT YOUR MACHINE!


Welcome Back, now you must download the broadcom windows drivers to wrap.
Windows Broadcom Drivers

Now extract them to somewhere easy for you to get to, for me I usually use my Home folder so lets use that for this example. So extract to /home/*what ever your name is* and it should be there under WLANBroadcom.

*Works for most boardcom wireless cards if problems then download the following.

Ok, now we are going to type in a command to determine your kernel release, so if you would be so kind to enter the follwing command into your terminal

uname -r

*you should get something like 2.6.24-19-rt, write this down, or copy into a text editor.

Now for the following commands everwhere where you see "uname -r" you put your uname -r output line wich was 2.6.24-19-rt or something like that.

sudo apt-get update

sudo apt-get install build-essential

sudo apt-get install linux-headers-`uname -r`

sudo ln -s /usr/src/linux-`uname -r` /lib/modules/`uname -r`/build

mkdir -p ~/bcm43xx/ndiswrapper

cd ~/bcm43xx/ndiswrapper

sudo wget

tar xvzf ndiswrapper-1.53.tar.gz

cd ndiswrapper*

make distclean


sudo make install

Ok, now we are going to install the windows drivers!

ok so in the terminal you will put

cd /home/*whatever your name is*/WLANBroadcom

*lol of course replacing *whatever your name is* with whatever the name of your home folder is.
Then you need to enter the following command into the terminal

sudo ndiswrapper -i bcmwl5.inf

*This will install the driver

Then to confirm, insert the following command into the terminal.

ndiswrapper -l

*You should get an ok on the driver install saying its present.

Then we add the ndiswrapper module to the module list, this is just like before with the blacklisting, Insert the following command into the terminal.

sudo gedit /etc/modules

*Once again you will see a list like the following

module name
module name
module name
(insert here at the bottom)
Add this to the bottom


Save it, Close it.

Now, we will consult the ndiswrapper module for loading

Inser the following command into the terminal

sudo modprobe ndiswrapper

To write configuration for modprobe, please enter the following command into the terminal.

sudo ndiswrapper -m

and BAM! the wireless card is installed, now for ease of use in linux I would recommend you read on.

We will now install network manager, network manager is an easy to use network profile manager. It even pops up with a little icon like windows does for you new to Linux noobs that just converted over to linux, and it even gives you the use of wep/wpa wireless encryption support, other programs dont do so well with that but network manager works great for me all the time with encrytion with wireless networks, so to install network manager please insert the following command into the terminal, one last time lol

sudo apt-get install netowrk-manager



Welcome Back hopefully the installation was a success, if not then please google around to find some fixes for your errors. To find out if it worked please consult your Wireless LED on your PC, or simply run the following command.

iwlist wlan0 scan

*If results appear something must of gone right, Now use network manager to interface with your OS and Wireless card.

Thanks for reading hope it helped.

Once again thanks to the people on ubuntu forums for their hard work.

Remember ifconfig is a great command, give it some use.