Atheros 5007EG with madwifi on i386 platform
Posted by xodeus on January 17th, 2008
Email This Post
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.
If you want to be notified the next time we write something please subscribe to our RSS feed.Thanks for Visiting!


February 7th, 2008 at 5:22 am
By the way, my wireless card is Atheros AR5006X, in an Acer Aspire 4720 notebook, but I believe it should work as well.
February 7th, 2008 at 6:45 am
You are my hero!!!
February 7th, 2008 at 7:08 am
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.
February 18th, 2008 at 5:48 pm
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.
February 18th, 2008 at 7:47 pm
Thanks, you are my hero !!!
February 18th, 2008 at 11:26 pm
#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…
February 26th, 2008 at 7:45 am
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
February 28th, 2008 at 4:37 am
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
March 30th, 2008 at 8:01 pm
OMG! its really work for me now! i love u, man!
u’re my GOD~
March 30th, 2008 at 8:04 pm
my laptop : lenovo r61, build-in atheros ar5006ex.
March 30th, 2008 at 10:33 pm
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 ?
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.
HTH.
Petr
April 7th, 2008 at 1:11 pm
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
April 12th, 2008 at 7:56 pm
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….
April 12th, 2008 at 7:58 pm
Oops–should have been update-usbids.
Moderator, could you fix that?
April 12th, 2008 at 8:03 pm
>>>>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.
April 14th, 2008 at 9:40 am
It’s work for me too. Thanks.
My laptop: Acer Aspire 4315.
April 14th, 2008 at 4:56 pm
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.
April 23rd, 2008 at 5:58 am
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??
April 27th, 2008 at 2:16 pm
Works on Ubuntu 8.04 too. (Acer 5601ZWLMi)
Thank you!
April 29th, 2008 at 4:40 pm
It wont work under opensuse 10.3 (64b) … and neither ndiswrapper does…
what can i do?
May 1st, 2008 at 10:50 pm
It worked on my Sony Vaio N365E. You’re the best!!
May 7th, 2008 at 5:38 am
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
May 7th, 2008 at 6:55 pm
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.
May 9th, 2008 at 11:25 am
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…
May 10th, 2008 at 4:22 am
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!
May 12th, 2008 at 3:01 am
works perfectly with an atheros AR5007 chipset (compaq presario C700)
thanks a lot for the help
May 13th, 2008 at 3:05 am
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).
May 13th, 2008 at 4:58 pm
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 ?
May 14th, 2008 at 2:56 pm
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?
May 15th, 2008 at 2:08 am
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
May 15th, 2008 at 8:48 pm
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
May 16th, 2008 at 12:58 pm
I have fixed my problem by reinstalling Ubuntu 8.04 (and not just upgrading) and then following your instructions.
May 24th, 2008 at 3:54 pm
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.
May 28th, 2008 at 2:55 am
@ 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
June 10th, 2008 at 1:50 am
work perfectly in a ACER5514WLMi, SLAX linux distribution, with an Atheros AR242x PCI adapter
Thanks a lot for your help!!!
Regards everybody!!!
June 15th, 2008 at 1:39 am
works at HP dv6736nr
Thanks Xodeus!
June 15th, 2008 at 1:45 pm
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
June 18th, 2008 at 3:06 am
not works on my Acer Aspire 4315 with ubuntu 8.04. any idea ?
June 23rd, 2008 at 1:07 pm
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?
June 23rd, 2008 at 1:12 pm
Ups forgot. My laptop is Acer Aspire 5052 + Ati X1100 + Atheros ar5007eg + ubuntu 8.04.
June 28th, 2008 at 2:39 am
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
June 28th, 2008 at 4:03 am
Thank you so much dude….finally got it to work.
July 5th, 2008 at 3:27 pm
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?
July 6th, 2008 at 8:51 pm
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
July 8th, 2008 at 7:02 am
thanks so much, bro!!!
July 11th, 2008 at 9:03 am
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
July 11th, 2008 at 2:36 pm
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.
July 12th, 2008 at 10:13 am
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!
July 12th, 2008 at 8:44 pm
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.
July 20th, 2008 at 2:55 am
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