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 .

Changes from Version 1 of UserDocs/Distro/Debian/UserNotes

Author:
kelmo (IP: 0.0.0.0)
Timestamp:
05/19/06 02:10:43 (13 years ago)
Comment:

add user notes page

Legend:

Unmodified
Added
Removed
Modified
  • UserDocs/Distro/Debian/UserNotes

    v v1  
     1== International Users == 
     2 
     3You may have to provide the {{{countrycode}}} module parameter when you {{{modprobe ath_pci}}}.  (For more info on countrycodes, see [http://madwifi.org/wiki/UserDocs/CountryCode here].) 
     4 
     5The 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: 
     6 
     7{{{ 
     8# echo "options ath_pci countrycode=36" > /etc/modprobe.d/madwifi 
     9}}} 
     10 
     11== Waproamd == 
     12 
     13NOTE: waproamd is obsolete, and wpasupplicant should be preferred. 
     14 
     15This entry was sent in by Achim Steinmetz, and relates to a DWL-G60 (C2), but should work for any supported card. 
     16 
     17First 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: 
     18{{{ 
     19# apt-get install waproamd 
     20}}} 
     21During install make sure you delete any options which might be suggested by debconf. This is a bug and currently logged in BTS as [http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=252462 #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: 
     22{{{ 
     23INTERFACES="" 
     24HOTPLUG_INTERFACES="all" 
     25ARGS="" 
     26}}} 
     27Ok, 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: 
     28{{{ 
     29# echo $WEPKEY >> /etc/waproamd/keys/$MAC.wep 
     30}}} 
     31Note: For security reasons only the root user should have read access to the above file! 
     32 
     33The last step is to put an ath0 stanza into the interfaces file to configure for DHCP usage: 
     34{{{ 
     35# echo "iface ath0 inet dhcp" >> /etc/network/interfaces 
     36}}} 
     37Now plug your card and all should be configured automatically. Enjoy!