Last week I helped a friend configure wireless driver on his brand new HP Compaq Notebook PC. Fedora 9 X86_64 did not detect the wireless device automatically.
The first thing I did was list all PCI devices on the laptop PC.
At the end of the output I noticed
03:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)
MadWifi provides Linux kernel drivers for wireless LAN devices with Atheros chipsets. Therefore my next task was to install MadWifi on the notebook PC. Before installing the kernel drivers it is recommended to update all the packages on the computer, especially the kernel. I updated all the packages.
rpm.livna.org repository for Fedora contains the MadWifi rpm. I enabled the rpm.livna.org repository on the laptop and installed the MadWifi rpm using
yum install kmod-madwifi
and restarted the computer. The wireless device was not detected. I also tried aliasing wifi0 and ath0 to ath_pci. Nothing solved the problem. I uninstalled kmod-madwifi and recompiled madwifi. At this point system-config-network detected the hardware device as "other wireless device". But I could not connect to the Wifi network.
After researching for a while on the Internet, I noticed many people had difficulty obtaining the proper driver for Atheros AR242x wireless chipset on 64 bit Linux. My next best available option was to use Fedora 9 i386 on the laptop PC. I tried the rpm.livna.org MadWifi rpm again. It failed once again. I removed kmod-madwifi and rpm.livna.org and recompied madwifi.
These are the steps that actually worked. I launched the terminal and switched to super user mode using su -. The remaining steps are documented below.
Step 1. Download the latest madwifi snapshot from madwifi.org.
wget http://snapshots.madwifi.org/special/ma ... 007.tar.gz
Step 2: Extract the tarball and change directory
tar -zxvf madwifi-ng-r3366+ar5007.tar.gz
Step 3: Change directory
Step 4: Install the necessary tools to compile madwifi.
yum install gcc kernel-devel kernel-headers make
Step 5: make
Step 6: make install
Step 7: Restart the computer
Step 8: Configure the network using either system-config-network or NetworkManager
I could see the ath5k and ath_pci modules in the Linux Kernel using lsmod.
$lsmod | grep ath
dm_multipath 18056 0
dm_mod 49236 2 dm_mirror,dm_multipath
ath5k 110344 0
mac80211 181992 1 ath5k
cfg80211 25096 2 ath5k,mac80211
ath_rate_sample 15104 1
ath_pci 162092 0
wlan 206008 5 wlan_wep,wlan_scan_sta,ath_rate_sample,ath_pci
ath_hal 281184 3 ath_rate_sample,ath_pci
If you follow the same steps and do not see the ath_pci kernel module, try
and restart the computer.
You may also try
and restart the computer.