Madwifi Drivers in Ubuntu
Note: For Feisty the Atheros wireless cards work out of the box as
restricted drivers are installed when Ubuntu detects Atheros cards.
procedure is mainly used for newer Atheros cards running under
This procedure will show you how to install the madwifi drivers on your
laptop. A person over at Ubuntu Forums (Griffin3) has a
to install madwifi drivers in Ubuntu. I was never able to use
my built in wireless card in my Toshiba laptop until I discovered his
procedure. I thank this person from the bottom of my heart.
As we all know madwifi is a set of Drivers for the Atheros
brand of wireless cards. They are extremely popular and come
quite a few laptops. Normally Ubuntu supports them out of the
but the newer cards will require you to install the latest drivers.
The folks over at MadWifi are
the ones to thank for writing these drivers. Griffin3 over on
Ubuntu forums laid out the procedure. I am putting this
procedure on my
website for all to use.
This page is a compilation of resources gotten from other websites.
This procedure has been tested
by myself with Edgy Eft 6.10, I cannot
guarantee that it will work on other distros.
have a script to automate the process of this procedure. If
you wish, you can get the script here.
run the script you must be root and have 755 permission. To
run the script type the following in a terminal.
command assumes you downloaded the script to your home folder.
change the path to where you downloaded the script to if it differs
from what is above. Once this is done then execute the
will install the madwifi drivers, network manager, and reboot the
I have a madwifi installation script for Feisty, get that script here.
The script differs as it does not install network manager.
Network manager is installed by default under Feisty.
To run the script you must be root and have 755 permission.
To run the script type the following in a terminal.
the MadWifi Drivers
I guess we should get down to business (remember the text that is in
are commands that you
enter at the terminal.
you prefer you can do the procedure step by step.
First thing you need to do is make sure the restricted
To do this go to the synaptic package manager and type
Atheros or madwifi. This
will show you which kernel modules are compatible with Atheros madwifi
drivers. I use the 2.6.17-10-generic
thing first you
need to go over and get the latest madwifi
drivers. I have put the drivers here on my website in
format. Click this link
to get the latest madwifi driver. The file will be named
that we have the drivers downloaded will need to do the following:
what is needed to compile the source:
apt-get -y install build-essential bin86
that is done you will need to do the following:
the .tar.gz to the /usr/src/ folder. This command assumes
you downloaded the archive to your home folder. replace ~ if
your downloaded to a different location.
cp ~/madwifi-0.9.3.2.tar.gz /usr/src/
to the /usr/src
the sharutils from the
-y install sharutils
to the folder that the tarball extracted to.
Make the drivers
(during this time the procedure may ask you to remove the older
drivers, let it do so)
sudo make clean
don't need to but as you are going to reboot you can test your work so
You will need to modify the modules file to make this change permanent.
To do so do the following:
You will need to add a line at the very end of the file:
You can remove the
archive from your home dirtectory by doing the following:
the modules file and then
reboot your machine. When you login you can configure your
Atheros wireless card by going to
To connect to a
network you will need to know the SSID.
Follow procedure below to enhance your wireless connection.
your Wireless Connection WEP, WPA, and WPA2 Ready
that you have your wireless connection up and running
can enable wireless encryption. With the procedure above you
no wireless encryption at all. The following procedure was
Debian Admin to enable wireless
networks for WPA in Ubuntu Edgy.
the link to go there. Thanks to the folks over there for
To get your
wireless connection encryption capable do the following:
the source list
apt-get install wpasupplicant
Manager (this will allow you to see all available
apt-get install network-manager-gnome network-manager
You will need to
edit your interfaces file to do so do the following:
everything other than “lo” entries by
using a '#' in front of the line and save the file.
Create a file
called /etc/default/wpasupplicant, add entry ENABLED=0
and save the file.
gedit /etc/default/wpasupplicant (this
will create the file when you hit save)
system. Upon logging back in you will be able to
click on the network manager and see the available wireless networks.
worked for me so hopefully it will work for you.