BCM94311MCG wlan mini-PCI on Elyssa

Questions about WIFI networks and devices
Forum rules
Before you post please read how to get help
MagnusB
Level 6
Level 6
Posts: 1252
Joined: Sun Nov 18, 2007 12:39 pm
Location: Norway

BCM94311MCG wlan mini-PCI on Elyssa

Postby MagnusB » Sat May 17, 2008 6:57 pm

Due to a bug inherited from Ubuntu (think it is caused by ssb &/or b43) using this card you will not get up a wireless device on Elyssa/Hardy. Well, fear not there is a simple solution, but it involves some use of the terminal, so be prepared (it also requires you to run a few sudo commands, so starting with sudo su - wouldn't be a bad idea):
First things first, let us get that wireless device up and running:

Code: Select all

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

This is for Elyssa ONLY, Daryna does not need this step!
You can reboot now, to see if you got the wireless up and running, but you still need to set up ndiswrapper, so we should really wait for it. First you need to blacklist a few modules (not all are necessary, but best not to take any chances):

Code: Select all

nano /etc/modprobe.d/blacklist

and add these lines AS IS:u
# BroadCom wireless ndiswrapper
blacklist ssb
blacklist b43
blacklist bcm43xx

bcm43xx should be blacklisted in Hardy, you can check if it is blacklist already if you want to.
Next step is to set ndiswrapper to be loaded at boot:

Code: Select all

nano /etc/modules

and add ndiswrapper to the bottom of that list.
Next, check your version of ndiswrapper:

Code: Select all

ndiswrapper -v

If that returns an error code, ndiswrapper is not properly installed. It should also be greater than 1.50, as some versions below has caused some kernel panics with this card. Elyssa should come with 1.52, so I will not post any instructions on how to compile ndiswrapper, though if you need them, just ask me :)
Next we will configure ndiswrapper:
First you need the windows inf and sys files, get em here and extract them:

Code: Select all

tar -xzvf WLANBroadcom.tar.gz

Then we are ready to install the windows driver:

Code: Select all

cd WLAN*
ndiswrapper -i bcmwl5.inf

After that, just check that it installed ok:

Code: Select all

ndiswrapper -l

(that is the only command that does not require root in this how to) That should return something like
bcmwl5 : driver installed
device (14E4:4311) present (alternate driver: bcm43xx)

This means the driver is correctly installed, and the device is detected (and since bcm43xx/b43 does not work, we have blacklisted that).
Next, just use:

Code: Select all

ndiswrapper -m

And you should be ready to do a reboot and connect to the wireless network of your choice :) If you have any questions, do not hesitate to ask em here.
Notes:
- Change nano to the texteditor of your choice: GEdit in GNOME, kwrite/kate in KDE and mousepad in XFCE.
- ALL commands, except the first and ndiswrapper -l and the tar command, needs root access, if you do not run sudo su- at the start, add sudo in front of em.
Sources:
http://ubuntuforums.org/showthread.php?t=769990
This guide also work for Daryna/Ubuntu 7.10/8.04. Both for 7.10 and Daryna the first step (involving echo) is NOT NEEDED!
Last edited by MagnusB on Sun May 18, 2008 10:45 am, edited 1 time in total.
Image
You're not drunk if you can lie on the floor without holding on.
--Dean Martin

Husse
Level 23
Level 23
Posts: 18703
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: BCM94311MCG wlan mini-PCI on Elyssa

Postby Husse » Sun May 18, 2008 6:45 am

Thanks - I've added a link to this in the wifi wiki
Image
Don't fix it if it ain't broken, don't break it if you can't fix it

nickoljt

Re: BCM94311MCG wlan mini-PCI on Elyssa

Postby nickoljt » Wed May 21, 2008 1:25 am

I've been unable to ever successfully get wireless working with any Linux distro on a Compaq Presario F565CA which has this 4311 wireless card. I've followed all the guides and unfortunately nobody has been able to help, until I found this spanish language website with a similar laptop. The solution was to use the new compat-wireless kernel modules and the b43-fwcutter. The b43-fwcutter is in the repositories, but I had to compile the compat-wireless kernel modules manually.

check the site out for instructions (translated through google):

http://translate.google.ca/translate?u=http%3A%2F%2Fancelot.wordpress.com%2F2007%2F12%2F20%2Fcompaq-f565la-linux-wifi%2F&sl=es&tl=en&hl=en&ie=UTF-8

The only problem I have now is loading the b43 module on boot, i get symbol errors. A work around is to manually run the command from the wireless-compat source code directory: sudo make load

I'll try and post complete instructions once I have some time. (compat-wireless packages would be useful to avoid the need to build the modules, but I must admit I didn't spend much time looking for them.)

nomadxp1

Re: BCM94311MCG wlan mini-PCI on Elyssa

Postby nomadxp1 » Sun Jun 01, 2008 4:09 pm

I have been fighting with the wireless on my gateway laptop..everything else worked perfect except that....I looked on here instead of asking around..there was the answer..in now works perfectly...this has got to be the best distro yet...I have tried others over the years..non are like this...THANK you for your help,Nomadxp1

white.thief
Level 1
Level 1
Posts: 2
Joined: Mon May 05, 2008 3:39 pm

Re: BCM94311MCG wlan mini-PCI on Elyssa

Postby white.thief » Wed Jul 09, 2008 5:43 pm

Thanks for the help but I couldn't make it work =(

I get an error on the "n#hardy", bash says that it can't find the command. I've been googling on this but I could fine the anwser (maybe the error is too newbie). Do you know what could it be happening?

Thanks in adavance, =)

MagnusB
Level 6
Level 6
Posts: 1252
Joined: Sun Nov 18, 2007 12:39 pm
Location: Norway

Re: BCM94311MCG wlan mini-PCI on Elyssa

Postby MagnusB » Wed Jul 09, 2008 7:53 pm

Seems you are not copying the entire command. Press on select all on the code box and past it into a terminal window (use shift+insert to paste in a terminal)
Image
You're not drunk if you can lie on the floor without holding on.
--Dean Martin

white.thief
Level 1
Level 1
Posts: 2
Joined: Mon May 05, 2008 3:39 pm

Re: BCM94311MCG wlan mini-PCI on Elyssa

Postby white.thief » Thu Jul 10, 2008 11:12 am

Thanks a lot Dean!

I was miss typing something, and sorry for the inconveniences that this newbie cost you :oops:

Thansk!


Return to “Wireless”