![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
|
Tutorials & Tips The place to find Ubuntu related Tips & Tricks. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Grande Half-n-Half Cinnamon Ubuntu
![]() |
Atheros 5007 Wifi Chipset Hardy (8.04LTS) Install
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 Code:
lspci 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 Code:
sudo apt-get install build-essential 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 sudo make sudo make install sudo modprobe ath_pci sudo reboot 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: Code:
sudo aptitude update sudo aptitude install linux-headers-$ (uname-r) build-essential Install ndisgtk. Code:
sudo apt-get install ndisgtk Code:
wget http://blakecmartin.googlepages.com/ar5007eg-64-0.2.tar.gz tar xvf ar5007eg-*.tar.gz tar xvf ar5007eg tar.gz-*. tar xvf ndiswrapper-newest.tar.gz Code:
echo “blacklist ath_pci” | sudo tee -a /etc/modprobe.d/blacklist Code:
sudo ndiswrapper -i net5211.inf Sudo ndiswrapper-i net5211.inf Code:
sudo modprobe ndiswrapper Sudo modprobe ndiswrapper echo “ndiswrapper” | sudo tee -a /etc/modules Code:
sudo reboot (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) Code:
#! 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 blacklist3 /etc/init.d/networking restart Copy file into / etc / init.d and change file mode Code:
sudo cp subirwifi /etc/init.d subirwifi Go to / etc/rc5.d Code:
sudo ln -s /etc/init.d/subirwifi S09subirwifi Code:
ls -l reboot your system and… Luck!!! Thanks to all who contribute to make Linux grow up, and specially to Victor Nieto for the script.
__________________
Our only ignorance is our own intelligence Linux Is not Windows | Atheros 5007 Wifi Chipset Hardy (8.04LTS) Install| Linux user number 479043 | Ubuntu User number is # 24065 http://www.creative-funds.com Last edited by k33bz; June 8th, 2008 at 04:54 PM.. |
|
|
|
|
|
#2 |
|
Ubuntu Extra Shot
![]() |
Re: Atheros 5007 Wifi Chipset Hardy (8.04LTS) Install
Hi k33bz,
the org. German link is local /media/disk. Does that mean you have a German USB stick?
__________________
Intel C2D 2.4 GHZ on mobo Intel 965RY, Intrepid 32 bit Don't forget to thank; more points when you want to go to heaven or less karma if you decide for reincarnation. Mark threads solved when they are ... |
|
|
|
|
|
#3 | |
|
Grande Half-n-Half Cinnamon Ubuntu
![]() |
Re: Atheros 5007 Wifi Chipset Hardy (8.04LTS) Install
Quote:
cant seem to find that link now, so I will just remove the link I have here.
__________________
Our only ignorance is our own intelligence Linux Is not Windows | Atheros 5007 Wifi Chipset Hardy (8.04LTS) Install| Linux user number 479043 | Ubuntu User number is # 24065 http://www.creative-funds.com Last edited by k33bz; May 22nd, 2008 at 05:55 PM.. |
|
|
|
|
|
|
#4 |
|
Grande Half-n-Half Cinnamon Ubuntu
![]() |
Re: Atheros 5007 Wifi Chipset Hardy (8.04LTS) Install
Regarding the ndiswrapper 64 bit method:
I am in a bit of a pickle.... Everything goes well up until using the script on reboot.As far as I can tell I did everything correctly regarding copying and symlinking it however it doesn't seem to have any effect.I can see wireless networks but cannot connect. Once rebooted if I run the script manually ie sudo sh /etc/init.d/subirwifi I can usually get connected.Sometimes I have to disable/re-enable wireless through the network manager to be able to connect. During my testing on the odd occasion I have been able to get connected without doing anything! Something kinda flakey is going on here...any ideas.
__________________
What color do Smurfs turn when you choke em? ![]() ____________________________
|
|
|
|
|
|
#5 | |
|
Grande Half-n-Half Cinnamon Ubuntu
![]() |
Re: Atheros 5007 Wifi Chipset Hardy (8.04LTS) Install
Quote:
__________________
Our only ignorance is our own intelligence Linux Is not Windows | Atheros 5007 Wifi Chipset Hardy (8.04LTS) Install| Linux user number 479043 | Ubuntu User number is # 24065 http://www.creative-funds.com |
|
|
|
|
|
|
#6 |
|
Grande Half-n-Half Cinnamon Ubuntu
![]() |
Re: Atheros 5007 Wifi Chipset Hardy (8.04LTS) Install
Well I think I have it sorted out now....I added
Code:
/etc/init.d/networking restart
__________________
What color do Smurfs turn when you choke em? ![]() ____________________________
|
|
|
|
|
|
#7 |
|
Grande Half-n-Half Cinnamon Ubuntu
![]() |
Re: Atheros 5007 Wifi Chipset Hardy (8.04LTS) Install
Sounds good, for others I will add that at the end of the script I have up there.
SCRIPT FIXED
__________________
Our only ignorance is our own intelligence Linux Is not Windows | Atheros 5007 Wifi Chipset Hardy (8.04LTS) Install| Linux user number 479043 | Ubuntu User number is # 24065 http://www.creative-funds.com Last edited by k33bz; May 23rd, 2008 at 05:31 AM.. Reason: Fixing the script, thanks for the help Anduu |
|
|
|
|
|
#8 |
|
A Carafe of Ubuntu
![]() Join Date: May 2008
Beans: 140
|
Re: Atheros 5007 Wifi Chipset Hardy (8.04LTS) Install
I got this method working once, but after restart I could not connect to wireless anymore. I haven't tried going through the steps again, but I am pretty sure that would allow me to connect again; is there a way around having to go through the steps each reboot?
Just a note: I'm running i386 / 32 bit or whatever and followed the first set on instructions. EDIT: Okay, running the instructions starting from cd madwifi-ng-r2756+ar5007 works, but is there a way to not have to go through the instructions from there each time I reboot when the wireless works? Last edited by Jaded Misanthrope; May 26th, 2008 at 07:18 PM.. |
|
|
|
|
|
#9 | |
|
Grande Half-n-Half Cinnamon Ubuntu
![]() |
Re: Atheros 5007 Wifi Chipset Hardy (8.04LTS) Install
Quote:
MMMM, I am not sure about that, I only did these instructions once, never had a problem after rebooting. Only thing I can suggest is to go over the steps again, and make sure you did everything. sorry.
__________________
Our only ignorance is our own intelligence Linux Is not Windows | Atheros 5007 Wifi Chipset Hardy (8.04LTS) Install| Linux user number 479043 | Ubuntu User number is # 24065 http://www.creative-funds.com |
|
|
|
|
|
|
#10 |
|
A Carafe of Ubuntu
![]() Join Date: May 2008
Beans: 140
|
Re: Atheros 5007 Wifi Chipset Hardy (8.04LTS) Install
Yeah, I just rebooted after going to bed last night and I could connect to my router straight away; not sure what happened--hopefully it'll work like that all the time now.
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|