After alot of toying around trying to find how I can get my wireless working in my Acer Aspire Laptop I came across this post.
The originally post is in German.
I have place the contents below.
If you have Atheros AR5007 wireless network adapter follow this procedure to make it work in ubuntu 8.04
First make sure of your Network card. But do be careful, for some reason it might report back to being AR5006 or might come up as Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)
More than likely if you get either one of those reported back to you it is in fact AR5007.
Run this code in your terminal
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
Go to System->Administration->Software Sources
Make sure you have "Universe" & "Multiverse" checked.
Then open the terminal from Applications–>Accessories–>Terminal and copy the following command
That’s it now your wireless should work without any problem.
sudo apt-get install build-essential
tar xfz madwifi-ng-r2756+ar5007.tar.gz
sudo make install
sudo modprobe ath_pci
PROCEDURE FOR UBUNTU HARDY HERON 64 bits USERS
(NEW INFO PROVIDED BY ANDUU FOR YOU 64BIT USERS. GO TO HIS THREAD:http://ubuntuforums.org/showthread.php?t=816780 AND THANK BRAVEERUDITE FOR POINTING THIS OUT)
64-bit users please let me know if the above solution works.
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 build the essential package. Use Synaptic or:
Use Synaptic or:
sudo aptitude update
sudo aptitude install linux-headers-$ (uname-r) build-essential
Get 64 bits XP drivers from blakemartin:
sudo apt-get install ndisgtk
Blacklist the default driver
tar xvf ar5007eg-*.tar.gz tar xvf ar5007eg tar.gz-*.
tar xvf ndiswrapper-newest.tar.gz
Load Ndiswrapper and XP driver:
echo “blacklist ath_pci” | sudo tee -a /etc/modprobe.d/blacklist
Load up ndiswrapper every time Linux is loaded
sudo ndiswrapper -i net5211.inf Sudo ndiswrapper-i net5211.inf
Restart your system using the following command Restart your system using the following command
sudo modprobe ndiswrapper Sudo modprobe ndiswrapper
echo “ndiswrapper” | sudo tee -a /etc/modules
At this point your network card must work OK 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 does not work anymore (maybe find networks but can not 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 TURNS YOU 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)
Save the file as subirwifi
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
sed ’s/blacklist ath_pci/#blacklist ath_pci/g’ /etc/modprobe.d/blacklist>blacklist3
mv blacklist3 /etc/modprobe.d/blacklist blacklist3 /etc/init.d/networking restart
Copy file into / etc / init.d and change file mode
Now we need to make a symbolic link in / etc/rc5.d to load driver before X server starts.
sudo cp subirwifi /etc/init.d subirwifi
Go to / etc/rc5.d
if all was correct you should see a line like this when you do lrwxrwxrwx …………… S09subirwifi -> /ect/init.d/subirwifi
sudo ln -s /etc/init.d/subirwifi S09subirwifi
reboot your system and… Luck!!!
Thanks to all who contribute to make Linux grow up, and specially to Victor Nieto for the script.