up:
  1. apt-get install linux-headers-$(uname -r)
    wget -c http://snapshots.madwifi.org/special/madwifi-ng-r2756+ar5007.tar.gz
    KERNELHEADERS=/usr/src/linux-headers-$(uname -r) make install
    modprobe ath_pci
    modprobe wlan_scan_sta
    
  2. If you don't like that, read http://forum.eeeuser.com/viewtopic.php?pid=47421#p47421 to see how to build a Debian package.

  3. For WPA, I configured wpasupplicant manually. See http://wiki.debian.org/DebianEeePC/HowTo/Wifi.