How To: Atheros Wireless AR5007EG for 64bit

Post your How to's here


How To: Atheros Wireless AR5007EG for 64bit

Postby Tib » Fri Jun 13, 2008 7: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: 204
Joined: Thu Nov 29, 2007 3:50 am
Location: Virginia
Age: 27
Operating System: Ultimate Edition 3.2 32 BIT



Re: How To: Atheros Wireless AR5007EG for 64bit

Postby BSnapZ » Fri Mar 20, 2009 5:36 am

User avatar
BSnapZ
U.E. Newbie
U.E. Newbie
 
Posts: 1
Joined: Fri Mar 20, 2009 5:33 am
Operating System: Ultimate Edition 2.6 Gamers



Re: How To: Atheros Wireless AR5007EG for 64bit

Postby ixnod » Thu Mar 26, 2009 2: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. Macbook pro dual boot U.E 2.6 64 2.8 Ghz core2duo
Desktop:
Core I7 820, ATI 5870 radeon HD graphics Ultimate Edition 2.7
maxtor 320 gig external usb
1.5 Tb external Hd
Hp c5100 photosmart printer (networked and wireless)
User avatar
ixnod
Site Admin
 
Posts: 649
Joined: Tue Jun 24, 2008 4:56 am
Operating System: Ultimate Edition 3.2 64 BIT



Re: How To: Atheros Wireless AR5007EG for 64bit

Postby pch.shot » Thu Mar 26, 2009 2:49 am

You gotta get these links while they are hot.
Systems Windows XP Pro 32 bit & various Linux in Virtual Box and VMWare Player
Intel i7 2600K cpu with built in Intel 3000 video
1 OCZ Vertex 3 120 gig ssd(System)
1 Western Digital 2 Terabyte Green internal hard drive(Storage)
Kingston ddr3 1333 ram(4 gig)
MSI Z68A-GD80(G3)mobo w/hdmi video and optical audio
Realtek HD audio
Realtek lan
1 LG sata optical drive
Antec Sonata IV case/620 watt psu
50 inch LG plasma tv/monitor
Sony surround sound amp
Axiom speakers
optical sound
User avatar
pch.shot
U.E. God
U.E. God
 
Posts: 3746
Joined: Sat Feb 02, 2008 4:28 pm
Location: Chippawa, Canada
Age: 59
Operating System: Microsoft Windows



Re: How To: Atheros Wireless AR5007EG for 64bit

Postby red_team316 » Thu Mar 26, 2009 3: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
U.E. College Professor
U.E. College Professor
 
Posts: 288
Joined: Mon Jan 07, 2008 4:37 am
Age: 29
Operating System: Ultimate Edition 3.2 64 BIT


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

Who is online

Users browsing this forum: No registered users and 1 guest