Atheros wifi fix (AR2413 - AR5005G & maybe others) (SOLVED)

Write tutorials and howtos in here
There are more tutorials here http://community.linuxmint.com/tutorial/welcome
Forum rules
Do not start a support topic here please. Before you post please read this

Atheros wifi fix (AR2413 - AR5005G & maybe others) (SOLVED)

Postby Subito Piano on Sat Dec 10, 2011 11:23 am

This took DAYS....so i thought i'd leave this for the next chap (or lady) going down this road...my setup is listed but hopefully it will work for other hardware and versions of Mint/Ubuntu/Who Knows What....

Installing Mint 9 (Ubuntu 10.04 LTS) on a friend's Acer Aspire 3640 with the dreaded Atheros wifi (AR2413 802.11bg in this case), the native ath5k driver worked -- only a little. I could use it at home; i could use it at work for exactly ONE day including several restarts, then it would show a connection but i couldn't load any web pages. I installed madwifi according to the directions here (reprinted below), installed WiCD, and finally searched Synaptic for "Atheros" and downloaded everything i didn't already have -- in my case, two packages: hostapd (which i think was the one i needed) and collectd-core. You might need to download more packages that are found by searching for "Atheros," idk...

After doing all this -- finally reached success, i can connect at work, at another network that failed before, and also at a local hotspot -- this includes open, WEP-encrypted, and WPA 1/2-encrypted networks.

Hope this helps somebody else!
------------------------------------------
Here are drpjkurian's instructions from the above link, in case it disappears...(many thanks, drpjkurian!!)
Hi guys in this thread you will find the instructions to install Madwifi drivers for Atheros wireless cards. Please follow the instructions to the word.
Open the 'terminal' by navigating through Applications-->Accessories--> Terminal
Now type the following commands in terminal
1.
Code: Select all
sudo nano /etc/apt/sources.list

From there make sure you uncomment anything that starts with "deb" in there. So changer it from "#deb" to "deb" Something along thoes lines. To exit and save hit "CTRL+X" the answer "YES" to do you want to save, then finally hit "ENTER"
2.
Code: Select all
sudo apt-get update && sudo apt-get upgrade

3.
Code: Select all
sudo apt-get install build-essential libssl-dev

4.
Code: Select all
sudo apt-get install linux-headers-`uname -r`

5.
Code: Select all
sudo apt-get install subversion

6.
Code: Select all
sudo -i

7.
Code: Select all
sudo svn checkout http://svn.madwifi-project.org/madwifi/trunk/ madwifi-ng

8.
Code: Select all
cd madwifi-ng

9.
Code: Select all
echo "" >> /etc/modprobe.d/blacklist

10.
Code: Select all
echo "#Remove To Install MadWIFI Drivers" >> /etc/modprobe.d/blacklist

11.
Code: Select all
echo "blacklist ath9k" >> /etc/modprobe.d/blacklist

12.
Code: Select all
echo "blacklist ath5k" >> /etc/modprobe.d/blacklist

13.
Code: Select all
make && make install

14.
Code: Select all
echo ath_pci >> /etc/modules


Restart your machine. It should work

To install Wicd type the following commands in terminal [or you can use Synaptic]
Code:
Code: Select all
sudo apt-get update

Code:
Code: Select all
sudo apt-get install wicd

Kernal updates of your system will kill your driver. Well no need to worry about that.Just recompile your driver.
For that you open a terminal and type the command
Code:
Code: Select all
sudo -i

and just repeat the steps from No 8. Your madwifi will cone back to life again.

Best of Luck
Dr Kurian
Last edited by drpjkurian; December 6th, 2009 at 04:22 AM..

---------------------------
P.S. - don't forget to check for any other packages related to "Atheros!"
User avatar
Subito Piano
Level 1
Level 1
 
Posts: 30
Joined: Fri Jun 05, 2009 4:36 pm
Location: UPSTATE New York

Linux Mint is funded by ads and donations.
 

Re: Atheros wifi fix (AR2413 - AR5005G & maybe others) (SOLV

Postby AlbertP on Sat Dec 10, 2011 12:01 pm

This works for 2xxx and 5xxx cards but not for 9xxx.

Another fix for slow performance on 2xxx/5xxx, which might be easier:
Code: Select all
sudo sh -c 'echo "options ath5k nohwcrypt" > /etc/modprobe.d/ath5k.conf'

And for 9xxx cards:
Code: Select all
sudo sh -c 'echo "options ath9k nohwcrypt" > /etc/modprobe.d/ath9k.conf'
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
AlbertP
Level 16
Level 16
 
Posts: 6504
Joined: Sun Jan 30, 2011 12:38 pm
Location: The Netherlands

Re: Atheros wifi fix (AR2413 - AR5005G & maybe others) (SOLV

Postby TBABill on Sat Dec 10, 2011 8:39 pm

Proof positive for Albert's post. The nohwcrypt=1 was the fix for my AR9287 Atheros card. I went from about 900Kbps to 1.3Mbps range up to 10Mbps using that fix in a new laptop.
TBABill
Level 6
Level 6
 
Posts: 1368
Joined: Wed Dec 30, 2009 1:02 pm
Location: Leonardtown, MD

Re: Atheros wifi fix (AR2413 - AR5005G & maybe others) (SOLV

Postby Subito Piano on Sat Dec 10, 2011 8:52 pm

Very good. :-) The more solutions to try, the more people get a good working OS. Image
User avatar
Subito Piano
Level 1
Level 1
 
Posts: 30
Joined: Fri Jun 05, 2009 4:36 pm
Location: UPSTATE New York

Re: Atheros wifi fix (AR2413 - AR5005G & maybe others) (SOLV

Postby ChickenPie4Tea on Wed Jan 25, 2012 3:08 pm

I have Atheros AR5005G and it worked fine from first install (Mint 10)
ChickenPie4Tea
Level 3
Level 3
 
Posts: 109
Joined: Sun Jan 22, 2012 6:44 pm

Re: Atheros wifi fix (AR2413 - AR5005G & maybe others) (SOLV

Postby furious00 on Tue Apr 09, 2013 9:42 am

Thanks for all of this great info. It's much appreciated!
furious00
Level 1
Level 1
 
Posts: 1
Joined: Tue Apr 09, 2013 9:11 am

Re: Atheros wifi fix (AR2413 - AR5005G & maybe others) (SOLV

Postby Subito Piano on Tue Apr 09, 2013 4:28 pm

heh, heh -- something i found out AFTER all this nonsense was that there was a time lock on the wifi router between the hours of 8am - 5pm or so -- it broadcasts a signal, your computer says you are connected, but you can't surf the net or download anything -- right when i was trying to test it out!!! Image

So -- if the above info helped anyone, great! -- but idk if i really needed to go through all this... :roll:
User avatar
Subito Piano
Level 1
Level 1
 
Posts: 30
Joined: Fri Jun 05, 2009 4:36 pm
Location: UPSTATE New York

Linux Mint is funded by ads and donations.
 

Return to Tutorials / Howtos

Who is online

Users browsing this forum: No registered users and 19 guests