How to fix Atheros AR9285 / AR9287 wireless problems in Ubuntu Natty Narwhal?

I recently installed Kubuntu Natty Narwhal 64 bit on one of my laptops. The recent changes to Ubuntu (Unity) and Gnome 3 prompted me to go back to KDE. I have to say that except some minor quirks this Kubuntu release is very snappy. I think that the direction of Ubuntu and Gnome will benefit Kubuntu. Anyway, let me describe the problem.

I noticed that my wireless card was not working. Wireless problems included, frequent loss or drop in connectivity and even when connected the speed was extremely slow. A speedtest.net check showed a 90% lower speed on my kubuntu. I know that network manager was not the problem (it was in many previous releases) as the problem persisted in wicd network manager as well. So I got down to researching it a bit.

Ubuntu Wireless Card Problems

In one of previous posts I described how to get Atheros AR9287 wireless card to work in Ubuntu. This fix may work for Meerkat Maverick. However, it does not work on Natty Narwhal. Described below is a workaround to fix this problem in Ubuntu/Kubuntu Natty Narwhal.

Create a new file /etc/modprobe.d/ath9k.conf:

sudo nano /etc/modprobe.d/ath9k.conf

Add the following line to it:

options ath9k nohwcrypt=1

Save and reboot. Your ubuntu wireless problems should be gone and your wifi should perform significantly better now. Alternatively you can switch one of the cards listed below, that have been tested to work well with Ubuntu.

Best Linux/Ubuntu Compatible USB Wifi Cards:
  1. BrosTrend Linux 1200 Mbps USB WiFi Adapter - Ubuntu, Raspbian, Debian, Kali
  2. Panda 300Mbps Wireless N USB Adapter
  3. TP-Link TL-WN722N High Gain WLAN USB Adapter
  4. BrosTrend 1200Mbps Long Range USB WiFi Adapter
  5. Cudy WU1300 AC 1300Mbps WiFi USB Adapter

Thanks to this blog post for the fix. However, nobody seems to know why this works. Furthermore, I do not know whether there are any side effects to this fix. But I hope this works for you as it did for me. Enjoy!


Update: If this solution posted on this page does not work for you in Ubuntu 12.04 LTS Precise Pangolin, please check this post.

Be the 1 in 200,000. Help us sustain what we do.
37 / 150 by Dec 31, 2024
Join Us (starting from just $1.67/month)

Anand

Anand is a self-learned computer enthusiast, hopeless tinkerer (if it ain't broke, fix it), a part-time blogger, and a Scientist during the day. He has been blogging since 2010 on Linux, Ubuntu, Home/Media/File Servers, Smart Home Automation, and related HOW-TOs.