- Learn Linux
- Learn Electronics
- Raspberry Pi
- LPI certification
- News & Reviews
18 March 2008
I've recently installed Ubuntu and Xubuntu onto a Dell Latitude C640 with a mini-PCI wireless card. I've been unable to get the wireless working on this before, but I've now tried using ndiswrapper and the Windows drivers. There were a few hurdles, but I've now got it working.
This has been tested on Ubuntu 7.10 and xubuntu 7.10.
First the drivers included in Ubuntu have to be disabled. The broadcom drivers work for some version of the broadcom wireless card, but not all, and not mine.
sudo vi /etc/modprobe.d/blacklist
Ndiswrapper is some software that provides the ability to run Windows wireless network drivers under Linux. Install as follows:
sudo apt-get install ndiswrapper-utils-1.9
(you will need the original install disk at this point)
Copy the windows driver files from the install disk to your current directory.
sudo ndiswrapper -i bcmwl5.inf
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
sudo vi /etc/modules
sudo vi /etc/default/wpasupplicant
Add echo 'ENABLED=0'
Now add the WEP key into the wireless network manager (icon in the top right of the screen on Xubuntu).
Here are some sources that I found useful in getting this working: