unsharpTech

Avatar

when the bleeding edge just doesn’t cut it

Atheros Wireless in Ubuntu 8.10 Intrepid Ibex

Did a fresh install + updates of Kubuntu 8.10 on a customer’s laptop and had no wireless even though it’s an Atheros chipset.

UPDATE:

I recently tried this method on a similar Acer laptop with Ubuntu 8.10 AMD64 with no results. After searching, I used another guide that makes compiling madwifi from source simple. If my method doesn’t work for you, remove the backports modules:

sudo apt-get remove linux-backports-modules-intrepid-generic

then reboot, and try out the below guide. Thank you Hyperandy.

Link: http://blog.hyperandy.com/2008/11/01/atheros-ar242x-ubuntu-810-ibex/

Hardware:

  • Laptop: Acer Aspire 4520
  • Wireless Card: Atheros AR242x Communications Inc. 802.11abg
lspci | grep "Atheros"
07:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)

Resolution:

sudo apt-get install linux-backports-modules-intrepid-generic

After above install completes, reboot, then open up the Hardware Drivers manager (jockey-gtk or jockey-kde) and disable “Support for Atheros 802.11 wireless LAN cards” and make sure that “Support for 5xxx series of Atheros 802.11 wireless LAN cards” is enabled then reboot. You may need to reboot to see both drivers in the Hardware Drivers manager.

This is at least a temporary fix, you’ll end up with the ath5k drivers- hopefully a stable universal method for Atheros card support will become available soon.

Source:
8.10 Release Notes | Ubuntu

40 Comments, Comment or Ping

  1. DroBuddy

    I tried this cmd and it says, “Couldn’t find package linux-backports-modules-intrepid-generic”.

    I’m going to try Synaptic right now, but yeah… Your solution seems to be out of date.

  2. sam

    @ DroBuddy:

    Are you sure you have all the Ubuntu repositories enabled in Software Sources and your package lists are up to date? I just ran that particular command as well and found the package “linux-backports-modules-intrepid-generic” no problem.

    If you still have trouble, the package is available through the Ubuntu Package Search online at: http://packages.ubuntu.com/intrepid/linux-backports-modules-intrepid-generic

  3. IndyGunFreak

    Drobuddy,
    How can it be out of date, it was just released and posted. You probably need to enable all the repositories in your source list.

    Worked fine for me..

  4. como instalo internet con wifi en mi mlaptop inspirons 6400 dell.-

  5. esto con ubuntu 8.10

  6. Serafeim

    I have done all these but still my wireless doesn’t work.
    My laptop is Fujitsu-Siemens Amilo PA2510

  7. worked great for me on my Acer Aspire 3680

  8. James

    My output for:
    lspci | grep “Atheros”

    is exactly the same as you posted above. Yet your fix doesn’t work for me!

    I find wifi in linux a REAL TRIAL!

  9. sam

    Are you sure that the default drivers are disabled in the Hardware Drivers manager? The stock modules may still be loading and interfering.

    Try running: lsmod | grep "ath"
    You should only find modules related to ath5k, not ath_pci or otherwise.

    You may need to blacklist the default modules.

  10. Tim

    This work great! Thank you!

    Upgraded my wife’s laptop from 8.04 to 8.10 and the wireless card stopped working. After I disabled the madwifi drivers per the Ubuntu site getting connected was not consistent. After this quick update connects everytime and stronger than before!

    Thanks again!
    Tim

  11. husunzi

    I’m getting:

    E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
    E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

    I’ve got an Atheros AR5007EG on a Toshiba Satellite L315 using Ubuntu 8.10.

    Thanks!

  12. chipHAZARD

    This works.. but the first command should be change..
    if you run this command it will ask for a dependency. the first line should be to install the dependency followed by the module.

    I tried it this way.. concept is p
    retty much the same.

    1. copied the following files from the ibex live CD to my desktop.
    linux-backports-modules-2.6.27-7-generic_2.6.27-7.4_i386.deb
    linux-backports-modules-intrepid-generic_2.6.27.7.11_i386.deb

    2. installed the first file using dpkg from the console
    3. installed the 2nd file using the same process..
    4. restart
    5. disabled the default atheros driver..
    6. Problem solved….

  13. sam

    @ husunzi:

    It looks like when you can the apt-get command you had another package manager running - it might have been the update manager, synaptic, add/remove applications etc. but you can only run one package manager at a time.

    @ chipHAZARD:

    Are you sure you had all the Ubuntu repositories enabled before running the apt-get command? All dependencies should have been easily satisfied from the repos.

  14. JayS

    Hey thanks a million! I followed your instructions and they worked perfectly. I have a Toshiba Satellite A215-4747 that came loaded with Vista. I was able to find XP drivers from scouring all over the web but the common controls I never quite could figure out. I went back and tried all of the Linux distros like I do once a year hoping that I can make the switch. Everything is working on this laptop with 8.10, even the Fn key combos! I’m, a happy camper…

  15. anarkae

    Worked great on my Acer Aspire 5610z.

  16. Husunzi

    I think Sam was right - I can remember whether I was running another package manager at the time, and meanwhile I reinstalled the whole system for another reason, and now I tried the instructions at the top of this page again & it worked - thank you so much!

  17. For those, who had the “Couldn’t find package linux-backports-modules-intrepid-generic” error, check, if you have Ubuntu 8.10

  18. bw

    thank you. this solved what has been a very frustrating for a newbie like myself. hard knowing just enough to wreck what was working before…

  19. anash

    i too got the error, “Couldn’t find package linux-backports-modules-intrepid-generic” .mine is Ubuntu8.10 and my laptop is CompaqCQ60.What should i do?

  20. Try using general repositories and refreshing in synaptic package manager!
    Are you shure that’s the same wireless model?
    lspci | grep “Atheros”
    07:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)
    I have Toshiba P200-1I4 and everything worked just perfect! On 8.04 I had to try a lot more to make it work!

  21. anash

    it worked for me.thanks a lot..

  22. Genisis

    Seemed to work for me on my Acer 5315. Was a little confusing though cause the WiFi light dosnt blink like it does when I boot into Windows.
    Thanks!

  23. Marko

    I managed to install the backports with apt-get, rebooted, disabled support for Atheros LAN drivers, and rebooted again… The only problem is that I don’t have the option of enabling support for the 5xxx series of Atheros drivers…?

    I am running a clean Ubuntu 8.10 install on a Compaq Presario c700 laptop. Had wi-fi running (more or less) under 8.04 using ndiswrapper, but I thought perhaps this method might be better…

    Question (maybe a stupid one): How do I know if this successfully enabled my wi-fi? I am currently in an area with no wi-fi for miles, but will need it tomorrow, at which point it will be too late to tinker if something doesn’t work…

    Here’s my lspci readout (which does not seem to have changed after the procedure):

    01:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)
    Subsystem: Hewlett-Packard Company Device 137b
    Flags: bus master, fast devsel, latency 0, IRQ 11
    Memory at 91300000 (64-bit, non-prefetchable) [size=64K]
    Capabilities:
    Kernel modules: ath_pci

    Thanx in advance!

  24. josunik

    Yaaaabadabadooo! I have Ubuntu. But I feel like in the flintstones.

    I solved the problem of not having acces to Internet, with an RJ-45 for now, but that gives me a 1m mobility with my laptop. I am really thinking of upgrading my RJ-45 to have 3m mobility.

    I will try this solution as soon as I get home from work.

    So far my computer looks at me with a very recentful face when I try to trick her.

  25. Atif Haider

    Thanks, It worked at my machine (Compaq Presario C700)

  26. thanks, my acer 5052 now can detect atheros. but still, i cannot connect into my SMC wireless router. how come? is this about signal problem?
    here is my iwconfig

    bambang@intrepid:~$ iwconfig
    lo no wireless extensions.

    eth0 no wireless extensions.

    pan0 no wireless extensions.

    wmaster0 no wireless extensions.

    wlan0 IEEE 802.11bg ESSID:”"
    Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
    Tx-Power=27 dBm
    Retry min limit:7 RTS thr:off Fragment thr=2352 B
    Power Management:off
    Link Quality:0 Signal level:0 Noise level:0
    Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
    Tx excessive retries:0 Invalid misc:0 Missed beacon:0

    does anybody know about it?
    thanks for the help.

  27. finally i can taste my atheros works, last time i tried to reload ath5k module, using sudo modprobe ath5k, then voila! Its totally works! :)

    Thankyou very much!

  28. Thank you soooooooo much! I resolved the issues with my wireless card, and of course I updated my system to the newest version of Kubuntu. And there it went again, my wireless. (Pull my hair out). I love Ubuntu and just bought a new laptop, that was pre installed with the dinosaur Vista.

    Like, i said as soon as I installed, got my wireless to working, and updated he system, my wireless was not functioning. It would not even recognize the network.

    I found your posts, and followed the instructions to a “T”. Still no luck. Until…. BAMBANGP suggested sudo modprobe ath5k. Why did I not think of this before?

    Are you Ubuntu Gods? If not, you are at least a blessing.

    If you do not mind, I am going to post in the Ubuntu forums, and point everyone to this site, for their Atheros needs.

    Thanx again.

  29. One other question:

    What can I do to make the ath5k mod load correctly everytime? Instead of having to run sudo modprobe ath5k at every startup?

    Thanx in advance.

  30. sam

    @ EDLJTech-Know:
    I would say just add “ath5k” to /etc/modules and reboot but I’ve read that ath5k may require another module: “mac80211″ (source) and I don’t have the hardware available at the moment to research this.
    The guide above expects you to just use the Drivers Manager (jockey-gtk or jockey-kde) in Ubuntu to manage module activation.

  31. hi edljtech-know, you can use: sudo nano /etc/modules, then add at the latest row: ath5k.
    save, then reboot your laptop.

    hope this help.
    thx

  32. Josh

    Ever since I installed Ubuntu 8.10 on my laptop (Thinkpad T41) I’ve had massive wireless issues. The two main problems were (1) the wireless connection would constantly drop and (2) network speed drastically reduced when my laptop was not physically close to my wireless router. My wireless worked great with previous versions of Ubuntu so I figured it must be a driver issue.

    Since I’ve switched wireless drivers as outlined above, I’ve seen a dramatic improvement in performance and have not had a dropped connection since I installed it last night. Thanks!

  33. This wireless driver worked for my Toshiba Satellite L305D-S5881. I hope this comment helps others in my situation. Be sure to go to System > Administration > Windows Wireless Drivers and uninstall any driver profiles there, if you have any.

  34. Paulo

    Hey, thank you for this helpful hint! I followed your description but afterwards I had to insert ath5k into the /etc/modules and reboot. Then it worked. Thank you

  35. toby

    thanks so much. i’ve been banging my head against a wall trying to get the wireless working. it’s sorted now.

  36. Mansfield

    Worked great for me, running Ubuntu 8.10 on Toshiba Satellite L305D-S5892. Anyone attempting this, be sure to go into System>Administration>Software Sources, and under the “Updates” tab, enable “Unsupported updates (intrepid-backports)”. I have “Pre-released updates (intrepid-proposed)” enabled as well, but that’s me.

    From there, Applications>Accessories>Terminal, type “sudo apt-get install linux-backports-modules-intrepid-generic” without the quotes, press enter. If you don’t have an internet connection, it will prompt you to insert the installation CD; do so, once Ubuntu sees it, press enter again.

    After installation, reboot, then go to System>Administration>Hardware Drivers. Ensure that “Support for Atheros 802.11 wireless LAN cards” is disabled, and “Support for 5xxx series of Atheros 802.11 wireless LAN cards” is enabled. Reboot again, wireless networks should be recognized upon startup.

  37. dlb33

    Worked perfectly. I had been tying to resolve this problem for over a month… kudos.

  38. binary_dreamer

    Hi. i got the installation of ubuntu 8.10 in my box with kernel 2.6.27-9 and i can see the
    1.
    lspci | grep “Atheros”
    2.
    07:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)
    the thing is that it does not appear in ifconfig, iwconfig or in the network manager. any ideas?

  39. Hey this is perfect

Reply to “Atheros Wireless in Ubuntu 8.10 Intrepid Ibex”