In my dad’s PC is a wireless card – a Linksys WRT54GS I think. Anyway it uses the Broadcom BCM 4318 chipset, as seen by a quick lspci:
richard@hades:~$ lspci | grep roadc
00:0a.0 Network controller: Broadcom Corporation BCM4318 [AirForce One 54g]
802.11g Wireless LAN Controller (rev 02)
Unfortunately the new b43 / b43-fwcutter package (installed from / by ‘restricted drivers’) stopped this working. I’m not sure why exactly; it’s possibly because it was designed for a later chipset (I’ve heard 04 for one of the chipsets), but in any case this is moot. It doesn’t work at the moment. This affects PCI cards, some internal laptop wireless cards, and some removable wireless cards.
Now, the card worked under Gutsy using ndiswrapper. So, that’s what I tried to get this working. There is a post at the Ubuntu forums that details how to do this. I’m going to briefly reproduce the procedure here because quite a lot of people are interested in getting their card woking, but thanks to Mazza558 for the info.
1) Remove the b43-fwcutter package
sudo aptitude remove b43-fwcutter
2) Reinstall ndiswrapper
sudo apt-get install ndisgtk
b) Download and install wireless driver
tar -xzf wmp54gs.tgz
ndiswrapper -i wirelessdriver/WMP54GS.inf
3) Create bash script to fix wireless
sudo gedit /etc/init.d/wirelessfix.sh
Into the file, put:
modprobe -r b44
modprobe -r b43
modprobe -r b43legacy
modprobe -r ssb
modprobe -r ndiswrapper
Save it, then change the permissions to 755:
cd /etc/init.d/ && sudo chmod 755 wirelessfix.sh
And finally execute:
sudo update-rc.d wirelessfix.sh defaults
And then you can reboot and have working wireless, or just (as root) execute the commands you put into the wirelessfix.sh file.
NB: To get a root bash prompt in Ubuntu, execute:
Enjoy your wireless, on whatever card card you have!
Update: Ed points out quite rightly that can be somewhat hard to update using an internet connection if you don’t have a working wireless card. A situation not unlike what good is a phone call… if you’re unable to speak? In any case, you have a number of options, some of which may or may not be possible:
- Plug a cable into your ethernet port
- Use an old Ubuntu 7.10 Gutsy Gibbon CD to update from. This should Just Work, that is you put it in the CD drive and you will be asked if you want to use it as a repository source (or similar). If not, the
command is your friend
- Download the .deb files manually elsewhere. Get both ndiswrapper-common and ndiswrapper-utils-1.9 (links to mirrors, not direct). Note that ndiswrapper-utils-1.9 has a couple dependencies like perl which you should have, but may not. Save them to a USB flash drive or whatever. Then use dpkg to install the deb files. Or:
[insert USB drive and cd to it]
[move USB drive to target machine, open a terminal and cd to the drive]
dpkg -i ndiswrapper-common_1.50-1ubuntu1_all.deb
dpkg -i ndiswrapper-utils-1.9_1.50-1ubuntu1_i386.deb
And you should be good to go, even if you are without an internet connection!