Atheros AR5007 wireless with madwifi on Ubuntu 8.04 (Hardy heron)
Posted by admin on April 29th, 2008
Email This Post
For i386 Users
First go to System–>Administration–>Hardware Drivers” and disable by un-ticking the following option
Atheros Hardware Access Layer (Hal)
Then Reboot your system.
Preparing your system
sudo apt-get install build-essential
Then open the terminal from Applications–>Accessories–>Terminal and copy the following command
wget http://snapshots.madwifi.org/special/madwifi-ng-r2756+ar5007.tar.gz
tar xfz madwifi-ng-r2756+ar5007.tar.gz
cd madwifi-ng-r2756+ar5007
make
sudo make install
sudo modprobe ath_pci
sudo reboot
That’s it now your wireless should work without any problem.
For AMD64 Users
If you are using 64 bit version following this procedure
Blacklist the default driver
echo “blacklist ath_pci” | sudo tee -a /etc/modprobe.d/blacklist
Download the 64 bit driver
wget http://blakecmartin.googlepages.com/ar5007eg-64-0.2.tar.gz
Extract driver using the following command
tar xvf ar5007eg-*.tar.gz
tar xvf ndiswrapper-newest.tar.gz
Ensure you have your kernel headers and the build essential package.
sudo aptitude update
sudo aptitude install linux-headers-$(uname -r) build-essential
Install ndisgtk
sudo apt-get install ndisgtk
Either use ndisgtk to install the driver or
sudo ndiswrapper -i net5211.inf
Load up ndiswrapper every time Linux is loaded
sudo modprobe ndiswrapper
echo “ndiswrapper” | sudo tee -a /etc/modules
Restart your system using the following command
sudo reboot
Your card should have been detected and it should show available networks but if it does not, try
sudo iwlist scan
If you want to be notified the next time we write something please subscribe to our RSS feed.Thanks for Visiting!

May 1st, 2008 at 6:37 am
It works! I can’t thank you enough.
May 1st, 2008 at 8:21 am
It worked for me as well! Used on a Compaq/HP C700 series laptop running Ubuntu Hardy Heron 64 bit. LED showing status for the integral wireless Atheros AR5007 is still off but the wireless is working very well.
Terminal command “sudo ndiswrapper -i net5211.inf” did not work for me, but I was able to install it directly using ndiswrapper instead. That was the only issue.
BRAVO! Thank you so much!
May 1st, 2008 at 3:54 pm
For kernel 2.6.24 (hardy) my wifi working with http://snapshots.madwifi.org/special/madwifi-nr-r3366+ar5007.tar.gz. madwifi-ng-r2756+ar5007.tar.gz is very unstable.
May 4th, 2008 at 2:47 pm
im doing dual boot winXP & ubuntu since my ubuntu cannot connect to internet during my wireless problem. im using Acer Aspire 4520 which is really famous & cheap. the wireless driver is atheros AR5007EG. ok… this all start when the first time using linux & ubuntu 8 hardy was my 1st linux. i had been settle this problem for 2 times but stuck for d 3rd time until now.
my first trial, im able to settle network problem by follow all the threads that i coppied from ubuntu forums. however, sudenlly, my ubuntu having problem with sound just after i settle withmy network. maybe after 1/2 o more then that. so, i decide 2 re-install ubuntu for the 2nd time to make sure that i have a PERFECT ubuntu because im thinking off get rid winXP.
after that, i try to set up the wireless, AGAIN with steps that given in the threads that i coppied from ubuntu forums. i follow & read all the process step by step carefully. & once again, im able to settle my network for the 2nd time. and after that, im online using ubuntu since i want to update & install movie & audio codec from internet. after settle with codec & few things, i feel relief so i finally decide to decrease the size of my winXP.
so, i resize the partition from winXP using partition magic 8 which i had installed before i resize my partition & install ubuntu. after that, there is a warning that saying error in resizing partition so i quit.
so…i decide to give a check on my beloved ubuntu & U know what??? GRUB LOADING ERROR!!! so, i set WinXP as an active partition so that i can get in my winXP.
after that, i decide to install ubuntu for the 3rd time. this is where i stuck & everything turn to shit.no matter what i use, madwifi-ng-r2756+ar5007 or madwifi-nr-r3366+ar5007 even ndiswrapper, all i got is fail. below is one of error that i got from madwifi-ng-r2756+ar5007.
rj@blackTOP:~/madwifi-ng-r2756+ar5007$ make
Checking requirements… ok.
Checking kernel configuration… ok.
make -C /lib/modules/2.6.24-16-generic/build SUBDIRS=/home/rj/madwifi-ng-r2756+ar5007 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-16-generic’
CC [M] /home/rj/madwifi-ng-r2756+ar5007/ath/if_ath.o
CC [M] /home/rj/madwifi-ng-r2756+ar5007/ath/if_ath_pci.o
LD [M] /home/rj/madwifi-ng-r2756+ar5007/ath/ath_pci.o
CC [M] /home/rj/madwifi-ng-r2756+ar5007/ath_hal/ah_os.o
HOSTCC /home/rj/madwifi-ng-r2756+ar5007/ath_hal/uudecode
/home/rj/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:26:19: error: stdio.h: No such file or directory
/home/rj/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:27:19: error: errno.h: No such file or directory
/home/rj/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:28:20: error: getopt.h: No such file or directory
/home/rj/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:29:20: error: string.h: No such file or directory
/home/rj/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:30:20: error: stdlib.h: No such file or directory
/home/rj/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:32:23: error: sys/fcntl.h: No such file or directory
/home/rj/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:33:22: error: sys/stat.h: No such file or directory
/home/rj/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c: In function ‘uudecode_usage’:
/home/rj/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:37: warning: implicit declaration of function ‘printf’
/home/serge/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:37: warning: incompatible implicit declaration of built-in function ‘printf’
/home/rje/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c: At top level:
/home/rj/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:40: error: expected ‘)’ before ‘*’ token
/home/rj/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:70: error: expected ‘)’ before ‘*’ token
/home/rj/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c: In function ‘main’:
/home/rj/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:121: error: ‘FILE’ undeclared (first use in this function)
/home/rj/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:121: error: (Each undeclared identifier is reported only once
/home/rj/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:121: error: for each function it appears in.)
/home/rj/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:121: error: ’src_stream’ undeclared (first use in this function)
/home/rj/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:122: error: ‘dst_stream’ undeclared (first use in this function)
/home/rj/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:122: error: ‘NULL’ undeclared (first use in this function)
/home/rj/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:130: warning: implicit declaration of function ‘getopt’
/home/rj/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:134: error: ‘optarg’ undeclared (first use in this function)
/home/rj/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:138: warning: implicit declaration of function ‘exit’
/home/rj/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:138: warning: incompatible implicit declaration of built-in function ‘exit’
/home/rj/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:141: error: ‘optind’ undeclared (first use in this function)
/home/rj/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:142: error: ’stdin’ undeclared (first use in this function)
/home/rj/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:144: warning: implicit declaration of function ‘fopen’
/home/rj/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:146: warning: implicit declaration of function ‘fprintf’
/home/rj/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:146: warning: incompatible implicit declaration of built-in function ‘fprintf’
/home/rj/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:146: error: ’stderr’ undeclared (first use in this function)
/home/rj/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:147: warning: implicit declaration of function ’strerror’
/home/rj/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:147: error: ‘errno’ undeclared (first use in this function)
/home/rj/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:147: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’
/home/rj/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:148: warning: incompatible implicit declaration of built-in function ‘exit’
/home/rj/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:152: warning: incompatible implicit declaration of built-in function ‘exit’
/home/rj/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:156: warning: implicit declaration of function ‘get_line_from_file’
/home/rj/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:156: warning: assignment makes pointer from integer without a cast
/home/rj/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:157: warning: implicit declaration of function ’strncmp’
/home/rj/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:164: warning: incompatible implicit declaration of built-in function ‘fprintf’
/home/rj/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:165: warning: incompatible implicit declaration of built-in function ‘exit’
/home/rj/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:168: warning: implicit declaration of function ’strtoul’
/home/rj/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:170: warning: implicit declaration of function ’strchr’
/home/rj/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:170: warning: incompatible implicit declaration of built-in function ’strchr’
/home/rj/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:172: warning: incompatible implicit declaration of built-in function ‘fprintf’
/home/rj/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:173: warning: incompatible implicit declaration of built-in function ‘exit’
/home/rj/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:178: warning: implicit declaration of function ’strcmp’
/home/rj/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:179: error: ’stdout’ undeclared (first use in this function)
/home/rj/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:182: error: ‘O_WRONLY’ undeclared (first use in this function)
/home/rj/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:182: error: ‘O_CREAT’ undeclared (first use in this function)
/home/rj/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:182: error: ‘O_TRUNC’ undeclared (first use in this function)
/home/rj/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:186: error: ‘O_EXCL’ undeclared (first use in this function)
/home/rj/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:188: warning: implicit declaration of function ‘open’
/home/rj/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:189: error: ‘S_IRWXU’ undeclared (first use in this function)
/home/rj/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:189: error: ‘S_IRWXG’ undeclared (first use in this function)
/home/rj/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:189: error: ‘S_IRWXO’ undeclared (first use in this function)
/home/rj/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:191: warning: implicit declaration of function ‘fdopen’
/home/rj/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:193: warning: incompatible implicit declaration of built-in function ‘fprintf’
/home/rj/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:194: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’
/home/rj/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:195: warning: incompatible implicit declaration of built-in function ‘exit’
/home/rj/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:199: warning: implicit declaration of function ‘read_stduu’
/home/rj/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:201: warning: implicit declaration of function ‘fclose’
make[3]: *** [/home/rj/madwifi-ng-r2756+ar5007/ath_hal/uudecode] Error 1
make[2]: *** [/home/rj/madwifi-ng-r2756+ar5007/ath_hal] Error 2
make[1]: *** [_module_/home/rj/madwifi-ng-r2756+ar5007] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-16-generic’
make: *** [modules] Error 2
i follow all the steps given but still the terminal reply my command like above. i dont know whether i miss a steps or spelling error. it’s impossible to make a mistake cos after few times i found failure, i just copy & paste because tired & want to ensure that i follow the steps.
what i want to say here is, HELP me all ubuntu experienced user. i really want to use linux as my no 1 OS. maybe you all can help me by reply me with a full complete step because im very new to linux & this my 1st time to linux. to be frank, i dont know wat does the command mean. im very attract to ubuntu since i heard wat does ubuntu mean. so, im one of human being that want to learn ubuntu. help me…
p/s:sorry for being a loser in this forum. i really hope ubuntu community can help me. thank you.
May 4th, 2008 at 3:00 pm
did you install the following packages
sudo aptitude install build-essential
sudo apt-get install libc6-dev
and try it should work
May 4th, 2008 at 3:33 pm
I use ndiswrapper over amd64, in a fresh install working good, but before some restart, I have a problem.
I can see al the networks, when I use a iwlist I see all the networks, but I can’t connect to any network.
Is very difficult connect, imposible if I don’t reload the ndiswrapper module whith ndiswrapper -ma && sudo ndiswrapper -mi && modprobe ndiswrapper and in some occaciones not is posible.
Really really difficult make work.
Can some help me?
I use hardy over amd64
May 5th, 2008 at 3:14 am
Same issue as T!. sudo ndiswrapper -i net5211.inf failed to execute.
I replace ndiswrapper with ndisgtk instead, and hey presto!
Wireless connection has appeared in Network Settings.
Thank you. Xie xie. Terima kasih. Arigatou gozaimasu.
May 5th, 2008 at 10:10 pm
cd madwifi-ng-r2756+ar5007
make
that make should be a “sudo make”
if u dont do sudo make u will get error 2
May 6th, 2008 at 5:47 am
Everything worked perfectly…BUT!…the only problem i’m having now is that it wont connect to any of the networks…
Can anyone please help me…
May 6th, 2008 at 7:16 am
Okay. It works perfectly.
I am posting this while connected to a wireless network.
The problem was I chose the wrong WEP encryption key when I entered the passphrase.
It would have been nice if Ubuntu automated those settings, but at least it works now. I can not thanks you enough.
–
Ubuntu 8.04 Hardy Heron
Compaq Presario F762AU
AMD Turion 64bit
May 6th, 2008 at 10:03 pm
Thank you. I can confirm:It worked for me as well! Used on a Compaq presario C700 laptop running Ubuntu Hardy Heron 64 bit. LED showing status for the integral wireless Atheros AR5007 is still off but the wireless is working very well.
Terminal command “sudo ndiswrapper -i net5211.inf” did not work for me, but I was able to install it directly
May 8th, 2008 at 5:30 pm
I have the madwifi driver installed and working on a compaq f700 with 32-bit system. However, i cannot connect to wireless networks. I have tried changing key setting and a number of other things but so far no success. i am about to give up. please help.
May 8th, 2008 at 8:35 pm
Many thanks… It works for me in a Compaq C735EM with Ubuntu Hardy Heron 64 Bits. Driver must be loaded with ndisgtk and ‘voilá’ wi-fi working with no problems. Like other users I noticed that blue light on the button and in the panel does not turns on, its a minor problem.
Thanks a lot.
May 9th, 2008 at 11:22 am
Okay. I spoke too soon.
I could not connect to the web as soon as I rebooted my laptop and retyped the key for the WEP enabled wireless network.
I tried again and again for one hour, but it just won’t connect.
So right now, the network card has only succeeded once.
What’s going on?
May 9th, 2008 at 11:29 am
I unscrewed the panel underneath the F762AU and here’s the exact model of my card:
Atheros AR5BXB63
May 9th, 2008 at 4:54 pm
I have the Atheros ar5007EG wireless network adapter and I can’t this to work. I’m having problems at the very beginning with the sudo apt-get install build-essential.
I get “Reading package lists… done
Building dependency tree
Reading state information… done
E: couldn’t find package build-essential”
Not sure whats going on as I am extremely new to Ubuntu(installed it last night)
May 9th, 2008 at 5:03 pm
you need to make sure you have enabled universe and multiverse in your repositories
To enable the universe and multiverse repositories using the Software Sources tool, you can execute the following steps:
1. Open System->Administration->Software Sources
2. Input your administrative password if you are prompted to do so. Once the program loads, check the boxes next to “Community-maintained Open Source software (universe)” and “Software restricted by copyright or legal issues (multiverse)”.
3. Next, close Software Sources. A dialog will prompt you to reload the package information. Click the “reload” button.
May 9th, 2008 at 5:10 pm
I did all that, and once I tried to reload it, I got a bunch of error messages, they all start with “W: Failed to fetch…”
Problem is it said for me to be able to continue, I needed to be connected to the internet, but I’m not connected on my laptop where I have Ubuntu installed, but it works fine when I reboot with Vista.
May 11th, 2008 at 2:37 am
it works after setting up: modprobe ath_pci. but after each restart, ath0 disappears and i can’t connect anymore. i have to do it again and again.
you know the problem???
May 13th, 2008 at 7:03 pm
I am using a Compaq C735EM laptop with Ubuntu Hardy 64 bits and this method works fine the first time I used it. Wifi adapter is recognised by the system and works o.k. even find a lot more networks that a netgear USB adapter that I use with this laptop and transfer files fastest than the Netgear adpter but when I reboot the system adapter doesn’t work anymore, still recognised by system and still can find all networks but its impossible to connect to anyone. Also blue LED never works but button does it.
Any suggestions???
May 14th, 2008 at 10:25 pm
i tried the steps above for 64 bit hardy with an ar242x wireless card, but am still unable to connect to my wireless internet. Ndiswrapper shows that i have a network and are connected to it. but without an ethernet cord plugged in i cannot connect to the internet. Network manager does not even recognize the wireless network.
May 15th, 2008 at 12:56 pm
PROCEDURE FOR UBUNTU HARDY HERON 64 Bits USERS
Go to System/Administration/Hardware drivers and disable all referring to your network card
HAL and support for Atheros Card
Ensure you have your kernel headers and the build essential package. Use Synaptic or:
sudo aptitude update
sudo aptitude install linux-headers-$(uname -r) build-essential
Install ndisgtk. Use Synaptic or:
sudo apt-get install ndisgtk
Get 64 Bits XP drivers from blakemartin:
wget http://blakecmartin.googlepages.com/ar5007eg-64-0.2.tar.gz
Extract driver using the following command
tar xvf ar5007eg-*.tar.gz
tar xvf ndiswrapper-newest.tar.gz
Blacklist the default driver
echo “blacklist ath_pci” | sudo tee -a /etc/modprobe.d/blacklist
Load Ndiswrapper and XP driver:
sudo ndiswrapper -i net5211.inf
Load up ndiswrapper every time Linux is loaded
sudo modprobe ndiswrapper
echo “ndiswrapper” | sudo tee -a /etc/modules
Restart your system using the following command
sudo reboot
At this point your network card must work O.K. if not try to load XP driver with ndisgtk.
(blue led in some laptops will not work or still red but its a minor problem)
This information was taken from forums.
When you reboot your PC in most cases AR5007EG doesn’t work anymore (maybe find networks but can’t connect to them)
Victor Nieto has written a script to solve the problem but this script must be executed before X server starts, I tried this and works ok EVERY TIME YOU TURNS ON YOUR PC.
first of all here is the Script:
Use an editor and copy-paste this: (pay attention in the 1st. line in other posts looks like “#bin/bash”, correct it)
#! bin/bash
modprobe -r ndiswrapper
cp /etc/modprobe.d/blacklist .
sed ’s/#blacklist ath_pci/blacklist ath_pci/g’ /etc/modprobe.d/blacklist>blacklist3
mv blacklist3 /etc/modprobe.d/blacklist
ndiswrapper -ma && sudo ndiswrapper -mi
modprobe ndiswrapper
sed ’s/blacklist ath_pci/#blacklist ath_pci/g’ /etc/modprobe.d/blacklist>blacklist3
mv blacklist3 /etc/modprobe.d/blacklist
save the file as subirwifi
Copy file into /etc/init.d and change file mode
sudo cp subirwifi /etc/init.d
chmod +x subirwifi
Now we need to make a symbolic link in /etc/rc5.d to load driver before X server starts.
go to /etc/rc5.d
sudo ln -s /etc/init.d/subirwifi S09subirwifi
if all was correct you should see a line like this when you do ls -l
lrwxrwxrwx …………… S09subirwifi -> /ect/init.d/subirwifi
reboot your system and… Luck!!!
I am using this in a Compaq C735EM Laptop with Hardy Heron 64 Bits and works fine (execept blue led)
Thanks to all who contribute to make Linux grow up, and specially to Victor Nieto for the Script.
May 17th, 2008 at 12:20 pm
Thanks. This post helped tremendously. I even reinstalled Hardy and recreated the process (in the back of my mind thinking that the wi-fi working is just one stroke of good luck) and it still worked. God bless you!
May 18th, 2008 at 4:21 am
Sos un genio!!! ya funciona mi WIFI!!
Muchas gracias!!
thanx a lot!!!}
Guillermo
May 21st, 2008 at 6:48 pm
Thank you JoeDriller. I am able to connect to unencrypted networks with little problem now.
But I just went through a harrowing three hours attempting to connect to a WEP enabled network.
Somehow, I have succeeded connecting this time. But this really isn’t a very satisfying solution.
Obviously, I can’t keep trying for three hours every time I wish to connect to a WEP enabled network.
May 21st, 2008 at 7:54 pm
Gracias por el manual hermano, habia probado de todo y ya estaba al borde de renunciar.

Tengo una Compaq presario F756LA con un AMD64 con Ubuntu Hardy H. y todo funciono perfecto !!!
May 22nd, 2008 at 3:37 am
I tried following your steps one by one, but at the step “make” it gives me an Error 2 message.
Any help is appreciated.
May 22nd, 2008 at 9:18 am
I just wanted to say thanks to admin for posting this! I have the toshiba satellite w/Atheros ar5007. Worked perfectly (i386) by following these steps.
If you’re getting an error 2, you need to following steps in posting #17 by admin. Make sure you get the prompt, and click “reload”.
Then run: sudo aptitude install build-essential
Then start over at step one. This is what worked for me.
May 23rd, 2008 at 5:21 am
Hi,
I have a Acer Aspire 4710Z with Atheros AR5007EG WLAN card…
I installed Ubuntu 8.04 2 days ago…
After following all the steps, Ubuntu detected my netowrk (linksys) with very good connectivity….but it just won’t connect to the internet…
wifi is not encrypted anyway…
any help will be greatly appreciated…..
thnx in advance.
May 24th, 2008 at 6:52 pm
install -d /usr/local/man/man8
install -m 0644 man/*.8 /usr/local/man/man8
install ../scripts/madwifi-unload /usr/local/bin/madwifi-unload
make[1]: Leaving directory `/home/david/madwifi-ng-r2756+ar5007/tools’
david@david-laptop:~/madwifi-ng-r2756+ar5007$ sudo modprobe ath_pci
WARNING: /etc/modprobe.d/blacklist line 40: ignoring bad line starting with ‘blacklist’
WARNING: /etc/modprobe.d/blacklist line 41: ignoring bad line starting with ’sudo’
WARNING: /etc/modprobe.d/blacklist line 42: ignoring bad line starting with ’sudo’
WARNING: /etc/modprobe.d/blacklist line 43: ignoring bad line starting with ‘blacklist’
WARNING: /etc/modprobe.d/blacklist line 44: ignoring bad line starting with ‘blacklist’
WARNING: /etc/modprobe.d/blacklist line 45: ignoring bad line starting with ‘blacklist’
david@david-laptop:~/madwifi-ng-r2756+ar5007$
donno whats happening
May 25th, 2008 at 9:52 pm
Hi.It works with JoeDriller’s script.Thank you very much but i have a problem.My lspci output is:
08:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)
it appears network setting and “roaming mode”.
But when i tried fallowing code:
# iwlist wlan0 scan
and tried wifi-radar but dont find any available wireless connection.when I try other notebook(Ubuntu 6.10 Intel PRO/Wireless 2100 3B), it find 2 available wireless connnection.
Wireless LED always switch off ? so my wireless card is switch off ? and i tried
# ifconfig wlan0 up
but no works.It can not find available wireless connnection.
How can do for solve this problem ? If you help me,I will be happy.
Thanks.
Semih.
May 25th, 2008 at 10:34 pm
OK.The problem was solved by me.
I was boot v_ist_a and FN+F6 and return the ubuntu 8.04 and now bluetooth and wireless is working !
its very interesting but it is working.
May 26th, 2008 at 10:27 am
Hi,
I just wanted to make a correction about the JoeDriller post (#22). The runlevel 5 is not the default anymore for Ubuntu 8.04. Ubuntu has given up about the runlevels and decided to try with the ‘upstart’. Anyway, the default ‘runlevel’ (because all looks the same) is the number 2. So you should try to place the ‘S09′ link under the ‘rc2.d’ directory. I have updated JoeDriller’s script and it worked correctly in my system. Here is the code;
#!/bin/bash
sudo modprobe -r ndiswrapper
cp /etc/modprobe.d/blacklist .
sed 's/#blacklist ath_pci/blacklist ath_pci/g' /etc/modprobe.d/blacklist>blacklist3
mv blacklist3 /etc/modprobe.d/blacklist
sudo ndiswrapper -r net5211
sudo ndiswrapper -i /usr/lib/ar5007eg-64-0.2/ar5007eg/net5211.inf
sudo ndiswrapper -ma && sudo ndiswrapper -mi
sudo modprobe ndiswrapper
sed 's/blacklist ath_pci/#blacklist ath_pci/g' /etc/modprobe.d/blacklist>blacklist3
mv blacklist3 /etc/modprobe.d/blacklist
sudo /etc/init.d/networking stop
sudo /etc/init.d/networking start
I hope this help you
‘Regards las plantas’
May 28th, 2008 at 9:23 am
Thnaks for the new post.
Unfortunately, even I put the new cod into rc2.d, my wlan jumps form “[nameofnetwork]:get ip adress” to “None: get ip adress” and won’t connect. Is it a problem that i now have an subirwifi like Joedriller described under rc5.d and yours under rc2.d???
If yes - how can I get rid of the subirwifi in rc5???
thanks for your help
May 28th, 2008 at 12:54 pm
I had to delete old drivers first.
Following this helped a lot!
# Get the current Kernel you are running : uname -r
# Navigate to the correct lib directory : cd /lib/modules/$(uname -r) (use the output from the previous step to get the directory)
# Delete the net lib files : sudo rm -rf net
# Delete the madwifi files : sudo rm -rf madwifi
# Delete this folder if it exists : sudo rm -rf madwifi-ng
# Find the modules currently installed that you need to unload : lsmod | grep ath
# From this output above issue a rmmod command for all the modules : sudo rmmod modulename
# Go back to where you downloaded the new subversion drivers and run : sudo make and then sudo make install answer yes to remove the old module.
# Load all of the modules you have just unloaded using modprobe. These should be:
sudo modprobe ath_pci
sudo modprobe ath_rate_sample
sudo modprobe wlan
sudo modprobe ath_hal
# Check to see if modules have been loaded by typing dmesg and looking at the system log.
# Open up network gui in Ubuntu and enable the wifi card and set the sessid
May 30th, 2008 at 7:59 am
It worked for me as well, on my LG R-400 (a very neat little -cheap- laptop by the way).
Thanks for posting this, that issue has been bugging me for a year already !
Cheers
May 30th, 2008 at 8:51 am
I found another way:
When i find some network and my wicd won’t connect,
then i go to the console and type:
sudo ifconfig wlan0 down
sudo ifconfig wlan0 hw ether xxxxxxxx
The xxx must be replaced by your mac-adress
This works great!
June 2nd, 2008 at 7:05 pm
Neither JoeDriller’s nor German’s scripts worked for me, but the following did (or, at least, appears to):
#!/bin/bashsudo modprobe -r ndiswrapper
cp /etc/modprobe.d/blacklist .
sed 's/#blacklist ath_pci/blacklist ath_pci/g' /etc/modprobe.d/blacklist>blacklist3
mv blacklist3 /etc/modprobe.d/blacklist
sudo ndiswrapper -ma && sudo ndiswrapper -mi
sudo modprobe ndiswrapper
sed 's/blacklist ath_pci/#blacklist ath_pci/g' /etc/modprobe.d/blacklist>blacklist3
mv blacklist3 /etc/modprobe.d/blacklist
sudo /etc/init.d/networking stop
sudo /etc/init.d/networking start
June 4th, 2008 at 12:08 am
i386 Ubuntu 8.04 user on 64x machine (ACER aspire 7520 G). Felt very grateful to you - everything worked so well after I had followed your instructions. Worked 10 days - until today when Ubuntu 8.04 has been updated. After update and reboot - no wireless connection. Zeroes in iwconfig. And network monitor has got a red cross and error text: SIOCGIFFLAGS: no such device. Whatever it might mean… I once again installed the madwifi driver but no result. I have no idea what update has caused the loss of wireless connection - there were scores of updated files. I would be ready to wave all these updates if I knew how. Or is there some other way to restore wireless? Not an experienced Linux user, alas…
June 4th, 2008 at 4:52 am
###############################################################################################################
# felix Says:
May 6th, 2008 at 10:03 pm
Thank you. I can confirm:It worked for me as well! Used on a Compaq presario C700 laptop running Ubuntu Hardy Heron 64 bit. LED showing status for the integral wireless Atheros AR5007 is still off but the wireless is working very well.
Terminal command “sudo ndiswrapper -i net5211.inf” did not work for me, but I was able to install it directly
################################################################################################################
hi mate,
i got same laptop like you but i coulndt manage to find the device it self, i did all the step above (and few more steps in the forum) but no avail. yes, the “sudo ndiswrapper -i net5211.inf” did not work for me as well but the rest works fine. i still get the ‘orange’ LED for the wireless button and totally no wireless device found in my Compaq c700. being work with this for 12hours… i need some help from the expert now.. plz help.
regards.
June 4th, 2008 at 11:20 am
I am mystified about how to do this. I have an HP dv6000. Thanks to your instructions, my computer now recognizes my internet signal and a host of others in the neighborhood. Notwithstanding that, whenever I pop the WEP 64-bit hex passphrase in, I get a blue light but the varmint never connects. What would you advise? I am clueless as to why Linux is so hard to run on a laptop.
June 4th, 2008 at 10:54 pm
Strange but nice! Lost wireless network after latest Ubuntu updates yesterday - but lo and behold - tonight after the usual sudo modprobe ath_pci the network connection is there again. And works fast and stable as before. Loads of thanks for that effective way of using madwifi with atheros chip. Especially after long three months of trouble with broadcom on me desktop.
June 5th, 2008 at 1:09 am
I can’t believed.It work on TOSHIBA A215-S4757 with i386.THANK YOU VERY MUSH
June 5th, 2008 at 5:34 am
I am resigned to the fact that this won’t be the ideal solution I am looking for. Way back in time when I installed Dapper Drake on an ancient NEC, the wifi worked fine, no additional measures required. But that must have been because of the better supported integrated Wifi for Intel MOBOs.
My connections are erratic. Sometimes it establishes a wireless connection immediately (which results in momentary elation), other times, it doesn’t at all. I now pack an Ethernet cable with my laptop whenever I go out.
Anyway, I wish to retry all the steps above, with Hardy Heron’s network settings and drivers returned to it’s original state. But I don’t want to reinstall Ubuntu, since it would take a great deal of time to reinstall the other stuff I have added.
So, what steps do I need to take to restore the network settings and drivers to its original state sans a clean re-installation.
June 6th, 2008 at 12:14 am
I just purchase a Compaq Presario C762NR (C700 series) Notebook PC. Installed Ubuntu 8.04 LTS desktop i386 on it ok but the wireless card was not working. I followed this guide, rebooted and it now works perfectly!! many thanks!
June 6th, 2008 at 7:39 am
“When i find some network and my wicd won’t connect,
then i go to the console and type:
sudo ifconfig wlan0 down
sudo ifconfig wlan0 hw ether xxxxxxxx
The xxx must be replaced by your mac-adress
This works great!”
I have tried TONS of ways to get my wifi to work… and finally i tried this… and it works PERFECT!!! So i just added the commands to startup and now i can use wicd flawlessly, and it connects fast and perfect! Thank you so much! After hours of command lines and internet searching with Windows XP and Vista (desktop PC and duel boot Vista) BLAH this finally works. I suggest all of you who are still having problems try this.
June 7th, 2008 at 11:58 am
Thanks a lot. It works. My problem was that wifi went down updating to Ubuntu 8.04 and iwas not able to fix it. Your system works fine.
June 7th, 2008 at 5:12 pm
Me again. I just have update the system and wifi went down. Any way it works again mhin a new install only.
June 8th, 2008 at 7:45 am
HP Pavilion dv9000 - Worked a treat. Didnt have any luck with 64-bit installs (ndis or otherwise) last night, so went ahead with 32-bit and these instructions, and the FIRST of my issues are sorted.
Cant thank you enough. All worked first time. The wifi light doesnt seem to respond, but a small price to pay.
June 8th, 2008 at 7:47 am
it works for my compaq f700. Big thank you.
cheers.
June 9th, 2008 at 3:58 am
well after at least 6 attempts, my Compaq Presario F700 with an Atheros card still cannot see my wireless network
June 9th, 2008 at 6:05 am
I found a thread on the Ubuntu Forums that allows wireless access for the 64bit version of Ubuntu that dispenses with ndiswrapper.
How To:MadWifi Support for AR2425 (AR5007EG) on 64bit Ubuntu !!!
I am wary of touching it though, because I have followed the steps in this thread religiously.
So how do I remove the subirwifi commands and unblacklist the default driver?
June 12th, 2008 at 3:52 am
Thank you so much!!! I was pulling my hair out until I found this. Everything works great!!!
June 14th, 2008 at 9:12 am
Hi, I want to try this on my Acer Aspire 5520, but the madwifi website is not working. Is there somewhere else that I can get that snapshot? Or can someone who has already downloaded it, upload the file somewhere else until madwifi gets their site back up (would this be illegal)? Just wondering, because these steps work for people, but I just can’t get at the snapshot!
June 15th, 2008 at 5:29 am
Hi again….has anyone noticed a problem with suspending after using this wireless card fix? When i try and suspend the session now the wireless card seems to be stopping it (i think).
June 15th, 2008 at 3:05 pm
I tried many ways to get my wireless card detected and finally saw this post.. it worked.. thanks..!!!
June 15th, 2008 at 7:41 pm
I couldnt get it to work it just came up with error 1 and error 2 and couldnt find package and when i try to reload using the software resources method errors pop up aswell while i do have an ethernet connection working so i dont know wat the problem is please help
June 17th, 2008 at 4:25 pm
Hi, i tryed the tut and for starters it worked, but affter reboot it dosent work anymore. I see the wireless conections in network manager but i can not connect to them it just keps asking for the password, over and over again. Thanks and pls reply.
Best regards.
June 24th, 2008 at 12:56 am
I have a Compaq C762NR and this method works for both Hardy and Gutsy. Great guide!
As with others, the orange never turns blue, but it’s really not that big of a deal.
June 27th, 2008 at 9:13 am
A quick note for those without wifi after Ubuntu update.
My cousin had the same problem and we discovered that 2.6.24-19 kernel was the problem. Booting from the previous version (2.6.24-18) solved it. Give it a try!
Good luck!
June 27th, 2008 at 6:59 pm
Thanks so much. Worked for my Compaq C762NR, but lost again after updates in June. I can’t find a source of what the precise update is that caused the problem and don’t have the patience to keep re-installing and subselecting updates until I can isolate it. I am just going to re-install, follow the instructions here and wait a couple months before accepting updates. I hope someone out there can figure this out.
June 27th, 2008 at 8:59 pm
Thanks heaps! Worked on my HP Pavilion dv6000z under Hardy 32-bit.
For those of you having problems after an update: that modprobe command adds the module to your kernel, so whenever you update the kernel, you’d need to reinstall it (by at least running modprobe, or perhaps building against the new kernel). See man modprobe for more info, if you’d like.
Cheers!
June 27th, 2008 at 9:40 pm
The thing is that when you update the kernel you are going to have to redo the make, sudo make install steps. I had this problem when I updated my Hardy, and now it’s back to normal.
June 27th, 2008 at 11:00 pm
Hmmm… One problem though. Since getting wifi networking to work, my laptop (HP Pavilion dv6000z) no longer knows how to hibernate. It won’t go into suspend mode either. In both cases it just hangs at some point early on in the process. Seems like it’s waiting on some network service.
Any ideas??
June 28th, 2008 at 1:32 am
OK, updating to the current build enabled my laptop to suspend and hibernate again, i.e. replacing “r2756+ar5007″ with “r3366+ar5007″ in the instructions above. If you still have problems try running
sudo edit /etc/default/acpi-support
and adding “ath_pci” to MODULES_WHITELIST therein.
June 28th, 2008 at 2:21 pm
I re-installed 8.04 (single boot) off the same cd I originally used and followed the steps as before and now no wireless. I’m confused as to why it would work the first time and not the next. Any thoughts? Should I update and try post 65? Do other distributions have alternate solutions. Very frustrating
June 28th, 2008 at 2:35 pm
THANK YOU SO much!. this was literally a 2 minute job.
June 29th, 2008 at 4:41 am
WOOHOO! working again even after updates. I think that my router settings got changed in the meantime and I couldn’t access it or something
July 1st, 2008 at 8:15 am
Hi
I have ndiswrapper working but wanted some additional information.
Will the r3366 madwifi mentiond in post3 work on Ubuntu hardy 64bit(amd64 athlonx2 processor)
July 7th, 2008 at 11:40 pm
have tried everything said on here and everytime i reboot my laptop my wireless will not connect to any wireless network. can see all the networks there just can not connect to any! i have a Acer Aspire 5520-5912 AR242x 802.11abg wireless PCI express adapter. 1st time i tried everything posted it worked but once a restart happened it will not connect i have to go through and re do it all over and over. HELP!!!!
July 8th, 2008 at 11:46 am
I can safely say the Madwifi link I followed and applied works, perfectly. But it’s only for the AMD64 models.
July 8th, 2008 at 6:50 pm
Its working great with only one issue.
After every reboot it disappears.
If I do “sudo modprobe ath_pci” it shows back up and works great.
I don’t mind opening a terminal and doing that but is there a way to make it automatically detect it on boot?
July 9th, 2008 at 5:41 pm
Thanks!!
At the first time I tried Andreas’ tip it worked. After the reboot it didn’t work anymore. So I tried
echo “blacklist ath_pci” | tee -a /etc/modules.d/blacklist
before his tip and it worked again!!
Thanks a lot!!
July 11th, 2008 at 12:02 am
I don’t know why, but today the way i folowed before didn’t work anymore…
I tried that lots of times yesterday…
Anyone can help me please?
July 11th, 2008 at 1:09 am
Thinking back again, it worked today. It stoped after I installed Wine…
Any help?
July 11th, 2008 at 1:53 am
I cannot disable HAL. It says it’s disabled, but it also says that it is still in use. I have rebooted a couple times, but it is still in use. If you don’t understand what I mean, you can view this picture: http://img362.imageshack.us/img362/4617/screenshothardwaredriveiv6.png
July 14th, 2008 at 3:44 am
Since I can’t get this to work after working then failing then working again then failing again, I started to worry that my wireless router was an issue. I have no idea what I am doing, but I have a linksys wrt54G and clicked on this green circle icon like SES reset security settings and I got the device to be recognized again. But this was brief and it asked for some security WPA thing that I never had a password for. Does that make any sense to anyone that actually knows how to do this stuff? I’m very frustrated at this point. I can’t get the device recognized despite going through the steps again and again. Help!
July 17th, 2008 at 4:00 am
Hola realice los pasos de instalación de MADWIFI tal cual como los especificastes , y aparentemente se instaló sin problemas, sin embargo mi computadora no levanta la conexion a red, me sale el icono con la “X” en rojo
Que debo hacer para corregir
July 17th, 2008 at 12:30 pm
hi,
can u help me, i have an artheros ar5006eg card which is not working.i’m running gutsy.
July 17th, 2008 at 5:53 pm
I did exactly what’s written upthere ..
I’m an AMD turion x2 and this is the
lspci output
00:00.0 Host bridge: ATI Technologies Inc RS480 Host Bridge (rev 10)
00:01.0 PCI bridge: ATI Technologies Inc RS480 PCI Bridge
00:04.0 PCI bridge: ATI Technologies Inc RS480 PCI Bridge
00:05.0 PCI bridge: ATI Technologies Inc RS480 PCI Bridge
00:12.0 IDE interface: ATI Technologies Inc IXP SB400 Serial ATA Controller (rev 80)
00:13.0 USB Controller: ATI Technologies Inc IXP SB400 USB Host Controller (rev 80)
00:13.1 USB Controller: ATI Technologies Inc IXP SB400 USB Host Controller (rev 80)
00:13.2 USB Controller: ATI Technologies Inc IXP SB400 USB2 Host Controller (rev 80)
00:14.0 SMBus: ATI Technologies Inc IXP SB400 SMBus Controller (rev 83)
00:14.1 IDE interface: ATI Technologies Inc IXP SB400 IDE Controller (rev 80)
00:14.2 Audio device: ATI Technologies Inc IXP SB4x0 High Definition Audio Controller (rev 01)
00:14.3 ISA bridge: ATI Technologies Inc IXP SB400 PCI-ISA Bridge (rev 80)
00:14.4 PCI bridge: ATI Technologies Inc IXP SB400 PCI-PCI Bridge (rev 80)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:05.0 VGA compatible controller: ATI Technologies Inc RS485 [Radeon Xpress 1100 IGP]
02:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)
06:01.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
06:04.0 CardBus bridge: ENE Technology Inc CB-712/4 Cardbus Controller (rev 10)
06:04.1 FLASH memory: ENE Technology Inc ENE PCI Memory Stick Card Reader Controller (rev 01)
06:04.2 SD Host controller: ENE Technology Inc ENE PCI Secure Digital Card Reader Controller (rev 01)
06:04.3 FLASH memory: ENE Technology Inc FLASH memory: ENE Technology Inc: (rev 01)
06:04.4 FLASH memory: ENE Technology Inc SD/MMC Card Reader Controller (rev 01)
the command sudo iwlist scan return
lo Interface doesn't support scanning.
eth0 Interface doesn't support scanning.
I used the .inf xp driver method .. I didn’t get the other method..
Thanks in advance
July 17th, 2008 at 5:54 pm
In Case it will help
it’s Acer Aspire 5102wlmi Laptop
thanks in advance
July 18th, 2008 at 12:35 am
I’m tryed that on monday, tuesday and today!!
What’s wrong??
July 20th, 2008 at 5:59 am
Thanks,
The original post worked a treat. Bye-bye wifi dongle.
July 22nd, 2008 at 8:09 am
Works like a charm on my Compaq Presario C762NR. Thanks!!
July 24th, 2008 at 9:55 pm
Fujitsu Siemens pa1510 running Ubuntu 8.04 32bit, Atheros AR5005G wireless. Ran an update and suddenly lost my wireless - light on but system didn’t see ath0 anywhere and the proprietary drivers display said no such drivers in use. Ran your instructions, rebooted and all working fine again. I guess my question is, WTF did my atheros drivers suddenly disappear??????
July 27th, 2008 at 4:43 am
July 27th, 2008 at 4:44 am
Apparently I cant format T.T that was meant for Racie.
August 3rd, 2008 at 3:24 pm
Hello Ignacio,
My wireless was working and I updated it yesterday, now it just doesn’t work. Can u please tell me how to boot the previous version of kernel 2.6.24-18.I am a beginner.
Thanks in advance.
August 4th, 2008 at 10:49 pm
Just wanted to say “Thanks!” These instructions worked perfectly using Ubuntu 8.04 on my HP dv5z.
August 23rd, 2008 at 3:02 am
I tried and failed
on my acer aspire 3680 I unchecked the hal box but there is another box ticked next to
Support for Atheros 802.11 wireless Lan cards, should that also be unticked? I take it if it works i should see a wireless connection in Networks? And lastly under your heading Preparing your system, the next line says sudo apt-get install build-essential has this to be typed in somewhere?
As you can probably tell in very green to this but i’m so glad to be rid of microsoft just need my wifi to be 100%
Cheers if you can help me
Rob
August 27th, 2008 at 4:28 am
That is still not working because we want it to work with default linux wireless tools like iwconfig, iwlist, wlan0, etc. madwifi sux I don’t want their crap commands and bogus tools just the damn driver api
September 14th, 2008 at 5:49 pm
thank you very much. works perfectly on my acer aspire 5710Z.
September 22nd, 2008 at 9:10 pm
Hi there :
Hi there ;
I was trying you solution ” For AMD 64 users ” and when I try to download the driver ( 2nd step ) I got this :
owner@owner-laptop:~$ wget http://blakecmartin.googlepages.com/ar5007eg-64-0.2.tar.gz
Error parsing proxy URL http://:8080/: Invalid host name.
owner@owner-laptop:~$
I am new with this ( only working with UBUNTU 2 days ago ….) . How can I fix it ???
Thank you
September 24th, 2008 at 6:05 pm
Hi Guys
Big congratulations for all ubuntu/linux team. My Acer aspire 5520 now flies over the waves of my wifi card. You are really powerfull!
I have some additional remarks. The procedure over here introduce some bad characters (such as “) in the blacklist and modules files which must be edited to del these chars!
Tanks again
Wladimyr
September 25th, 2008 at 9:15 pm
OK a few updates to this especially if your running on an Acer Aspire variant:
First go to System–>Administration–>Hardware Drivers” and disable by un-ticking the following options
Atheros Hardware Access Layer (Hal)
Support for Atheros 802.11 wireless cards
Then Reboot your system.
Open a terminal and enter the following commands:
sudo apt-get update
sudo apt-get install build-essential
Now go to this site and check for the latest version of the hal:
http://snapshots.madwifi.org/madwifi-hal-0.10.5.6/
(As of writing this it was madwifi-hal-0.10.5.6-r3861-20080903)
Now more terminal stuff (replace “*” with the latest builds numbers)
wget http://snapshots.madwifi.org/madwifi-hal-0.10.5.6/madwifi-hal-0.10.5.6-r****-********.tar.gz
tar xfz madwifi-hal-0.10.5.6-r****-********.tar.gz
cd madwifi-hal-0.10.5.6-r****-*********
make
sudo make install
sudo modprobe ath_pci
*****Close any windows and save anything before entering the next command!!!****
sudo reboot
Once logged back in go to System–>Administration–>Hardware Drivers” and enable by ticking the following option
Atheros Hardware Access Layer (Hal)
Support for Atheros 802.11 wireless cards
Then Reboot your system. Once it’s back up you should be able to see wirless networks by clicking the network icon on the panel.
I can confirm that this worked on an Acer Aspire 5720Z
Good luck
September 26th, 2008 at 3:14 am
I’m such a noob to ubuntu… I would love use this OS.
I did everything you ask and my output was this
wesley@wesley-laptop:~$ tar xfz madwifi-hal-0.10.5.6-r3698-20080604.tar.gz
wesley@wesley-laptop:~$ cd madwifi-hal-0.10.5.6-rr3698-20080604.tar.gz
bash: cd: madwifi-hal-0.10.5.6-rr3698-20080604.tar.gz: No such file or directory
wesley@wesley-laptop:~$ make
make: *** No targets specified and no makefile found. Stop.
wesley@wesley-laptop:~$ sudo make install
make: *** No rule to make target `install’. Stop.
wesley@wesley-laptop:~$ sudo modprobe ath_pci
WARNING: /etc/modprobe.d/blacklist line 40: ignoring bad line starting with ‘“blacklist’
wesley@wesley-laptop:~$
So what I’m I doing wrong… Please help!!!
September 26th, 2008 at 4:29 pm
This works, thanks. Also remember to go into the Host area in your networking properties area and clear out all the defaults. My guess is you should clear out everything. You would only need host addresses if you have a Domain server sitting in your basement and if that is the case, you probably already know how to set up a wireless and wired network.
September 27th, 2008 at 2:38 am
Same problem like Bill (poster 21)
Scripting worked without errors, driver installed via ndiswrapper, wlan receiver is being recognized, correct config via nm-applet, I can connect to every network out there but still when opening the next best browser -> happens nothing… :/
Specs.
Ubuntu Studio 8.04 hardy AMD64
adapter - AR242x
little guidance pls?
September 28th, 2008 at 1:38 pm
I used these instructions with Compaq C700 and it worked perfectly. Thanks a million.
September 28th, 2008 at 6:20 pm
ba5ik7,
Try doing:
wesley@wesley-laptop:~$ cd madwifi-hal-0.10.5.6-rr3698-20080604
If your post is straight from your terminal, then you still had the tarball extension (tar.gz) in the file name when you tried to change directories. That gets dropped in the previous step (tar xfz).
If you continue to have problems with the steps just post again and I’ll try and get back to you as soon as I can.
Dirk Zwart, That’s good advice about the host file. If anyone reading this is not familiar with the host file or how to get into it, open the terminal and enter:
sudo gedit /etc/hosts
However it’s still advisable to copy and paste the contents into another text file prior to clearing the list just to be on the safe side.
October 9th, 2008 at 12:28 am
Installed ubuntu 8.10, disabled the drivers from system->administration->hardware drivers… Reboot and wifi started to work. Weird. Tried all madwifi and ndiswrapper and stuff before… nothing worked…
Hope this helps someone…
I’ve Sony Vaio Nr220e.. with some atheros card…
October 10th, 2008 at 10:23 pm
I’m using 8.04 and I have two (?!?!) wireless adapters, when I look under network adapters in Vista.
The first is atheros AR5007EG and the second is realtek RTL8101E.
When I try the steps above with either wget http://snapshots.madwifi.org/special/madwifi-ng-r2756+ar5007.tar.gz
or wget http://snapshots.madwifi.org/special/madwifi-nr-r3366+ar5007.tar.gz it gives me the error “resolving snapshots.madwifi.org… failed: Name or service not known”
How do you know if you have i386 or AMD 64?
Thanks
October 11th, 2008 at 12:21 am
NaomiB
Try following the steps in reply #95. The original instructions are a bit out of date, and that particular build of madwifi is no longer available. If you have problems post back and I will try and help as best as I can.
October 11th, 2008 at 12:26 am
PS NaomiB; in Vista that RealtekRTL81013 is the “wired” network chip (for a cat5 cable), and the Atheros AR5007EG is the “Wireless” chip.
October 11th, 2008 at 10:14 pm
Thanks for that!
I did all of the steps in #95 successfully but I still don’t have a wireless connection.
On my connection properties dialogue box, I have two names: eth0 and lo. Does that mean it’s partially worked?
October 11th, 2008 at 11:45 pm
errr. second time typing this with an injured wrist…:P
NamoiB,
Try right clicking on the network icon to the right of the top panel and make sure that “Enable Networking” and “Enable Wireless” are both checked.
Then open a terminal:
sudo ifconfig
copy and paste the contents into a new post so I can see what you have going on. Also check System>Administration>Hardware Drives, and just make sure that both of these boxes are checked:
Atheros Hardware Access Layer (Hal)
Support for Atheros 802.11 wireless cards
Let me know what you find out, and I’ll try and point you in the right direction.
October 19th, 2008 at 9:21 pm
This is what i get from ifconfig….
ath0 Link encap:Ethernet HWaddr 00:1b:9e:52:64:ce
inet6 addr: fe80::21b:9eff:fe52:64ce/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
eth0 Link encap:Ethernet HWaddr 00:1b:38:41:eb:23
inet addr:192.168.0.5 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::21b:38ff:fe41:eb23/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2284 errors:0 dropped:0 overruns:0 frame:0
TX packets:2254 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2548775 (2.4 MB) TX bytes:320417 (312.9 KB)
Interrupt:220
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1478 errors:0 dropped:0 overruns:0 frame:0
TX packets:1478 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:73900 (72.1 KB) TX bytes:73900 (72.1 KB)
wifi0 Link encap:UNSPEC HWaddr 00-1B-9E-52-64-CE-00-00-00-00-00-00-00-00-00-00
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:585 errors:0 dropped:0 overruns:0 frame:546
TX packets:176 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:280
RX bytes:59740 (58.3 KB) TX bytes:8096 (7.9 KB)
Interrupt:16
Thanks!
October 22nd, 2008 at 10:13 am
Mine is Presario C700 using AR5007 wireless card.
OS installed is Ubuntu 8.04 Hardy.
Here’s what I did to get my wireless card working.
1.) disable atheros hardware access layer (System > Administration > Hardware Drivers)
2.)
sudo reboot3.)
wget http://snapshots.madwifi.org/madwifi-hal-0.10.5.6/madwifi-hal-0.10.5.6-r3861-20080903.tar.gz4.)
tar -xvf madwifi-hal-0.10.5.6-r3861-20080903.tar.gz5.)
cd madwifi-hal-0.10.5.6-r3861-200809036.)
sudo make install7.)
sudo modprobe ath_pci8.)
sudo rebootThen that’s it. Works like a charm
November 1st, 2008 at 8:58 pm
Well, this works great on Ibis as well, so good news. Bad news is that the location of madwifi has changed due to a new revision, as well as the filename.
It needs to be changed to: (For the i386)
sudo apt-get install build-essential
wget http://snapshots.madwifi.org/madwifi-hal-0.10.5.6/madwifi-hal-0.10.5.6-r3861-20080903.tar.gz
tar xfz madwifi-hal-0.10.5.6-r3861-20080903.tar.gz
cd madwifi-hal-0.10.5.6-r3861-20080903
make
sudo make install
sudo modprobe ath_pci
sudo reboot
November 1st, 2008 at 8:59 pm
Errr, whoops, Ibex I mean. ><
November 2nd, 2008 at 12:47 am
Glad to hear that things are working good in Ibex. For anyone planning to stick with Hardy through the supported period (like myself), a word of caution if you haven’t already figured it out. When kernel updates are applied (you’ll notice the “Updates are ready for your computer” button on the panel. A window will pop up with a list of updates…kernel updates are listed in there). You most likely will have to follow this procedure again. I have attempted to get this working on the .20 kernel a couple weeks ago and had some issues. .21 was out last I checked but haven’t messed with it. Your options are to plan on running through this procedure each time there is a kernel update or not apply kernel updates at all. There are those who will argue for and against either option so it’s totally up to your personal discretion…I will not be advocating either way.
NaomiB,
Sorry I’ve neglected your earlier post…
Try the following one more time reboot then give it another shot(skipping the “build-essential” part in the instructions)
sudo apt-get install build-essential
Also if you haven’t recently run all of your updates, and try again.
November 2nd, 2008 at 6:56 pm
madwifi.org is unreachable. Is there another way to get madwifi-hal-0.10.5.6
Does someone can share it?
Thank you
November 2nd, 2008 at 7:47 pm
Try here:
http://www.madwifi.net/
November 2nd, 2008 at 8:19 pm
Thank’s Mr Potter,
There is no link to the new file but a link to madwifi.org wich is no longer available. If you find another link, it will be welcome…
November 3rd, 2008 at 12:33 am
If all else fails try a search at sourceforge, and see if they have it listed there…
November 3rd, 2008 at 2:36 am
I have temporarily uploaded a copy of madwifi-hal-0.10.5.6 here: http://www.frietz.net/blog/?p=19
Hope it helps.
November 9th, 2008 at 7:28 pm
The correct address for madwifi is:
http://snapshots.madwifi-project.org/madwifi-hal-0.10.5.6/
Ok, once I got these instructions done, I got the wireless set up, but for some reason, it’s not able to connect to the router wirelessly. I’m also using 8.10.
November 10th, 2008 at 12:03 am
everthings works fine thanks thanks thanks
November 18th, 2008 at 6:07 pm
I’ve just changed to Ibex, and I’ve repeated these steps again. I still can’t get it to work!
Any ideas?
November 18th, 2008 at 9:41 pm
If you try to look at my post #108, those are the exact steps I’ve made with my laptop.
But here’s the catch: I’ve done those steps also in another laptop. Guess what? It didn’t work.
Weird.
But here’s what I did. I clicked on Hardware Drivers in System > Administration > Hardware Drivers.
Then I disabled “Support for 5xxx series of Atheros 802.11 wireless LAN cards” (this is apart from Atheros Hardware Access Layer”). Am not sure if you have that option. You might as well disable that option if you have it enabled.
Then, well, yes I rebooted the laptop. It didn’t work.
So I run
sudo modprobe ath_pci. It worked.Just to make sure I don’t keep on typing the same command when I reboot the laptop the next time around, I do
sudo vim /etc/modulesand append “ath_pci” (without the quotes of course). Then I saved the file.Again, I don’t know if this will work on your case. But you can try.