This tutorial should help you configure your atheros card in ubuntu . Atheors,broadcom and realtek are the few most popular wifi cards mostly found in laptops . So they do have wide support . Especially in ubuntu , it has now been added under linux-backports-modules-intrepid . For atheros it is called ath5k.So here's how you install it :

Before you proceed , its always better to ensure that you have a Atheros Card :
Step 1 : Go to the Terminal(Applications->Accessories->Terminal) and type lshw -C network
Step 2 : Carefully observe the output , you should see Atheros somewhere there . If you do then proceed with this tutorial , else you probably dont have an atheros card.

Installation :

Step 1 : Go to the Terminal(Applications->Accessories->Terminal) and type sudo apt-get install linux-backports-modules-intrepid
Step 2 : Now , go to System->Administration->Hardware Drivers
Step 3 : Now you should see the atheros driver listed there
Step 4 : Select the driver and click on ENABLE or ACTIVATE

If this didnt work , then you probably may have to blacklist ath5k which may already exist incase you performed an upgrade from an older ubuntu version . In that case follow this :

Step 1 : Go to the Terminal(Applications->Accessories->Terminal) and type gksudo gedit /etc/modprobe.d/blacklist
Step 2 : Now add the following 2 lines to it

blacklist ath_hal
blacklist ath_pci


Step 3 : Save the file and close the terminal
Step 4 : Reboot your PC and you should hopefully have your atheros card working fine in ubuntu

20 comments

Anonymous said... @ January 28, 2009 at 9:51 AM

Awesome! It was just a matter of blacklisting the modules. Thanks for this!

Anonymous said... @ March 24, 2009 at 10:21 AM

Excellent, works great. I just wish there was a way to delete all the other posts of how to get the wireless to work..... I must have gone through at least 20 help pages....

Anonymous said... @ March 25, 2009 at 5:06 AM

Glad it helped :)

Drew J. said... @ April 17, 2009 at 1:23 AM

After all the help pages and lines of code I've been staring at...who would have thought it was so simple! Thank you, Thank you, Thank you!!!

JB said... @ May 20, 2009 at 9:30 AM

I have tried all of this to no avail. The only driver it lists in Hardware Drivers is the madwifi driver and when I activate it it give me an error saying the device was just disabled but is still in use. Any suggestions?

Prash Babu said... @ May 20, 2009 at 7:04 PM

did you blacklist the ath5k drivers?? post an output of lshw -C network from the terminal .

Unknown said... @ May 30, 2009 at 7:24 PM

I've done this: sudo apt-get install linux-backports-modules-intrepid

and I get this:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package linux-backports-modules-intrepid

Prash Babu said... @ May 30, 2009 at 9:14 PM

if you are using jaunty then replace intrepid with jaunty

Unknown said... @ May 31, 2009 at 8:24 AM

Ohhhhhhh. DUH. That makes sense. Thanks, I'll try it and will let you know if it works.

Unknown said... @ May 31, 2009 at 8:27 AM

IT WORKED! Thanks so much!

Prash Babu said... @ June 1, 2009 at 1:15 AM

glad you got it working!!

Dave said... @ June 7, 2009 at 1:02 PM

Brilliant! Thank you for the info; working like a charm.

Anonymous said... @ June 14, 2009 at 4:15 AM

none of these fixes worked for me. Im haveing the same issue. any ideas?

Prash Babu said... @ June 14, 2009 at 6:01 AM

what error are you facing?

Batt said... @ June 22, 2009 at 1:48 PM

also it doesn't work for me either. bluetooth is working but wireless doesn't. There is no error. When the wireless switch is on only bluetooth is working. Or is there any other way to find wireless tools

Unknown said... @ July 8, 2009 at 8:43 PM

"I have tried all of this to no avail. The only driver it lists in Hardware Drivers is the madwifi driver and when I activate it it give me an error saying the device was just disabled but is still in use. Any suggestions?"
Hey...having the same problems as this fellow, I made sure that the two drivers were both blacklisted...here is the lshw -C network output:
*-network UNCLAIMED
description: Ethernet controller
product: AR242x 802.11abg Wireless PCI Express Adapter
vendor: Atheros Communications Inc.
physical id: 0
bus info: pci@0000:01:00.0
version: 01
width: 64 bits
clock: 33MHz
capabilities: bus_master cap_list
configuration: latency=0
*-network
description: Ethernet interface
product: RTL-8139/8139C/8139C+
vendor: Realtek Semiconductor Co., Ltd.
physical id: 1
bus info: pci@0000:02:01.0
logical name: eth0
version: 10
serial: 00:1e:ec:22:ac:af
width: 32 bits
clock: 33MHz
capabilities: bus_master cap_list ethernet physical
configuration: broadcast=yes driver=8139too driverversion=0.9.28 ip=192.168.0.101 latency=64 maxlatency=64 mingnt=32 module=8139too multicast=yes
*-network DISABLED
description: Ethernet interface
physical id: 1
logical name: pan0
serial: 96:38:bc:bb:32:36
capabilities: ethernet physical
configuration: broadcast=yes driver=bridge driverversion=2.3 firmware=N/A multicast=yes

any advice you could offer would be much appreciate...thanks

Prash Babu said... @ July 8, 2009 at 9:59 PM

The madwifi drivers shoudl have wroked.. do you have an active wired internet connection? It may be required for downloading additional packages.. did you also restart your machine after that?
if you still have problems check out these links

http://ubuntuforums.org/showthread.php?t=902860
http://ubuntuforums.org/showthread.php?t=766169

fela said... @ September 28, 2009 at 5:12 AM

hey thanks its working.....your not fake lolz

Bullfrog said... @ April 19, 2010 at 4:41 PM

Thank you very much for this.

This completely solved my wireless problems on CrunchBang 9.04.01 (Ubuntu 9.04 Jaunty core) while using an Atheros 5212 Mini-PCI card in a Thinkpad X31.

After a reboot the wireless adapter connected almost instantly, which put a grin on my face which is still there.

Many thanks.

Prash Babu said... @ April 23, 2010 at 8:58 PM

Glad it helped!

Post a Comment