How to build madwifi driver for Atheros AR2425 on Fedora 8 =========================================================== by Thomas Chung on 2007-12-12 Hardware: Toshiba Satellite A135-S7404 with Atheros AR2425 (AR5007EG) Wireless Chipset Introduction: As of December 2007, madwifi.org's ath_pci or ath5k driver does not support AR2425 (AR5007EG) chiset yet. See http://madwifi.org/wiki/Compatibility/Atheros#AtherosAR5007EG See http://madwifi.org/wiki/About/OpenHAL See http://madwifi.org/wiki/Chipsets#a2425 See https://bugzilla.redhat.com/show_bug.cgi?id=254192#c73 However, there is a patch to enable the support for Atheros AR2425 (AR5007EG) chipset. This instruction shows how to build RPM packages from Tarball including the patch. Please note it's mistakenly detected as AR5006EG in Fedora 8 using lspci. Update: Pre-built RPMs with kernel modules for Atheros AR2525 available at: http://tchung.fedorapeople.org/madwifi/ar2425/ 1. Download madwifi-ng-r2756-20071018.tar.gz $ wget http://snapshots.madwifi.org/madwifi-ng/madwifi-ng-r2756-20071018.tar.gz 2. Extract madwifi-ng-r2756-20071018.tar.gz $ tar zxvf madwifi-ng-r2756-20071018.tar.gz 3. Download madwifi-ng-0933.ar2425.20071130.i386.patch $ wget http://madwifi.org/attachment/ticket/1679/madwifi-ng-0933.ar2425.20071130.i386.patch?format=raw -O madwifi-ng-0933.ar2425.20071130.i386.patch 4. Apply patch $ cp madwifi-ng-0933.ar2425.20071130.i386.patch madwifi-ng-r2756-20071018 $ cd madwifi-ng-r2756-20071018 $ patch -p0 < madwifi-0933.ar2425.20071130.i386.patch 5. Repackage tarball $ cd ../ $ tar zcvf madwifi-ng-r2756-20071018.tar.gz madwifi-ng-r2756-20071018 6. Build rpm packages from tarball $ rpmbuild --define "kernel `uname -r`" -ta madwifi-ng-r2756-20071018.tar.gz Note: Make sure to install rpmdevtools and build rpms as a user. 7. Install rpm pacakge $ sudo rpm -ivh madwifi-0.2756.20071018-6.i386.rpm madwifi-module-0.2756.20071018-6_2.6.23.1_42.fc8.i386.rpm 8. Unload ath5k driver $ sudo /sbin/modprobe -r ath5k 9. Load ath_pci driver $ sudo /sbin/modprobe ath_pci 10. To avoid loading ath5k during boot time, add it in blacklist $ sudo vi /etc/modprobe.d/blacklist # ath5k blacklist ath5k 11. Check if wlan0 is detected $ /sbin/iwconfig wlan0 IEEE 802.11g ESSID:"..." Nickname:"..." ... 12. Configure wlan0 as usual $ iwconfig wlan0 essid ... $ iwconfig wlan0 key ... $ dhclient wlan0 References ========== * http://www.atheros.com/pt/AR5006EG.htm (AR2424 Chip) * http://www.atheros.com/pt/AR5007EG.htm (AR2425 Chip) * http://madwifi.org/ticket/1679