MadWifi is one of the most advanced WLAN drivers available for Linux today. It is stable and has an established userbase. The driver itself is open source but depends on the proprietary Hardware Abstraction Layer (HAL) that is available in binary form only. The current stable release is v0.9.4.
ath5k is a relatively new and emerging driver and does not depend on the HAL. It is intended to replace MadWifi in the long run and exceed it feature-wise. ath5k is where most of our development resources are spent on now.
ath9k is the youngest of the three drivers. Initial development was done by Atheros, who then released the complete source code to the community. ath9k supports all currently available 802.11n chipsets from Atheros. For now please see here for further information.
Getting MADWiFi Sources ¶
Removing old modules ¶
For this step you must be logged on as root.
First, set all your MadWifi devices down:
ifconfig ath0 down
ifconfig wifi0 down
#Repeat these 2 ifconfig lines for every MadWifi device you have (ath1, etc)
Assuming that you're inside the MadWifi directory, execute the following scripts to remove the current modules from your system and its memory:
./find-madwifi-modules.sh $(uname -r)
You should then be asked if you are sure that you want to remove the old modules.
Now that you have the MadWifi code, it's time to compile it into the actual driver. Thankfully, this is easy.
Assuming that you've met all of the requirements above, and you're inside the MadWifi directory, you can just type:
makeWhich will start the build process. Watch for any questions you might be prompted to answer - when it finishes, quickly scan through for any errors. Maybe you will get the following error. It's already fixed,
just follow it.
Ticket #1956 (closed defect: wontfix) madwifi-0.9.4 compilation problem for new RHEL5.2 kernel, 2.6.18-92.el5
|Reported by:||firstname.lastname@example.org||Assigned to:|
|Patch is attached:||0||Pending:|