Ubuntu Geek

Ubuntu Linux Tips,Howtos&Tutorials|Edgy,Feisty,Gutsy,Hardy,Intrepid

  • RSS Feed

    subscribe to the ubuntu Geek RSS feed


  • Sponsor



  • Categories

  • Meta

  • Sponsor

  • Archives

  • Support Ubuntugeek

    Amount $:
    Website(Optional):


  • Favourite Sites

Atheros 5007EG with madwifi on i386 platform

Posted by xodeus on January 17th, 2008 Email This Post Email This Post

For those, who have an Atheros 5007EG chipset and can’t get it working with ndiswrapper, I have this guide from polish ubuntuforum. This is the only solution that worked on my computer (Toshiba SAT-A210-128), and my brothers computer.

This guide only works on i386 platforms, so if you’re running an x64 linux, then you’ve to try again with ndiswrapper or wait for a new solution from atheros and madwifi.

1. Open you terminal

2. Get this version of madwifi:

wget -c http://snapshots.madwifi.org/special/madwifi-ng-r2756+ar5007.tar.gz

3. Untar the downloaded package:

tar xvf madwifi-ng-r2756+ar5007.tar.gz

4. Get inside the unpacked directory:

cd madwifi-ng-r2756+ar5007

5. If you haven’t compiled anything from source before on your linux then you propably need the build essential package:

sudo apt-get update && sudo aptitude install build-essential

6. Now you can build your madwifi and install the modules:
make

sudo make install
sudo modprobe ath_pci
sudo modprobe wlan_scan_sta

The last 2 commands can cause some complications on some systems. If they do check your System >> Administration >> Restricted Drivers Manager and disable atheros here. Then try again.

7. Now restart your computer and you should be able to see any aviable networks in your Network Manager.

Share/Save/Bookmark

If you want to be notified the next time we write something please subscribe to our RSS feed.Thanks for Visiting!

Related Articles

59 Responses to “Atheros 5007EG with madwifi on i386 platform”

  1. Chuqui Says:

    By the way, my wireless card is Atheros AR5006X, in an Acer Aspire 4720 notebook, but I believe it should work as well.

  2. Gonzalo Says:

    You are my hero!!!

  3. Chuqui Says:

    Hi, my first response to this post somehow disappeared. I was saying that I followed the tut step by step, as described, but it didn’t work.

    After step 5, it asked me to put the Ubuntu CD, which I did. Then it returned an error after step 6, in “sudo modprobe wlan_scan_sta”.

    It isn’t working and I would really appreciate further help. I have Wicd installed and it does not detect any wireless net. My card is Atheros AR5006X, but I think it should work with this tutorial as well.

    Please help. Thanks in advance.

  4. Charly Says:

    hi, your post is very good. But I have problems with the last command:

    $ sudo modprobe wlan_scan_sta

    FATAL: Error inserting wlan_scan_sta (lib/modules/2.6.22-14generic/net/wlan_scan_sta.ko) : Unknow symbol in module, or unknow parameter (see dmesg)

    I hope you can help me.

  5. Yann Says:

    Thanks, you are my hero !!!

  6. xodeus Says:

    #3. No this tutorial is for 5007EG only.
    #4. this should not be a problem. Go ahead and restart and check your Network Manager in your Tray next to the clock.
    #5. I’m nobodys hero, but you’re welcome… :D

  7. Saudi Marzoq :) Says:

    Thank u so much my brother :)

    it’s like a magic !!

    i know ur nobodys hero BUT UR MY HERO :)

    Thanx again

    Marzoq , Saudi Arabia

  8. ANDRES Says:

    Thanks Thanks Thanks
    You are the best !!!!

    simple and direct to the head, I was stumbling around for solutions with ndiswrapper, but this is brilliant.
    Thanks again

    I’m gonna drink a beer in your name

  9. tja Says:

    OMG! its really work for me now! i love u, man!
    u’re my GOD~

  10. tja Says:

    my laptop : lenovo r61, build-in atheros ar5006ex.

  11. Pablo G. Says:

    Dear Xodeous :

    Thank You Very much !!!!!!, I installed ubuntu in a Compaq F755LA, and the only thing that is not working beside the webcam is the wifi, I followed your guide step by step, and the wifi is working now.

    One question :

    When I reboot the computer, the wireless doesn’t work until i run the two commands modprobe, How can I do to make these two commands run automatically every time the machine is booted ?

  12. McBooCZech Says:

    You can add modprobe commands in to the
    /etc/modules
    This way modules will be loaded automatically after boot.

    HTH.

    Petr

  13. Scotty Says:

    i have been trying to get this thing to work for freaking ever, i am VERY new to this, im sick of vista so i heard this was the real deal but im starting to disagree…i have a acer 5570z POS computer i instaled the opensuse 10.3

  14. Stevo Says:

    Hi! I have wrestled with this chipset on my laptop before and used the same solution. For those reporting a 5006X, the 5007EG was often misreported as this by Linux. If you have a wired connection, you can update your PCI ID’s (what lspci uses) with the root terminal command:

    update-pciids (put sudo in front for you sudo users)

    for USB devices:

    update-usbids

    After updating, it gets reported as

    03:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)

    In the US at least, laptops with this chip have an FCC sticker on the bottom reporting an AR5BXB63, which is the FCC ID# for the chip.

    By the way, the patched madwifi driver contains a binary blob from Atheros, which is why it won’t work for 64 bit. The FCC won’t let them open-source it, since they are afraid someone will boost the radio signal beyond legal limits….

  15. Stevo Says:

    Oops–should have been update-usbids.

    Moderator, could you fix that?

  16. Stevo Says:

    >>>>One question :

    When I reboot the computer, the wireless doesn’t work until i run the two commands modprobe, How can I do to make these two commands run automatically every time the machine is booted ?——

    I run a different Debian based distro, so the solution should be the same. You should have a text file: /etc/modules Add the module names to this text file to force loading at boot.

  17. huuthanh Says:

    It’s work for me too. Thanks.
    My laptop: Acer Aspire 4315.

  18. Swapnil Borgaonkar Says:

    Thanks a lot :)

    I was all means to get wireless up on my ACER 4520G
    ndiswrapper was working with Suse 10.3. But was not able to work with Kubuntu 8.04.
    all my previous atempts of installing madwifi would detect ath_pci but would never get ath0.

    Now m really happy that my wifi is working great.

  19. Ravi Sagar Says:

    I have Atheros AR5006X Wireless Network Adapter (Compaq Presario C772TU)and Fedora 8.

    I am unable to get my wifi working with ndiswrapper and madwifi.

    Will this method work for my case??

  20. Ondrej Tomec Says:

    Works on Ubuntu 8.04 too. (Acer 5601ZWLMi)

    Thank you!

  21. David Says:

    It wont work under opensuse 10.3 (64b) … and neither ndiswrapper does…

    what can i do?

  22. mawdwmaw Says:

    It worked on my Sony Vaio N365E. You’re the best!!

  23. Shapord Says:

    Thanks!

    Works on Kubuntu 8.04 (Acer 5610Z), and new driver in the web madwifi:

    http://snapshots.madwifi.org/special/madwifi-nr-r3366+ar5007.tar.gz

    Ciao desde Lima-Peru

  24. daniel Says:

    I put the modprobe “sudo modprobe ath_pci and sudo modprobe wlan_scan_sta” commands in the /etc/modules but I still have to run the two commands every time I start the computer. I am running Ubuntu 8.04. Everything else works like a champ though. Any ideas?

    Thanks.

  25. Miguel Says:

    Worked fine in a COMPAQ Presario F755LA running Ubuntu 8.04. Not even need to include modules in /etc/modules. Daniel, if it doesnt work for you, just put “ath_pci” and perhaps “wlan_scan_sta” in /etc/modules and not all that sudo modprobe…

  26. daniel Says:

    Marvelous! I love the the open source software community and their willingness to help each other out. I have been running 7.10 exclusively on my laptop for a few months and just had to try the new ubuntu 8. This was the only thing holding me up.

    THANK YOU. Working beautiful now!

  27. perro Says:

    works perfectly with an atheros AR5007 chipset (compaq presario C700)
    thanks a lot for the help ;)

  28. To Perro Says:

    Hey Perro,

    I am just being curious… your laptop is 32 bits right? (I have the 64 bits verion of the same laptop (Compaq Presario C700) with the same chipset AR5007 and want to give this method a try, althoug I am almost sure it won’t work).

  29. BaPu Says:

    I also read these instructions elsewhere on the ubuntu forums and got it to work on a HP DV6704nr laptop. I did not run these two commands that are on this page:

    Step 5: “sudo apt-get update ” part
    Step 6: “sudo modprobe wlan_scan_sta”

    I can connect to my wireless network but the problem is that now the laptop cannot suspend/hibernate anymore. When trying to suspend, the black X screen appears and after a few lines of output does nothing and then laptop shuts down instead of suspending.

    How can I fix it now to re-enable suspend/hibernate ?

  30. oldnorm Says:

    Read the whole post carefully but feel it will not solve my problem since I have an Asus F5R laptop with an Atheros AR242x PCI adapter.
    With dual boot installed wireless works fine in Windows but cannot find a way of getting it going in Hardy?

  31. hernandez Says:

    I’ve been looking everywhere for a solution to my wireless problems and finally!!!
    Thanks a bunch! it works for my :acer aspire 5315-2813 Atheros AR242x,Hardy

  32. Chris Says:

    I am trying this fix on my Acer Aspire 4315 after upgrading to 8.04. At step 6 sudo make install it gices me this error:
    cd: 1: can’t cd to /lib/modules/2.6.22-14-generic/build
    Makefile.inc:66: *** /lib/modules/2.6.22-14-generic/build is missing, please set KERNELPATH. Stop.

    Any ideas how to fix this?
    Chris

  33. Chris Says:

    I have fixed my problem by reinstalling Ubuntu 8.04 (and not just upgrading) and then following your instructions.

  34. Paco Says:

    Worked perfectly on a Acer 3680, you just have to type step 4 and step 5 after reboot. Thanks a lot, this made it real easy.

  35. perro Says:

    @ to perro:
    sorry i didn’t reply before. I came back to see this webpage because the card stop working after i did a usual upgrade with the update manager. I repeated the steps and the card came back to life again :)
    and yes, it is a 32 bit machine. Did you try this method with your laptop? Did it work?
    cheers

  36. Fran Says:

    work perfectly in a ACER5514WLMi, SLAX linux distribution, with an Atheros AR242x PCI adapter

    Thanks a lot for your help!!!
    Regards everybody!!!

  37. badcompany Says:

    works at HP dv6736nr

    Thanks Xodeus!

  38. martin Says:

    Hello,

    works for me partially.

    Was quite happy to see the network manager, but it does not seem to support the wpa2-encryption…

    Or is there another reason, why I cannot connect to my network but to the free one in the neighborhood?

    Greets
    Martin

  39. Bayu Says:

    not works on my Acer Aspire 4315 with ubuntu 8.04. any idea ?

  40. Kono Says:

    Madwifi run flawless.
    But got new problem, after install Madwifi, Suspend and Hibernate can’t work well. Same problem like Bapu’s, after click Suspend or Hibernate, black X screen appears and after a few lines of output does nothing and then laptop shuts down.
    How to make Suspend and Hibernate normal again?

  41. Kono Says:

    Ups forgot. My laptop is Acer Aspire 5052 + Ati X1100 + Atheros ar5007eg + ubuntu 8.04.

  42. Matt Says:

    Thank you very much. I thought I was never going to get the wireless sorted on my laptop and was ready to give up on it.

    But you made sure that didn’t happen. Now if I can get my webcam and mic to work then I will be a happy man.

    Thanks again

  43. Zer0 Says:

    Thank you so much dude….finally got it to work.

  44. Euxe Says:

    It not work in my laptop. It’s Asus X51RL. When I put “sudo modprobe ath_pci” this is the dmesg output:

    [ 121.240391] ath_hal: 0.9.30.13 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, RF2413, RF5413, RF2133)
    [ 121.382879] wlan: trunk
    [ 121.434809] ath_pci: trunk
    [ 121.434888] ACPI: PCI Interrupt 0000:02:00.0[A] -> GSI 16 (level, low) -> IRQ 16
    [ 121.434900] PCI: Setting latency timer of device 0000:02:00.0 to 64
    [ 121.459306] MadWifi: unable to attach hardware: ‘Hardware revision not supported’ (HAL status 13)
    [ 121.459320] ACPI: PCI interrupt for device 0000:02:00.0 disabled

    Can help me?

  45. nathan Says:

    Thanks Xodeus, your detailed instructions above work exactly as described for my Compaq Presario F700 (F763NR) laptop, however, upon reboot I have to rerun those 3 steps again (make+modprobe2x). Petr says to add to /etc/modules, however the wlan_scan_sta does not load.

    Please advise - Nathan
    ps…anybody have ideas on microphone for this laptop (works fine on windows) but not on ubuntu 8.04

    # McBooCZech Says April 2nd, 2008 at 9:12 pm

    You can add modprobe commands in to the
    /etc/modules
    This way modules will be loaded automatically after boot.
    Petr

  46. pipit Says:

    thanks so much, bro!!!

  47. jassymazzy Says:

    Acer Aspire 5520 Ununtu 8.04
    This drivers work great.
    After installation
    1.terminal
    2.sudo (root modus)
    3./etc
    4.gedit modules
    edit the modules file
    modprobe ath_pci
    modprobe wlan_scan_sta
    5. save
    6.exit

    works great

  48. nathan Says:

    what works for jazzymazzy didn’t/still doesn’t work for my machine.
    If I gedit modules and add the 2 lines as above and save, then reboot, it still comes up with no support for wireless. Everytime I reboot, I have to do the following:
    1. open terminal window
    2. change to the /home/nathan/madwifi-ng-r2756+ar5007# directory (is this the cause?)
    3. enter ’su’ command and password
    4. run ‘make install’
    5. run ’sudo modprobe ath_pci’
    6. run ’sudo modprobe wlan_scan_sta’
    …then wireless works!
    How can I have this automatically after turning on? Please advise - Nathan.

  49. Juuso Says:

    When i try the last two commands (sudo modprobe ath_pci, sudo modprobe wlan_scan_sta), i get this error msg:

    WARNING: /etc/modprobe.d/blacklist line 40: ignoring bad line starting with ‘wget’

    Have i done something irreverseable? If not, how can this problem be solved?

    My laptop is Asus F5N.

    Thanks in advance! :)

  50. Paulo Says:

    Eu tenho um notebook satellite Toshiba a215-s4747 com a placa atheros ar5007eg e nao consigo instala-la por favor me mande o driver para o ubuntu 8.04 no meu e-mail (paulinhoquadra@hotmail.com).

    POR FAVOR

    muito obrigado Paulo.

  51. amatos Says:

    Eu tenho ASPIRE 5520 e fiz todo o processo, mas n funcionou ….
    devo recordar que minha maquina é 64bit e será que é por isso , conforme li noutro forum?!?!?!?
    preciso muito resolver esse mico, pois quero deixar windows para tras

  52. Slack Says:

    I was using madwifi drivers with Kubuntu 7.10. Everything was OK. When I upgrade to 8.04 madwifi drivers didn’t worked. I’m using 32-bit version. When I install again madwifi drivers and when I boot the system, it begins booting and shows “Loading manual drivers” and freezes. When I blacklist “ath_pci” the system boots normally, but my wifi card doesn’t work. Any ideas how to solve this problem?

  53. jesus Says:

    can you put the driver file again??

    because that file include only the readme file.

    hablo español, si me ayudas en mi idioma mejor, soy muy tonto para el ingles!!

  54. Ryan Says:

    I did what you said, installed all the nessecary package, installation went well. But i can’t access my wireless network settings at all, there’s no difference in what i can do or what menus i can go on than there were before. I’ve tried right-clicking the network icon at the top left corner in gnome, but all i get is wired connection details, nothing to do with WiFi at all.

    I’m using Ubuntu 8.04, on an Acer Aspire 3515.

    Any help greatly appreciated.

  55. Paul Says:

    hi, I have this problem with a toshiba and atheros 5007EG— I’m a wet behind the ears newby to linux that has been institutionalized by years and years of abuse by micro-$ — I really want to understand your guidelines to fix my problem but it just doesn’t make sense to me– could you please help?
    how do you untar something, how do you “get inside the unpacked directory” and where do I type in the sudo stuff?
    I’m a linux retard- sorry

  56. sarah Says:

    i need driver for acer aspire 5570z which is atheros ar5007eg and i am unable to locate from where doi down load it

  57. koendb Says:

    Have a look at http://snapshots.madwifi.org/madwifi-hal-0.10.5.6/ this contains the support for the ar5007eg.

  58. John Says:

    I am having problems with step six.

    ~/madwifi-ng-r2756+ar5007$ sudo make install
    make: *** No rule to make target `install’. Stop.

    how do i correct this?

  59. koendb Says:

    you should use the latest version as i have indicated above madwifi-hal-0.10.5.6, the tar in the article is no longer working.

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>