Please note: This project is no longer active. The website is kept online for historic purposes only.
If you´re looking for a Linux driver for your Atheros WLAN device, you should continue here .

International Users

You may have to provide the countrycode module parameter when you modprobe ath_pci. (For more info on countrycodes, see here.)

The standard way of setting module parameters to be applied automatically in Debian is by placing a rule in the /etc/modprobe.d/ directory. For example, Australian users may need to do the following:

# echo "options ath_pci countrycode=36" > /etc/modprobe.d/madwifi


For users of the wpasupplicant package, please be aware of the changes in regards to madwifi support.

The wpasupplicant package no longer supports madwifi-old, it only supports the current madwifi code.

These issues will be documented both here and on the Debian page for WPA.

The steps required to enable madwifi-old support will be contained within the /usr/share/doc/wpasupplicant/NEWS.Debian.gz file.


NOTE: waproamd is obsolete, and wpasupplicant should be preferred.

This entry was sent in by Achim Steinmetz, and relates to a DWL-G60 (C2), but should work for any supported card.

First madwifi has to be installed. I successfully used the Debian packages available for the driver as well as CVS version. First make sure you have the driver installed and it can recognize the card. Once everything is basically working you can use the following instructions to make it all work automatically after the card is inserted into the slot. The below has been done on Debian Sarge:

# apt-get install waproamd

During install make sure you delete any options which might be suggested by debconf. This is a bug and currently logged in BTS as #252462. Furthermore delete the ‘eth0’ entry for configuration of static devices and leave ‘all’ for the hotplug device settings. Basically after waproamd is installed your /etc/default/waproamd should look similiar to this:


Ok, you’re almost set now. The missing bit is configuring your WEP key for waproamd. For this you need to determine the $MAC address of your access point. “iwlist scan” should show you this information. Once you know it, do this:

# echo $WEPKEY >> /etc/waproamd/keys/$MAC.wep

Note: For security reasons only the root user should have read access to the above file!

The last step is to put an ath0 stanza into the interfaces file to configure for DHCP usage:

# echo "iface ath0 inet dhcp" >> /etc/network/interfaces

Now plug your card and all should be configured automatically. Enjoy!