I have managed to get the madwifi driver for the Atheros chipset to
work.

It does not support restricted or shared keys for WEP
please see http://www.mattfoster.clara.co.uk/madwifi-faq.htm
for more detials.

I have produced as set up script as a guide to help others. This script comes without warranty and is released under a LGPL licence.

Copy both files into your /root directory to use them properly.
This script uses madwifi CVS tree so you get the most up to date
driver i hope.

The install script
===============================================
===============================================

#!/bin/sh
echo " >>inst>> This script downloads the most current madwifi driver from sourceforge and compiles it for you and installs it\n"
echo " >>inst>> on your machine\n"
echo " >>inst>> This script is designed for redhat & fedora users only\n"
echo " >>inst>> This script may only be used provided the user accepts that it comes with no warranty or come back !!! \n"
echo " >>inst>> Use it at your own risk !!! \n"
echo " >>inst>> Installing kernel drivers can cause your machine to crash and not boot up properly so beware !!!! \n"
echo " >>inst>> Every linux machines setup is different so you need to know what your doing \n"
echo " >>inst>> You must be logged in as root to run this script \n"
echo " >>inst>> press <return> to continue or <ctrl> c to abort the script \n"
read answer
mkdir /root/wlan-madwifi
cd /root/wlan-madwifi
echo " \n"
echo " >>inst>> downloading madwifi drivers from sourceforge"
echo " >>inst>> [password is blank - press enter] \n"
echo " >>inst>> Please make sure that your firewall service allows you to use port 2401\n"
echo " >>inst>> You may need to stop your iptables \n"
echo " >>inst>> by typing at the command prompt> service iptables stop \n"
echo " >>inst>> this will shutdown the iptables firewall on yr pc\n"
echo " \n"
cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/madwifi login
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/madwifi co madwifi
echo ">>inst>> Compile and install the MadWiFi drivers \n"
cd madwifi
make
make install
echo " >>inst>> ################################################## ########################################\n"
echo " \n"
echo " >>inst>> added "alias ath0 ath_pci" to /etc/modules.conf (added the line right below alias eth0...)\n"
echo " >>inst>> This is very important you do this otherwise your machine will freeze up when you restart it \n"
echo " \n"
echo "################################################# #########################################\n"
echo " \n"
echo " >>inst>> copying wlan control script ifcfg-ath0 from this directory to /etc/sysconfig/network-scripts/ \n"
echo " >>inst>> you should edit /etc/sysconfig/network-scripts/ifcfg-ath0 to set up all the values correctly \n"
echo " \n"
mkdir /etc/sysconfig/network-scripts/
cp ./ifcfg-ath0 /etc/sysconfig/network-scripts/
echo " \n"
echo " >>inst>> If your using the REDHAT OR Fedora you must go into the services menu under \n"
echo " >>inst>> >System Tools >Servers > Services on the Redhat Start button then on both \n"
echo " >>inst>> run level 3 & 5 stop the service Kudzu . Also make sure you unselect this service \n"
echo " >>inst>> So that when your computer reboots it does not run the kudzu auto detect hardware service \n"
echo " >>inst>> otherwaise your computer will hang up in whilst it is trying to boot \n"
echo " >>inst>> Please be aware that the madwifi driver does not work currently 'restricted' and 'shared key' WEP \n"
echo " >>inst>> Please see http://www.mattfoster.clara.co.uk/madwifi-faq.htm sections 4.12 & 4.12 \n"
echo " >>inst>> Now reboot the machine by typing > reboot \n"


===============================================
===============================================
###############################################

The file ifcfg-ath0
===============================================
===============================================

# Unknown vendor|Generic ath_pci device
DEVICE=ath0
# Change next line to "ONBOOT=yes" to have this device start at boot
ONBOOT=no
USERCTL=yes
#BOOTPROTO=dhcp
# Uncomment above line and comment out next 4 lines to use DHCP
BOOTPROTO=static
IPADDR=192.168.1.2
NETMASK=255.255.255.0
GATEWAY=192.168.1.1
WIRELESS=yes
MODE=Managed
ESSID=foo
#NICK=''
#NWID=''
#FREQ=''
CHANNEL=7
#SENS=''
RATE=auto
# Note only open keys work, restricted & shared keys do not work in the
# madwifi driver yet
KEY=''your key here''
#RTS=''
#FRAG=''
#IWCONFIG_OPTIONS=''
#IWSPY_OPTIONS=''
#IWPRIV_OPTIONS=''

===============================================
===============================================

Good luck.. You also need to read up how to use the following linux commands > ifconfig, ifup , iwconfig, iwlist, iwpriv