How To: Atheros Wireless AR5007EG for 64bit

Post your How to's here

How To: Atheros Wireless AR5007EG for 64bit

Postby Tib on Fri Jun 13, 2008 8:41 pm

PWNED!!!!!!! 1.8 x64 on my laptop with an Atheros AR5007EG Wireless card, WORKING!! (i rebooted 4 times just to make sure :-P).

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!!! :mrgreen:

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).
_____________________________________
Desktop:
RAM: 1.3 Gigs 266MHz DDR
CPU: AMD64 3200+ 2GHz
Graphics: ATI Radeon X1300 Pro 256MB
HD's: Internal EIDE 160 Gig/External 320 Gig
Tri-boot HD: XPSP2/Ubuntu Ultimate Gamers Edition 1.8 x86/Ultimate Edition 2.0 x64

Laptop:
RAM: 2 Gigs
CPU: AMD64 X2 2GHz
Graphics: Nvidia GeForce 7150M
HD's: Internal 150 Gig
Quad-boot: Vista/XP/1.8 x86 Gamers/1.9 x64


TIP: If a program fails to start, run it from the terminal to see the error text!

Got a Linux question? Feel free to IM me on AIM/YIM/MSN! :mrgreen:
User avatar
Tib
Moderator
 
Posts: 202
Joined: Thu Nov 29, 2007 4:50 am
Location: Virginia
Operating System: Ultimate Edition 2.8 Alpha 64 BIT

Re: How To: Atheros Wireless AR5007EG for 64bit

Postby BSnapZ on Fri Mar 20, 2009 6:36 am

BSnapZ
U.E. Newbie
U.E. Newbie
 
Posts: 1
Joined: Fri Mar 20, 2009 6:33 am
Operating System: Ultimate Edition 1.7 64 BIT

Re: How To: Atheros Wireless AR5007EG for 64bit

Postby ixnod on Thu Mar 26, 2009 3:45 am

Here is the updated version.


The above URL seems to have been changed, so try the following instead.
sudo svn checkout http://svn.madwifi.org/madwifi/trunk madwifi-ng
Laptop. triple bootin' vista, Ultimate Edition 1.9 , 2.0
Toshiba p205-s6337 WD caviar black 7200 rpm 320 Gb hard drive. Belkin n1(atheros) pcmcia(express) card. upek fingerprint reader 3gig ram
Microsoft wireless 3000 keyboard and mouse
maxtor 320 gig external usb
120 gig 2.5 external usb (seagate)
200 gig 2.5 external usb ( fujitsu)
Hp c5100 photosmart printer (networked and wireless)
2 & 4gig cruzer usb
User avatar
ixnod
Site Admin
 
Posts: 570
Joined: Tue Jun 24, 2008 5:56 am
Operating System: Ultimate Edition 2.8 Alpha 32 BIT

Re: How To: Atheros Wireless AR5007EG for 64bit

Postby pch.shot on Thu Mar 26, 2009 3:49 am

You gotta get these links while they are hot.
System 1(Windows XP 32 bit):
Intel i7 920 cpu
Kingston ddr3 1333 ram(3 gig)
MSI X58 Sli mobo
2 XFX Nvidia 7100gs gpus sli
Realtek ALC888 audio
Realtek lan
Seagate Barracuda 250 gig hd(system hd)
Western Digital 320 gig hd(storage)
Seagate 1000 gig hd(storage)
LG sata optical drive
Antec Sonata III case/500 watt psu

System 2(Ubuntu 9.10 64 bit):
Intel E8400 cpu
Kingston DDR2 800 ram(2 gig)
Asus P5KPL-AM SE mobo
ATI Radeon HD 4650 video
Realtek ALC 662 audio
PCIe Gigabit lan
Seagate Barracuda 320 gig hd
Seagate Barracuda 750 gig hd
LG Litescribe pata optical drive
Hauppauge pvr 150
16 gig flash
PC case/475 watt psu
User avatar
pch.shot
Site Admin
 
Posts: 2695
Joined: Sat Feb 02, 2008 5:28 pm
Location: Chippawa, Canada
Operating System: Ultimate Edition 1.2

Re: How To: Atheros Wireless AR5007EG for 64bit

Postby red_team316 on Thu Mar 26, 2009 4:47 am

This is good news. It's completely opposite of the old way to get it working. It's good to see this hardware finally get a working driver.
Core i7 920(working on a decent OC), x58 ASUS P6T Deluxe V2, 6GB DDR3 1600, EVGA 8800GTS512, Silencer 750W PSU, CoolerMaster V8, Red Antec900
Image
User avatar
red_team316
Site Admin
 
Posts: 288
Joined: Mon Jan 07, 2008 5:37 am
Operating System: Ultimate Edition 2.8 Alpha 32 BIT


Return to How To's (Do not post questions please)

Who is online

Users browsing this forum: No registered users and 1 guest