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 .

Compiling Madwifi PowerPC Running Linux

These instructions were compiled using Gentoo Linux (with kernel 2.6.9-gentoo-r9) and a Netgear WAG511 (v2 not v1).


  1. Check the driver out of CVS. See UserDocs/GettingMadwifi for full instructions.
  2. Set some Makefile parameters
    • export TARGET=powerpc-be-eabi
    • export KERNELRELEASE=2.6.9-gentoo-r9
    • export KERNELPATH=/usr/src/linux
    • export TOOLPREFIX=/usr/bin/
    • You have to change the Kernelrelease to match the one you are using (you can find this out by typing uname -a). Also watch out for the trailing slash for the value of TOOLPREFIX. It is assumed that /usr/src/linux is a link to your kernel sources.
  3. Build the driver
    • make
    • make install

Specifying any additional variables (the exports above) may no longer be necessary. However, you should use the same compiler that was used to compile the kernel (or at least use the compiler with the same major and minor versions). For instance, Ubuntu 5.10 ships gcc 4.0 as the default compiler, but the kernel is compiled with gcc 3.4.

Compiling with PTXDist

PTXDist supports PowerPC targets and thus can build images for PowerPC devices. For instance the Freescal MPC5200B processor runs well with powerpc-be-elf binaries. See the PTXdist mailing list for the madwifi 0.9.3 build rule (