MadWifi is one of the most advanced WLAN drivers available for Linux. With openSUSE 11.0 users of systems with Atheros wireless card are not able to install and use Madwifi drivers to set the Atheros Wireless Card.
madwifi 0.9.4-1-i586 may install OK but you may face the following error when trying to install madwif-kmp-pae 0.9.4_2.6.25_26-1-i586
“nothing provides kernel(vmlinux)=1f623d7fcfa1b112 needed by madwifi-kmp-pae 0.9.4_2.6.25_26-i586.”
To resolve this problem, simply rebuild the RPMs from the original source RPM packages.
So here is how it works.
Install Kernel Source and Kernel Syms package
To rebuild the madwifi Source RPMS, you need to have the
Kernel Source package (kernel-source)
Kernel Syms package (kernel-syms)
GNU C Compiler (gcc)
Make utility (make)
Switch user to root and install the above
SAIBABA:~# yast2 –install kernel-source kernel-syms gcc make
This should install the pre-requisites.
Download Source RPM packages
SAIBABA:~ # wget http://madwifi.org/suse/11.0/src/madwifi-0.9.4-1.src.rpm
SAIBABA:~ # rpmbuild –rebuild madwifi-0.9.4-1.src.rpm
This should rebuild the Madwifi RPMs from the source at save them at
Change directory to the above and confirm if the following created
Install Madwifi RPMS
Now confirm, the Kernel Version and the proceed to install the RPMs
SAIBABA:~ # uname -a
SAIBABA:~ # rpm -Uvh madwifi-0.9.4-1.i586.rpm
SAIBABA:~ # rpm -Uvh madwifi-kmp-pae-0.9.4_18.104.22.168_1.1-1.i586.rpm
Blacklist athk5k Module
echo “blacklist ath5k” >> /etc/modprobe.d/blacklist
Update Network Manager
Update the latest Networkmanager patch
SAIBABA:~ # yast2 –install knetworkmanager
Reboot your computer
SAIBABA:~ # reboot
Update Network Manager Setup
Once back after reboot, open YAST and open Yast – Network Devices – Network Settings. On the ‘Global options’ tab uncheck the “user controlled with networkmanager” option under Network Setup.
Delete any old wireless entry. To confirm that edit it and click on the hardware tab. The old one has the module name of ath5k. Now edit the new connection with the ath_pci module. Define all parameters for your local setup including encryption, DHCP etc. Save and exit. Logout and back into KDE.
This should work.
Dont forget to chamge wlan0 to ath0 as otherwise it doesnt work, found that out after modprobing ath_pci when nothing was happening and trying to get ndiswrapper up. and you need to pop double dashes for “rpmbuild –rebuild” etc.
btw thank you sooo much!!
yes! this was the right solution for me. thanx a lot…
Yuuuuhuuuu!! say always Homer simpson, I’m very happy jeje. This tutorial, is better, very good, simply, but efective, I have a laptop easynote packard bell, AMD + nvidia and atheros ar5bxb561, and now my wifi is started.
Sorry for my English, I am Spanish.
Bye, bye a many thank’s.
Sorry, say any more, with gnome no need, reinstall networkmanager, detect the wireles point, to the first. jeje I use ONO 12 MB, very fast.