In this tutorial I will show the steps to quickly get the madwifi driver installed for use with the Netgear WG511T (Atheros 5212 chipset). I will assume that if you do not have any wifi connection at all that you have either used your wired connection (ethernet cable) or you used "sneaker net" to get the madwifi source tarball downloaded or copied to your computer.
1. Open a terminal:
2. Login as root:
enter your password
3. Download the required files to compile the source:
4. Compile the module:
Place the madwifi source tarball in the /usr/scr directory and unpack it there. Rename the directory to just "madwifi" just to keep it simple.
make clean
make
make install
5. Let's start the module to make sure it runs. The "lsmod" command can be used to see if the "ath_pci" is listed.
lsmod
6. Let's add it to our /etc/modules file so that it starts automatically on boot up:
add "ath_pci" without quotes to the end of the line and save it.
7. Let's reboot ubuntu. Make sure you unplug your ethernet cable if you have one plugged in. Also plug in your pcmcia wireless card before the operating system boots. When ubuntu boots only one light will be lit up until the card is configured.
8. Configure ath0 under System->Administration->Networking. Both lights on the card will blink if the card is properly activated.
Now go do some surfin'!