get-wireless-working-in-ubuntu-704
Non-working wireless internet is a common problem which can be
easily resolved. All you need is
1 ) Ubuntu 7.04 Feisty Fawn installed ( how obvious )
2 ) Internet access - can be on another computer if not the one on
which you have Ubuntu.
So lets get working!
First download the following packages
ndiswrapper-common
ndiswrapper-utils-1.9
ndisgtk
Now transfer these files to the system with Ubuntu installed - use a
USB Flash Drive if you have to. Just get the files there.
Place them in the same folder and run the following commands in the
terminal ( have the folder opened in it ). Change the * to the right text
and run in the same order given below.
sudo dpkg -i ndiswrapper-common_*.deb
sudo dpkg -i ndiswrapper-utils-1.9_*.deb
sudo dpkg -i --force-depends ndisgtk_*.deb
When installing ndiswrapper-utils-1.9, it will ask for the Ubuntu 7.04
Feisty Fawn Install CD ( if you haven't played with the repositories ) If
it doesn't ask for it, most probably you have been playing with the
repositories and it will use the internet instead of the CD.
Once installed, you have to blacklist the open source bcm43xx that
comes with Ubuntu. The file /etc/modprobe.d/blacklist contains the
blacklisting information. Just open it in gedit with root rights.
gksudo gedit /etc/modprobe.d/blacklist
And add to it...
blacklist bcm43xx
Now do a lspci in the terminal and find the name of your wireless card
there. If you are using a USB wireless card, do a lsusb instead. Note it
down because you will need it later. Like for me it says
03:00.0 Network controller: Broadcom Corporation Dell Wireless 1390
WLAN Mini-PCI Card (rev 01)
Now what you need is the windows driver for the card. Go to this page
and find your card in the list(s) and get the required driver. Now you
might need cabextract or unshield to get the real files from the setup.
So install both of them
cabextract
unshield
Once you have the installed, open the folder where you have the
setup in terminal and use the above given tools to extract it. In my
case the command was...
cabextract -d drivers sp34152.exe
The "-d drivers" tells it to extract files into a new folder and call it
drivers
And also do a ls *.inf in the folder where the files are extracted. It will
list all files that end with a ".inf". Most probably there will be only one
- note its name down. If there are more than one, go to this list again
and see if it helps.
Go to System >> Administration >> Windows Wireless Drivers and
press the Install New Driver button. Now browse to the folder where
the files from the setup were extracted and point it to the inf file in it
and you are done.
Now you just have to confirm if it installed correctly, start it and make
it start at startup each time.
To confirm do a ...
ndiswrapper -l
If done right, it should say that the drivers are installed and stuff.
Now run it by...
sudo depmod -a
sudo modprobe ndiswrapper
And in the network settings, set it to "Roaming mode enabled"
Now we get it to start at startup, you have to add "ndiswrapper" to
the /etc/modules file.
gksudo gedit /etc/modules
And add "ndiswrapper" to its bottom ( without quotes ), save it and
restart. Enjoy wireless internet!