How To Install MadWifi On Debian 4.0 (Etch)
First of all, make sure your /etc/apt/source.list doesn’t only contain “main” but “main contrib non-free”. And then, update your APT.
1. Update
apt-get update
2. Install Build Environment
apt-get install build-essential module-assistant wireless-tools
module-assistant prepare
3. Install the driver
module-assistant auto-install madwifi-source
4. Load it!
modprobe ath_pci
That’s it! Have fun and happy surfing.