Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Other Community Discussions > Tutorials & Tips
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Tutorials & Tips
The place to find Ubuntu related Tips & Tricks.

View Poll Results: Did this how-to work for you?
Yes 184 90.64%
No 19 9.36%
Voters: 203. You may not vote on this poll

 
Thread Tools Display Modes
Old June 3rd, 2008   #1
Anduu
Grande Half-n-Half Cinnamon Ubuntu
 
Anduu's Avatar
 
Join Date: Apr 2006
Location: Alberta,Canada
Beans: 996
Ubuntu Development Release
Send a message via ICQ to Anduu
How To:MadWifi Support for AR2425 (AR5007EG) on 64bit Ubuntu !!!

Updated April 18,2009 10:43:08 A.M. MST

* Please read this how-to in it's entirety before proceeding


Oh man this made me sooo happy when I found this!I just have to share

I can't take any credit for this how to but I have tried it out and it works great...no more ndiswrapper for this puppy
You can see all the details regarding the lack of support for Atheros on 64bit linux here http://madwifi.org/ticket/1679 and here http://madwifi.org/ticket/1192

You will need an internet connection so get wired up if need be.

Lets give it a go.

1: First off be sure the build-essential package is installed
Code:
sudo apt-get install build-essential
2: You will need the linux-restricted-modules package installed to be able to compile the driver
Code:
sudo apt-get install linux-restricted-modules-$(uname -r)
3: Also install subversion
Code:
sudo apt-get install subversion
NOTE:If you have been using ndiswrapper like I was you need to disable/remove it

I recommend doing what I did and run the first command in section 4 before removing ndiswrapper that way you can avoid hooking up to a wired network if your wireless is functional using ndiswrapper
Code:
sudo ndiswrapper -e net5211
sudo modprobe -r ndiswrapper
sudo apt-get remove --purge ndiswrapper-common ndiswrapper-utils ndisgtk
Also run
Code:
gksudo gedit /etc/modprobe.d/blacklist
Remove any references to ath_pci and ath_hal

* Before the next steps go to System ->Administration ->Hardware Drivers and make sure both Atheros drivers are disabled and reboot the system if they were not.

4: Get the files and install the driver
Code:
svn co http://svn.madwifi-project.org/madwifi/branches/madwifi-hal-0.10.5.6
cd ~/madwifi-hal-0.10.5.6
make
sudo make install
sudo depmod -ae
sudo modprobe ath_pci
echo ath_hal | sudo tee -a /etc/modules
echo ath_pci | sudo tee -a /etc/modules
5: Finally go to System ->Administration ->Hardware Drivers and reenable the Atheros drivers and reboot the system.

One thing I should add is you will need to repeat this procedure whenever you get a kernel update.I have just kept the downloaded packages on my system and after booting into a new kernel I do:

Code:
cd ~/madwifi-hal-0.10.5.6
make clean
sudo make install
Reboot and I am up and running again.
Hopefully this makes your day like it did mine!

Note:
If everything installs and loads properly but you cannot connect to any networks you probably need to configure your network properly.Try browsing through here http://madwifi.org/wiki/UserDocs/FirstTimeHowTo for assistance.

Addendum:

Wifi light not working?Try ZeroXtreme's fix.

In a terminal type:

Code:
1. sudo sysctl -w dev.wifi0.ledpin=3
2. sudo sysctl -w dev.wifi0.softled=1
If this works, add the following to your /etc/sysctl.conf file to make the changes persistent:

Code:
sudo geditit /etc/sysctl.conf and add
Code:
# Enable WiFi LED
dev.wifi0.ledpin=3
dev.wifi0.softled=1
I won't guarantee this will work for everyone but it works on ZeroExtreme's and my Acer Aspire.
__________________
What color do Smurfs turn when you choke em?
____________________________

Last edited by Anduu; April 18th, 2009 at 12:53 PM..
Anduu is offline   Reply With Quote
Old June 7th, 2008   #2
be4truth
Ubuntu Extra Shot
 
Join Date: Jan 2007
Location: /India/Auroville/home
Beans: 353
Hardy Heron (Ubuntu Development)
Send a message via MSN to be4truth Send a message via Yahoo to be4truth
Re: How To:MadWifi Support for AR2425 (AR5007EG) on 64bit Ubuntu !!!

Is that a solution for 32 bit as well? So far nothing worked for me fixing this issue.
__________________
Intel C2D 2.4 GHZ on mobo Intel 965RY, Intrepid 32 bit
Don't forget to thank; more points when you want to go to heaven or less karma if you decide for reincarnation. Mark threads solved when they are ...
be4truth is offline   Reply With Quote
Old June 7th, 2008   #3
Anduu
Grande Half-n-Half Cinnamon Ubuntu
 
Anduu's Avatar
 
Join Date: Apr 2006
Location: Alberta,Canada
Beans: 996
Ubuntu Development Release
Send a message via ICQ to Anduu
Re: How To:MadWifi Support for AR2425 (AR5007EG) on 64bit Ubuntu !!!

Quote:
Originally Posted by be4truth View Post
Is that a solution for 32 bit as well? So far nothing worked for me fixing this issue.
This is strictly 64bit...try this if you haven't yet http://ubuntuforums.org/showthread.php?p=4999962
__________________
What color do Smurfs turn when you choke em?
____________________________
Anduu is offline   Reply With Quote
Old June 8th, 2008   #4
braveerudite
Gee! These Aren't Roasted!
 
braveerudite's Avatar
 
Join Date: Apr 2005
Location: Arecibo, Puerto Rico
Beans: 211
Ubuntu 9.04 Jaunty Jackalope
Send a message via ICQ to braveerudite
Talking Re: How To:MadWifi Support for AR2425 (AR5007EG) on 64bit Ubuntu !!!

IT WORKS PERFECT!!!

Oh my God!!! Dude I feel like crying of so much joy. You have no idea how much I needed this so bad. I can't believe how simple it was to get it all working by just copy pasting the codes. I been fighting for the last week with Atheros. I manage to get the drivers install before with ndiswrapper and was able to see my wireless networks but couldn't connect no matter what I try. I installed Wicd and Wi-Fi Radar and still didn't work. But with this new method is beautiful and flawless , I did a clean Ubuntu install again for my laptop and kept the default network manager . Thank you so much for sharing with us. Did you forget to mention in your guide to unchecked the drivers before starting this method? I had both unchecked before starting to do this and it work on the first try. I love you man, I love you.!!! w00t!!

__________________
Ubuntu 8.04 Hardy Heron (AMD64)
Compaq Presario F756NR

Last edited by braveerudite; June 26th, 2008 at 10:25 AM..
braveerudite is offline   Reply With Quote
Old June 8th, 2008   #5
freakwillie
5 Cups of Ubuntu
 
Join Date: Jun 2008
Beans: 22
Re: How To:MadWifi Support for AR2425 (AR5007EG) on 64bit Ubuntu !!!

Anduu,

You cant imagine how grateful I am to you. In fact I registered to the forum just to thank you.

Ive been trying to make my wifi work for two weeks so far, no even ndiswrapper would work for me. Followed dozens of howtos, got nothing. Indeed, yours was the only one that worked. Added to favorites, saved the page to my hard drive.

You are my hero!
freakwillie is offline   Reply With Quote
Old June 8th, 2008   #6
Anduu
Grande Half-n-Half Cinnamon Ubuntu
 
Anduu's Avatar
 
Join Date: Apr 2006
Location: Alberta,Canada
Beans: 996
Ubuntu Development Release
Send a message via ICQ to Anduu
Re: How To:MadWifi Support for AR2425 (AR5007EG) on 64bit Ubuntu !!!

Glad I could help

Like I said I'm just passing the info along...It's the guys at Madwifi who deserve all the credit

One thing I should add is you will need to repeat this procedure whenever you get a kernel update.I have just kept the downloaded packages on my system and after booting into a new kernel I do:

Code:
cd madwifi
make clean
sudo make install BINDIR=/usr/bin MANDIR=/usr/share/man
Reboot and I am up and running again.
__________________
What color do Smurfs turn when you choke em?
____________________________
Anduu is offline   Reply With Quote
Old July 25th, 2008   #7
Sockerdrickan
Chocolate Ubuntu Mocha Blend
 
Sockerdrickan's Avatar
 
Join Date: Apr 2007
Location: Sweden
Beans: 1,929
Ubuntu 9.10 Karmic Koala
Exclamation Re: How To:MadWifi Support for AR2425 (AR5007EG) on 64bit Ubuntu !!!

Quote:
Originally Posted by Anduu View Post
This is strictly 64bit...
It is not if anyone wonders. It works with various architectures.
__________________
rm -rf /bin/laden
Sockerdrickan is offline   Reply With Quote
Old July 25th, 2008   #8
Anduu
Grande Half-n-Half Cinnamon Ubuntu
 
Anduu's Avatar
 
Join Date: Apr 2006
Location: Alberta,Canada
Beans: 996
Ubuntu Development Release
Send a message via ICQ to Anduu
Re: How To:MadWifi Support for AR2425 (AR5007EG) on 64bit Ubuntu !!!

Quote:
Originally Posted by Tux0r View Post
It is not if anyone wonders. It works with various architectures.
I remember when I first started testing it it was for 64bit so it's good to know it's works for 32bit as well now.
__________________
What color do Smurfs turn when you choke em?
____________________________
Anduu is offline   Reply With Quote
Old August 7th, 2008   #9
Ripfox
Fresh Brewed Ubuntu
 
Ripfox's Avatar
 
Join Date: May 2006
Location: Location: Location
Beans: 1,541
Ubuntu Karmic Koala (testing)
Re: How To:MadWifi Support for AR2425 (AR5007EG) on 64bit Ubuntu !!!

Quote:
Originally Posted by be4truth View Post
Is that a solution for 32 bit as well? So far nothing worked for me fixing this issue.
I followed this to the letter on a fresh install 32 bit for my Sony Vaio VGN-NR360E and it worked perfectly. Thanks!!!
__________________
A computer allows you to make more mistakes faster than any invention in human history - with the possible exceptions of handguns and tequila.
Ripfox is offline   Reply With Quote
Old August 7th, 2008   #10
jeffegg2
5 Cups of Ubuntu
 
Join Date: Jul 2008
Beans: 15
Ubuntu 7.10 Gutsy Gibbon
Send a message via Yahoo to jeffegg2
Re: How To:MadWifi Support for AR2425 (AR5007EG) on 64bit Ubuntu !!!

Trying this with "Studio Ubuntu 8.04.1 amd64.

I get the error:
cd: 1: cant' cd to /lib/modules/2.6.24-19-rt/build is missing, please set KERNELPATH. Stop.

Help!
jeffegg2 is offline   Reply With Quote

Bookmarks

Tags
acer, asus f3ka, asus x50n, atheros, compaq f754nr, f3-ka, madwifi, wifi, x86_64

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:15 PM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry