Wifi on Atheros AR5BXB63 (and similar) wireless network cards

Posted by spewit on 21/02/2009

How to get your wifi working on an atheros card:

I have an acer aspire 4720z laptop with an Atheros AR5BXB63 wireless network card. Although Ubuntu 8.10 shows this hardware driver for Atheros based 802.11 wireless LAN cards it wasn’t able to help me get it working.
So i tried Madwifi as an option. Here although it got my card detecting and connecting to networks it used to give awfully slow speeds almost to the point of disconnection.
Then i finally tried to install ndiswrapper which wasn’t as difficult as i had thought.
I followed the following tutorial from ubuntuforums:


I will be recapping the whole tutorial in respect of the steps i took which were essentially the same:
First of all make sure you have another alternative to get your Internet working as in an Ethernet cable. Only then can this tutorial prove helpful.
Once that’s done you would need two packages:

1. ndiswrapper package
2. atheros package

First get onto the desktop with the following command:

cd Desktop
(Easier to keep track of where all the files are)

The following two commands will get you the tarballs of the two packages:

wget http://wifix.sourceforge.net/software.php?title=ndiswrapper

AR5007EG windows drivers:
wget http://blakecmartin.googlepages.com/ar5007eg-32-0.2.tar.gz

Extract both the archives onto the desktop with the following:

tar xvf ndiswrapper-1.51.tar.gz

(the actual name of the file will depend on the version you have downloaded)

tar xvf ar5007eg-32-0.2.tar.gz

After this is done you will get two folders with the same names as the archives. Now you need to see if your system’s up-to-date with its kernel headers and packages for compiling:

First get your kernel version by :

uname -r

Whatever you get you need to fill that in the subsequent [INSERT] field.

sudo aptitude update

sudo aptitude install linux-headers-[INSERT] build-essential

sudo aptitude install linux-headers-$(uname -r) build-essential

The above two commands will download and install headers and it won’t be a very small download for the linux headers.
After this we need to blacklist the ath_pci kernel module in the blacklist file present in /etc/modprobe.d folder under the filesystem:

echo “blacklist ath_pci” | sudo tee -a /etc/modprobe.d/blacklist

To see the appended line just open the file in any of the text editors like gedit:

gedit /etc/modprobe.d/blacklist

Now cd into the ndiswrapper folder that was created after extracting:

cd ndiswrapper-1.51

Now compile:

sudo make uninstall
sudo make install

cd.. (Back to Desktop)

cd ar5007eg-32-0.2

sudo ndiswrapper -i net5211.inf

The net5211.inf can also be used by an application called Windows wireless Drivers to make it installed.

Once this is done, we need to make sure that ndiswrapper is loaded in the startup of ubuntu:

sudo modprobe ndiswrapper

Now open the modules file:

sudo gedit /etc/modules

And append ndiswrapper at the end of the file. My file now look like this:

# /etc/modules: kernel modules to load at boot time.
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with “#” are ignored.


It’s all done!
Now simple restart your system and hopefully it will work. The LED wasn’t working for me so remember whether your wifi is on or not.


One Response to “Wifi on Atheros AR5BXB63 (and similar) wireless network cards”

  1. Nor Wimax said

    Thank you for sharing the info, i found it really useful. Now i’m browsing your blog from my motel room

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: