Atheros 5007EG with madwifi on i386 platform

Sponsored Link
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.

Sponsored Link

Incoming search terms:

Related posts

94 thoughts on “Atheros 5007EG with madwifi on i386 platform

  1. 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

    [Reply]

  2. 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

    [Reply]

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

    [Reply]

  4. 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.

    [Reply]

  5. @ 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

    [Reply]

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

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

    [Reply]

  7. 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

    [Reply]

  8. 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?

    [Reply]

  9. 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

    [Reply]

  10. 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?

    [Reply]

  11. 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

    [Reply]

  12. 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

    [Reply]

  13. 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.

    [Reply]

  14. 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! :)

    [Reply]

  15. 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 ([email protected]).

    POR FAVOR

    muito obrigado Paulo.

    [Reply]

  16. 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

    [Reply]

  17. 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?

    [Reply]

  18. 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!!

    [Reply]

  19. 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.

    [Reply]

  20. 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

    [Reply]

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

    [Reply]

  22. 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?

    [Reply]

  23. 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.

    [Reply]

  24. Thanks Koendb,

    I downloaded the file as you suggested and followed the above instructions. Now I have another problem. Keep in mind this is a new install. I have not added any c or c++ compilers. I do have MonoDevelop installed.

    below is some of the errors I am receiving when I run ‘sudo make install’.

    Checking requirements… ok.
    Checking kernel configuration… ok.
    make -C /lib/modules/2.6.24-19-generic/build SUBDIRS=/home/student/madwifi-hal-0.10.5.6-r3861-20080903 modules
    make[1]: Entering directory `/usr/src/linux-headers-2.6.24-19-generic’
    HOSTCC /home/student/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode
    /home/student/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:26:19: error: stdio.h: No such file or directory
    /home/student/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:27:19: error: errno.h: No such file or directory

    You will notice it is looking for stdio.h and errno.h plus many more.
    Any suggestions?

    [Reply]

Leave a comment

Your email address will not be published. Required fields are marked *