Etherplex

Rick Dillon's home on the net…

After 10 Years, Trying Fedora Again; Wireless Fails and Fixes

with 12 comments

I started using Linux back in 1997 when a buddy and I put Slackware, floppy by floppy, onto a Pentium 133.  I didn’t start using it full time until a couple years later, when Microsoft started requiring online registration with product keys.  Since then, I’ve used Red Hat, Gentoo, Debian, Arch and Ubuntu.  I abandoned Red Hat because of “dependency hell”, which the other distributions avoided entirely.  So, it’s been about 10 years, and as I’ve tracked Red Hat’s dismissal, and subsequent rewarming to, the desktop market, I have noticed that Red Hat, Fedora Core, and finally Fedora have learned from Ubuntu and made a better experience for the casual user.

So I installed the just-released Constantine to see how it measured up to my beloved Debian-derivatives I’ve been using the past few years.  I installed it on a netbook that I love: the Asus EEE 1002HA.  The verdict?  Yeah, it just works.  It has a smooth boot up, detected screen resolution well, has good sound support, allowed me to customize tap-to-click and scrolling on the touchpad, and allowed me to set up dvorak and rebind caps-lock to control simply and easily.  What didn’t work so well?  The Atheros AR928x chipset, which is why I’m posting this.

Short version: the Atheros AR928x is supported by the open-source code contributed by Atheros to MadWifi under the driver name “ath9k”, which is the kernel module Fedora 12 loads to support this hardware.  Unfortunately, the version included is a bit behind the times, and causes odd intermittent connectivity issues when associating with access points, which effectively makes the wireless on the machine next to useless.  The good news is that it is easy to fix.  Here we go:

  1. Update.  Get root on the command line and type ‘yum update‘.
  2. Install your development tools so you can compile things.  As root: ‘yum groupinstall “Development Tools” “Legacy Software Development”‘.
  3. Head over to the download site for compat-wireless and download the latest version of the ath9k driver.  Uncompress it.  Navigate to the directory it is in on the command line.
  4. Select the ath9k driver: ‘./scripts/driver-select ath9k
  5. Build: ‘make
  6. Install: ‘make install
  7. Unload your current ath9k driver: ‘make unload
  8. Load the new driver: ‘modprobe ath9k‘ (or simply reboot)

There were lots of discussions across the web about various hacks and methods to get ath9k to play nicely with the AR928x chipset, but this seemed to be the most straightforward approach to me, and it seemed to work really well, so I thought I’d post it here in hopes it would be useful to someone.  Happy hacking!

Written by Rick

November 21st, 2009 at 1:04 pm

12 Responses to 'After 10 Years, Trying Fedora Again; Wireless Fails and Fixes'

Subscribe to comments with RSS or TrackBack to 'After 10 Years, Trying Fedora Again; Wireless Fails and Fixes'.

  1. thanks so much for this! my wireless connection would drop out randomly and then would not allow me to reconnect to the network. this tutorial was extremely helpful and got me up and running quickly ;-)

    Anonymous

    24 Nov 09 at 08:50

  2. Thank you Rick. I was using Ubuntu 9.04. After upgrade to 9.10 the wireless that worked flawlessly now dropped off after a few minutes and prompted for an encryption key, which wouldn’t work. I thought at first it may be an Ubuntu issue which one or two bloggers were blaming for some bugs. I decided to try Fedora 12 and had the same issue. Your solution worked perfect. Actually twice the reception as before. I made the mistake of updating without looking at the package list and had to repeat the process because the upgrade broke it again. Back in action. I wonder if a lot of other distros are breaking the atheros wireless for the same issue.

    Carl Marcum

    3 Dec 09 at 16:17

  3. Thanks Rick. I’m using Fedora 12 and have had terrible signal strength, but this worked great.

    Tk

    8 Dec 09 at 05:42

  4. HI, it work great for me ! my signal strength has increase from 40 % to 81 % !

    thanks you save my life ;)

    Domenic

    Domenic

    9 Dec 09 at 14:26

  5. super !! you are a life saver !

    Thomas

    10 Dec 09 at 05:51

  6. This was incredibly helpful.

    S

    25 Dec 09 at 17:00

  7. man if this works il hug u!!! :D lol

    trustnoone

    5 Jan 10 at 23:36

  8. Seems to be working perfectly, YES!!! :D

    trustnoone

    6 Jan 10 at 00:04

  9. everything is fine ONLY WIRELESS LED Is not blinking :(

    nick

    15 Feb 10 at 03:35

  10. [...] LinkedIn [...]

  11. I’ve installed development tools and legacy software development
    I didn’t do yum update because it was to much to download.
    than i did ./scripts/driver-select ath9k

    that returned

    Processing new driver-select request…
    Backup exists: Makefile.bk
    Backup exists: Makefile.bk
    Backup exists: drivers/net/wireless/Makefile.bk
    Backup exists: drivers/net/wireless/ath/Makefile.bk
    Backup exists: net/wireless/Makefile.bk
    Backup exists: drivers/net/Makefile.bk
    Backup exists: drivers/ssb/Makefile.bk
    Backup exists: drivers/misc/eeprom/Makefile.bk

    and make returned
    make -C /lib/modules/2.6.31.5-127.fc12.x86_64/build M=/home/Max/Downloads/compat-wireless-2010-02-22 modules
    make: *** /lib/modules/2.6.31.5-127.fc12.x86_64/build: No such file or directory. Stop.
    make: *** [modules] Error 2

    there is some sort of build with ! at the beginning.
    please help
    max

    Max

    23 Feb 10 at 12:56

  12. [...] LinkedIn [...]

Leave a Reply