Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > Networking & Wireless
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.

Networking & Wireless
Having problems getting connected to the internet or getting your wireless card to work? Ask here.

View Poll Results: Did this work for you?
Yes, it worked; I used it for a AR5007EG 123 56.16%
Yes, it worked; I used it for a different Atheros chipset 29 13.24%
No, I tried it on an AR5007EG and it didn't work 53 24.20%
No, but I tried it on something other than an AR5007EG 14 6.39%
Voters: 219. You may not vote on this poll

 
Thread Tools Display Modes
Old July 29th, 2007   #1
bmartin
Skinny Soy Caramel Ubuntu
 
bmartin's Avatar
 
Join Date: Jan 2007
Location: Norfolk, VA
Beans: 679
Ubuntu 8.04 Hardy Heron
Send a message via AIM to bmartin
HOWTO: Atheros AR5007EG on Feisty Fawn (with ndiswrapper)

If you're running a 32-bit OS, this method is deprecated. I recommend the native linux driver instead.

If you're running a 64-bit OS, use the method below.


Make sure you use the appropriate version of the drivers for your version of Linux. If you're using a 64-bit version of Linux, you must use 64-bit drivers. You can check this using the following command:
Code:
getconf LONG_BIT
I personally recommend using the wicd program for WiFi connectivity. It boasts built-in WPA support and has been successful where other network connection manager programs have failed.

This chipset showed up on my Acer Aspire 5050-3785. The lspci program spit out the following info:
Code:
Atheros Unknown device 001c (rev 01)
It also has been incorrectly labeled as an AR5006X device, in some cases.

Here is a step by step procedure to install the drivers manually (in case you don't want to use the script I wrote, or if it doesn't work properly). Open a terminal and copy/paste the following lines:

1a. Download the ndiswrapper source code and AR5007EG Windows drivers:
Code:
http://wifix.sourceforge.net/software.php?title=ndiswrapper
1b. Download the AR5007EG Windows XP drivers:
If you're using a 32-bit version of Linux, use this command:
Code:
wget http://blakecmartin.googlepages.com/ar5007eg-32-0.2.tar.gz
For 64-bits of blazing WiFi glory, use this:
Code:
wget http://blakecmartin.googlepages.com/ar5007eg-64-0.2.tar.gz
2. Extract the archives:
Code:
tar xvf ar5007eg-*.tar.gz
tar xvf ndiswrapper-newest.tar.gz
3. Ensure you have your kernel headers and the build essential package.
Code:
sudo aptitude update && sudo aptitude install linux-headers-$(uname -r) build-essential
4. Blacklist the ath_pci kernel module (it doesn't support our chipset).
Code:
echo "blacklist ath_pci" | sudo tee -a /etc/modprobe.d/blacklist
5. Compile ndiswrapper:
Code:
pushd ndiswrapper-*/
sudo make uninstall
make
sudo make install
popd
6. Install the Windows drivers (using ndiswrapper):
Code:
pushd */ar5007eg/
sudo ndiswrapper -i net5211.inf
popd
7. Make sure ndiswrapper loads up every time we start Linux:
Code:
sudo modprobe ndiswrapper
echo "ndiswrapper" | sudo tee -a /etc/modules
8. Restart your computer.
Code:
sudo init 6
=====
FAQ
=====
Q: Linux seems to see my device now, but it can't see any networks. What can I do now?
A: This frequently happens on built-in devices. There's usually either
  • A switch on your computer somewhere that toggles whether the wireless radio is on or off (BEWARE! Some of these are very unintuitive. The setting that may seem like "on" may be "on" and vice-versa.)
  • A keyboard combination that enables/disables the wireless connection (usually Fn+F2).
  • A setting in the BIOS that needs to be changed. This can be frustrating to track down. The BIOS is the program that loads before your OS. When your computer first boots, there's a key you can press to go into the system setup; look for a wireless setting in there that you can enable.

Q: I can see wireless networks. Why can't connect to any of them?
A: There are a couple options to try here. If you're using WICD to connect and WPA encryption, under preferences, make sure that for WPA Supplicant Driver, you're using WEXT (make sure you've installed WPA_Supplicant). If you're using WEP, try putting your key in "double quotes". If you can't connect to an encrypted network, try removing they key to see if that's the problem. If you're not using WICD, try it out; many people have been successful simply after switching the wireless connection manager program to WICD.

Q: None of this worked. I'm no closer to having my wireless working than I was when I first installed my OS. What's wrong?
A: Try running sudo modprobe ndiswrapper; the program should run silently. If you get any output, there's a problem. If the ndiswrapper,ko file can't be found, run sudo depmod -ae, then try sudo modprobe ndiswrapper again.

If you installed your OS a long time ago, some people have had better success with a fresh install. Try installing the drivers while running from the Live CD.
=====
EDIT: I removed the instructions for using the script. It seemed to not work for anyone other than me. I checked it over several times and couldn't figure out why. The instructions and the script seem to perform the same set of operations.

Last edited by bmartin; May 13th, 2008 at 06:58 AM..
bmartin is offline   Reply With Quote
Old July 30th, 2007   #2
ryscar
First Cup of Ubuntu
 
Join Date: Aug 2006
Location: Mesa, AZ
Beans: 12
Ubuntu 7.04 Feisty Fawn
Re: HOWTO: Atheros AR5007EG on Feisty Fawn (with ndiswrapper)

Thanks for the howto, unfortunately, it did not work for me. I copy/pasted everything and received no errors. I would appreciate your help in getting this working. The results of lshw -C network show that the adapter is still unclaimed.

Additional Info:
Fresh install of 7.04 w/updates
Acer Aspire 3680-2682
AR5007EG as reported by Vista

Please let me know if you can give me a hand on this. If you need some logs, just let me know. Also, I have no reservations about a fresh install at any time.

Thanks in advance!
Ryan

**UPDATE**
Well, I got it working. Not too sure how I did it but, I will figure that part out in a week or so (family visiting). I know I am using the latest ndiswrapper and the drivers linked to from here: http://ivangarcia.org/blog/?p=13.

Thanks for getting me started in the right direction and when I get some time, I will update this to reflect what worked for me.

Last edited by ryscar; July 31st, 2007 at 02:13 AM.. Reason: UPDATE
ryscar is offline   Reply With Quote
Old July 31st, 2007   #3
bmartin
Skinny Soy Caramel Ubuntu
 
bmartin's Avatar
 
Join Date: Jan 2007
Location: Norfolk, VA
Beans: 679
Ubuntu 8.04 Hardy Heron
Send a message via AIM to bmartin
Re: HOWTO: Atheros AR5007EG on Feisty Fawn (with ndiswrapper)

Good to know the method worked. Please send me the steps you took to make it work (i.e. how it differs from my method).

Last edited by bmartin; July 31st, 2007 at 03:04 PM..
bmartin is offline   Reply With Quote
Old August 1st, 2007   #4
skaz
First Cup of Ubuntu
 
Join Date: Jan 2006
Beans: 4
Re: HOWTO: Atheros AR5007EG on Feisty Fawn (with ndiswrapper)

I ran your script but I'm still having trouble.

dmesg shows that ndiswrapper 1.47 is loaded.

ndiswrapper -l displays

net5211 : driver installed
device (168C:001C) present (alternate driver: ath_pci)


..but I get nothing else. This is an Acer Aspire 5570Z (5570-2690). Fresh install of Ubuntu, installed nothing else yet.
skaz is offline   Reply With Quote
Old August 1st, 2007   #5
msingletary
5 Cups of Ubuntu
 
msingletary's Avatar
 
Join Date: Sep 2006
Location: Fullerton, CA
Beans: 17
Ubuntu 7.04 Feisty Fawn
Send a message via AIM to msingletary
Re: HOWTO: Atheros AR5007EG on Feisty Fawn (with ndiswrapper)

Quote:
Originally Posted by skaz View Post
I ran your script but I'm still having trouble.

dmesg shows that ndiswrapper 1.47 is loaded.

ndiswrapper -l displays

net5211 : driver installed
device (168C:001C) present (alternate driver: ath_pci)


..but I get nothing else. This is an Acer Aspire 5570Z (5570-2690). Fresh install of Ubuntu, installed nothing else yet.
I get the same... followed the directions and everything looks to be running okay but still no wireless.
msingletary is offline   Reply With Quote
Old August 1st, 2007   #6
ryscar
First Cup of Ubuntu
 
Join Date: Aug 2006
Location: Mesa, AZ
Beans: 12
Ubuntu 7.04 Feisty Fawn
Re: HOWTO: Atheros AR5007EG on Feisty Fawn (with ndiswrapper)

I just did a fresh install and followed the directions from the link below and everything went smooth. The only thing I did differently is on the last two steps I had to use sudo. Anyhow, wireless is working!!

http://docs.google.com/View?docid=dtvgpkz_46fv8dwf

Ryan
ryscar is offline   Reply With Quote
Old August 1st, 2007   #7
msingletary
5 Cups of Ubuntu
 
msingletary's Avatar
 
Join Date: Sep 2006
Location: Fullerton, CA
Beans: 17
Ubuntu 7.04 Feisty Fawn
Send a message via AIM to msingletary
Re: HOWTO: Atheros AR5007EG on Feisty Fawn (with ndiswrapper)

Quote:
Originally Posted by ryscar View Post
I just did a fresh install and followed the directions from the link below and everything went smooth. The only thing I did differently is on the last two steps I had to use sudo. Anyhow, wireless is working!!

http://docs.google.com/View?docid=dtvgpkz_46fv8dwf

Ryan
Strange! I tried those as well and couldn't get it to work.
msingletary is offline   Reply With Quote
Old August 5th, 2007   #8
balk
First Cup of Ubuntu
 
Join Date: Aug 2007
Beans: 1
Talking Re: HOWTO: Atheros AR5007EG on Feisty Fawn (with ndiswrapper)

Quote:
Originally Posted by ryscar View Post
I just did a fresh install and followed the directions from the link below and everything went smooth. The only thing I did differently is on the last two steps I had to use sudo. Anyhow, wireless is working!!

http://docs.google.com/View?docid=dtvgpkz_46fv8dwf

Ryan
Thank you so much!! it is working now.

For the search:
wlan on Acer Aspire 3680 - 2682
Atheros AR5BXB63 wifi (as indicated on bottom of laptop)
chipset AR5007EG

happy

now wait for video enabled skype and I can throw away vista completely
balk is offline   Reply With Quote
Old August 1st, 2007   #9
ryscar
First Cup of Ubuntu
 
Join Date: Aug 2006
Location: Mesa, AZ
Beans: 12
Ubuntu 7.04 Feisty Fawn
Re: HOWTO: Atheros AR5007EG on Feisty Fawn (with ndiswrapper)

Did the process fail at some point or did it complete successfully but still no wireless? I know when I first tried to compile ndiswrapper, I had forgot to do an apt-get install g++ to get the things I needed.
ryscar is offline   Reply With Quote
Old August 1st, 2007   #10
msingletary
5 Cups of Ubuntu
 
msingletary's Avatar
 
Join Date: Sep 2006
Location: Fullerton, CA
Beans: 17
Ubuntu 7.04 Feisty Fawn
Send a message via AIM to msingletary
Re: HOWTO: Atheros AR5007EG on Feisty Fawn (with ndiswrapper)

Quote:
Originally Posted by ryscar View Post
Did the process fail at some point or did it complete successfully but still no wireless? I know when I first tried to compile ndiswrapper, I had forgot to do and apt-get install g++ to get the things I needed.
Everything went through properly without any errors. Wireless just refuses to work.
msingletary is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:05 AM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry