As root, change to the madwifi directory ( probably /usr/src/madwifi), build the package and install it:
- make KERNELRELEASE=$(uname -r) MODULEPATH=/lib/modules/$(uname -r)/kernel/net
- make install KERNELRELEASE=$(uname -r) MODULEPATH=/lib/modules/$(uname -r)/kernel/net
If the make install above prompts you to remove prior Madwifi tools, modules, or installations, accept the prompt. Tell the system to load the madwifi module at boot time:
- echo “alias ath0 ath_pci” »/etc/modprobe.conf
Load the driver:
- modprobe ath_pci
Absent an error message, you’ve done the hard part & can now use the standard Control Center Network tools to manage the wireless interface ath0. You are done. A common error that shows up at this last step is a kernel vs module conflict, and it's likely then you've changed compilers between the kernel's construction and the complaining modules'.