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 .

Setting a Client to Use WEP.

First of all, you'll need to create a base device (does not apply to MadWifi-Old). For information on how to proceed, see UserDocs/StationInterface.

The basic commands you need to execute are:

iwconfig ath0 key XXXXXXXXXX
iwconfig ath0 ap XX:XX:XX:XX:XX:XX

And then, if you feel the need:

iwconfig ath0 channel X
iwconfig ath0 essid foobar
iwconfig ath0 rate XXMB

You can also use a passphrase instead of a wep ‘key’ by issuing the command:

iwconfig ath0 key "s:passphrase"

When you want to disable WEP, you can try the command:

ifconfig ath0 down
iwconfig ath0 key open off
ifconfig ath0 up