How To: Atheros Wireless AR5007EG for 64bit
Posted: Fri Jun 13, 2008 3:41 pm
PWNED!!!!!!! 1.8 x64 on my laptop with an Atheros AR5007EG Wireless card, WORKING!! (i rebooted 4 times just to make sure ).
Note: I followed these instructions on a fresh, updated install of 1.8 x64, including the latest .18 kernel, I did not have ndiswrapper installed, and some people posted having problems with the wireless, after having been using ndiswrapper.
Note: I'm not sure if removing the files/folders used for installing, has any effect or not (a Mod or Admin might know?), but I would strongly suggest leaving the files/folders used for this, as it makes getting your Atheros card back up and running in no time, should you upgrade to a newer Kernel, which forces you to reinstall the drivers.
Note: Make sure you have your build-essentials before attempting to do the installation!
_________________________________________________________________________
Here are the updated installation instructions for ubuntu hardy (amd64).
1. First remove ndiswrapper completely (if not sure skip to step 2)
2. Build, install and load madwifi with the new HAL
From System -Administration -Hardware Drivers enable Atheros drivers, and reboot the system.
_________________________________________________________________________
I fixed the typo in the command, and replaced the x's in the URL's so they're correct....should be able to copy-paste the code right into the terminal and be up and running with Atheros wireless under 64-bit Hardy.
Hope this helps!!!
Tib
P.S. This is not my work, nor did I write the command list, I merely found it, and wish to share it...I cannot link to it, as the original post has been removed from MadWifi's site. The person who did the fix is someone named "Sam", all credit to him! Hope this helps!
Part 2 - Reinstalling After Kernel Update
Alright, I just upgraded to the .19 kernel, which upon rebooting, causes the drivers for the wireless to stop working, so I took a moment to get my Atheros working again on my 64-bit 1.8 laptop, if you followed the above instructions, and have since upgraded to a new Kernel, this part should fix you right up .
1. Open up the terminal, it should open up right into your home directory, then input:
2. Unload the current modules:
3. Remove the current modules:
4. Return to the main MadWifi directory:
5. Compile the new modules:
6. Install the new modules:
7. Load the new modules:
8. I am not Positive this step is needed, but I did it just in case, to make sure the ath_pci would be loaded upon each boot
Hope this helps!
Tib
P.S. I got the info from the MadWifi site, had to change one of the commands, as the info on their site was a little out-dated (or at least, didn't work with these files).
Note: I followed these instructions on a fresh, updated install of 1.8 x64, including the latest .18 kernel, I did not have ndiswrapper installed, and some people posted having problems with the wireless, after having been using ndiswrapper.
Note: I'm not sure if removing the files/folders used for installing, has any effect or not (a Mod or Admin might know?), but I would strongly suggest leaving the files/folders used for this, as it makes getting your Atheros card back up and running in no time, should you upgrade to a newer Kernel, which forces you to reinstall the drivers.
Note: Make sure you have your build-essentials before attempting to do the installation!
- Code: Select all
sudo apt-get update
- Code: Select all
sudo apt-get install build-essential
_________________________________________________________________________
Here are the updated installation instructions for ubuntu hardy (amd64).
1. First remove ndiswrapper completely (if not sure skip to step 2)
- Code: Select all
sudo ndiswrapper -e net5211
- Code: Select all
sudo modprobe -r ndiswrapper
- Code: Select all
sudo apt-get remove --purge ndiswrapper-common ndiswrapper-utils ndisgtk
2. Build, install and load madwifi with the new HAL
- Code: Select all
svn co http://svn.madwifi.org/madwifi/trunk madwifi
- Code: Select all
wget http://people.freebsd.org/~sam/ath_hal-20080528.tgz
- Code: Select all
cd madwifi
- Code: Select all
mv hal hal.old
- Code: Select all
tar xvf ../ath_hal-20080528.tgz
- Code: Select all
mv ath_hal-20080528 hal
- Code: Select all
sudo make install BINDIR=/usr/bin MANDIR=/usr/share/man
- Code: Select all
sudo depmod -ae
- Code: Select all
sudo modprobe ath_pci
- Code: Select all
echo ath_hal | sudo tee -a /etc/modules
- Code: Select all
echo ath_pci | sudo tee -a /etc/modules
From System -Administration -Hardware Drivers enable Atheros drivers, and reboot the system.
_________________________________________________________________________
I fixed the typo in the command, and replaced the x's in the URL's so they're correct....should be able to copy-paste the code right into the terminal and be up and running with Atheros wireless under 64-bit Hardy.
Hope this helps!!!
Tib
P.S. This is not my work, nor did I write the command list, I merely found it, and wish to share it...I cannot link to it, as the original post has been removed from MadWifi's site. The person who did the fix is someone named "Sam", all credit to him! Hope this helps!
Part 2 - Reinstalling After Kernel Update
Alright, I just upgraded to the .19 kernel, which upon rebooting, causes the drivers for the wireless to stop working, so I took a moment to get my Atheros working again on my 64-bit 1.8 laptop, if you followed the above instructions, and have since upgraded to a new Kernel, this part should fix you right up .
1. Open up the terminal, it should open up right into your home directory, then input:
- Code: Select all
cd madwifi/scripts
2. Unload the current modules:
- Code: Select all
sudo ./madwifi-unload
3. Remove the current modules:
- Code: Select all
sudo ./find-madwifi-modules.sh $(uname -r)
4. Return to the main MadWifi directory:
- Code: Select all
cd ..
5. Compile the new modules:
- Code: Select all
sudo make
6. Install the new modules:
- Code: Select all
sudo make install
7. Load the new modules:
- Code: Select all
sudo modprobe ath_pci
8. I am not Positive this step is needed, but I did it just in case, to make sure the ath_pci would be loaded upon each boot
- Code: Select all
echo ath_pci | sudo tee -a /etc/modules
Hope this helps!
Tib
P.S. I got the info from the MadWifi site, had to change one of the commands, as the info on their site was a little out-dated (or at least, didn't work with these files).