Friday, August 22, 2008

Solution for Atheros AR 5006 / 5007 Cards

To the mods, maybe you should sticky this, because I had nothing but trouble getting this to work. Emphasis on nothing but trouble, and if I had trouble, I'm sure a lot of other people had, I'd be fairly linux literate!!! lol. Hope this helps.

Heres how I set mine up:

Download this snapshot of the madwifi drivers:

snapshots.madwifi.org/madwifi-ng/madwifi-ng-r2756-20071018.tar.gz

Download this patch:

madwifi.org/attachment/ticket/1679/madwifi-ng-0933.ar2425.20071130.i386.patch?format=raw

Open up terminal, there are a few packages we need to install first:

sudo apt-get install sun-java6-jdk
sudo apt-get install g++
sudo apt-get install gcc
sudo apt-get install patch

If anyof these requireyou to enter your root password, do it.

Now change to your Desktop in terminal

cd Desktop

Unpack the snapshot downloaded earlier

tar -xvzf madwifi-ng-r2756-20071018.tar.gz

patch -p0 < madwifi-ng-0933.ar2425.20071130.i386.patch

Once that's done you need to make and install the driver

make
sudo make install

Finally probe the module

modprobe ath-pci

Reboot and your card should be working!

Keep the patched file somewhere safe, because everytime you do something major to the system like updates etc, it drops the module and you need to mak, make install, and modprobe it everytime it disappears!

Actually, on updating I did make install, and then modprobe as above, but the modprobe chucked out an error, so I just rebooted and it worked fine. Not sure why, cause u need to modprobe in Ubuntu.

And some people may need to blacklist their ath5k module if it's installed

sudo gedit /etc/modprobe.d/blacklist

inside the window that pops up, simply add

blacklist ath5k

No comments: