Atheros AR5006EG in Ubuntu 7.10 (Gutsy Gibbon)
As I mentioned in a previous post, I have installed Ubuntu 7.10 in my notebook and almost everything has worked “out of the box”, except, for example, for the Atheros AR5006EG WiFi card.To configure this network card, we should use MadWifi drivers (one of the most advances drivers that exist actually for cards with Atheros chipset). This drivers depend on a Hardware Abstraction Layer (HAL) that is proprietary and that is only available in binary format. Even though, MadWifi project is working to replace such layer with another one that is completely open source (called ath5k).
Ubuntu by default has installed that driver, but for my network card wasn’t working. I imagine that there still may be some incompatibility, so I decided to try using Windows drivers thanks to ndiswrapper.
For the instalation, I’ve used this post: howto configure wireless network card in Linux Ubuntu / Arch / Others, even though I had to make some changes (I also added a comment to the post for everyone to know).
I will try to summarize the steps that I took.
NOTE: To find out which type of card we have, we have to execute this:
lspci | grep Ethernet
and here is the output for my laptop:
02:00.0 Ethernet controller: Atheros Communications, Inc. AR5006EG 802.11 b/g Wireless PCI Express Adapter (rev 01) 08:07.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
Before we start, we have to make sure that MadWifi drivers don’t get loaded at boot, since we could have a conflict between the two. You can do this typing this:
in /etc/modprobe.d/blacklist file or by using the restricted driver manager:
These are the steps for the installation:
1. Install ndiswrapper. (sudo apt-get install ndiswrapper) You can also use ndisgtk graphical interfase. (sudo apt-get install ndisgtk)
2. Download the correct drivers from Atheros. The problem that I had is that all the explanations refer to version 5.3, but Atheros has another version for such drivers for Windows. With version 5.3 I had the following error:
ndiswrapper (mp_init:216): couldn't initialize device: C0000001
But with version 6.0 everything worked. Here is the link to the version that I downloaded: http://www.atheros.cz/download.php?atheros=AR5006EG&system=1
The name of the driver of the new version is net5416 (instead of net5211 that is mentioned on other instructions)
You only need the .inf file that is contained on the ZIP (although I also copied the .sys file, just in case)
UPDATE: Here’s the link for the 64 bit version.
4. Save ndiswrapper module configuration files by issuing the command: sudo ndiswrapper -ma && sudo ndiswrapper -mi
5. Reboot and try. At this moment, we should see a wlan0 interfase when we excecute: “sudo ifconfig”.
I hope that this helps other people to configure their WiFi network while the MadWifi driver works correctly.
I anyone find out how to make this network card working with the MadWifi drivers, or if you see any error or problem with these instructions, please tell me.