PDA

View Full Version : HOWTO: Atheros AR5007EG on Feisty Fawn (with ndiswrapper)


Pages : [1] 2

bmartin
July 29th, 2007, 07:52 PM
If you're running a 32-bit OS, this method is deprecated. I recommend the native linux driver (http://ubuntuforums.org/showthread.php?t=792158) 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:
getconf LONG_BIT

I personally recommend using the wicd (http://blakecmartin.googlepages.com/wicd.html) 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:
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:
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:
wget http://blakecmartin.googlepages.com/ar5007eg-32-0.2.tar.gz
For 64-bits of blazing WiFi glory, use this:
wget http://blakecmartin.googlepages.com/ar5007eg-64-0.2.tar.gz
2. Extract the archives:
tar xvf ar5007eg-*.tar.gz
tar xvf ndiswrapper-newest.tar.gz
3. Ensure you have your kernel headers and the build essential package.
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).
echo "blacklist ath_pci" | sudo tee -a /etc/modprobe.d/blacklist
5. Compile ndiswrapper:
pushd ndiswrapper-*/
sudo make uninstall
make
sudo make install
popd
6. Install the Windows drivers (using ndiswrapper):
pushd */ar5007eg/
sudo ndiswrapper -i net5211.inf
popd
7. Make sure ndiswrapper loads up every time we start Linux:
sudo modprobe ndiswrapper
echo "ndiswrapper" | sudo tee -a /etc/modules
8. Restart your computer.
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.

ryscar
July 30th, 2007, 11:04 AM
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.

bmartin
July 31st, 2007, 02:51 PM
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).

skaz
August 1st, 2007, 09:49 AM
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.

msingletary
August 1st, 2007, 10:26 AM
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.

ryscar
August 1st, 2007, 12:04 PM
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

msingletary
August 1st, 2007, 12:07 PM
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.

ryscar
August 1st, 2007, 12:11 PM
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.

msingletary
August 1st, 2007, 12:12 PM
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.

fischer98
August 1st, 2007, 12:58 PM
This does not work for me. I have an AR5007EG on a Toshiba U305-5077. I followed the manual instructions you listed here. After the modprobe command on step 7, I looked at a dmesg output, and this is what I saw:

[ 1438.516000] ndiswrapper version 1.47 loaded (smp=yes)
[ 1438.532000] ndiswrapper: driver net5211 (,01/20/2006,4.2.2.7) loaded
[ 1438.532000] PCI: Enabling device 0000:06:00.0 (0000 -> 0002)
[ 1438.532000] ACPI: PCI Interrupt 0000:06:00.0[A] -> GSI 19 (level, low) -> IRQ 19
[ 1438.532000] PCI: Setting latency timer of device 0000:06:00.0 to 64
[ 1438.532000] ndiswrapper (NdisWriteErrorLogEntry:192): log: C0001389, count: 4, return_address: f90645d4
[ 1438.532000] ndiswrapper (NdisWriteErrorLogEntry:195): code: 0xdf820200
[ 1438.532000] ndiswrapper (NdisWriteErrorLogEntry:195): code: 0x28
[ 1438.532000] ndiswrapper (NdisWriteErrorLogEntry:195): code: 0xf8db8000
[ 1438.532000] ndiswrapper (NdisWriteErrorLogEntry:195): code: 0xf8db8000
[ 1438.532000] ndiswrapper (mp_init:216): couldn't initialize device: C000009A
[ 1438.532000] ndiswrapper (pnp_start_device:439): Windows driver couldn't initialize the device (C0000001)
[ 1438.536000] ndiswrapper (mp_halt:258 ): device f6749400 is not initialized - not halting
[ 1438.536000] ndiswrapper: device eth%d removed
[ 1438.536000] ACPI: PCI interrupt for device 0000:06:00.0 disabled
[ 1438.536000] ndiswrapper: probe of 0000:06:00.0 failed with error -22
[ 1438.540000] usbcore: registered new interface driver ndiswrapper

Basically, it looks like the driver does not work for my card. Any thoughts?

ryscar
August 1st, 2007, 01:50 PM
That was the same thing I was getting. I think it has something to do with the driver included in the script but, I am not sure. It does appear to be older than the one that worked for me in the above post.

fischer98
August 1st, 2007, 03:10 PM
I got this working in Backtrack. I haven't tried ubuntu. I was just looking at this thread as an alternate info source. But considering I was getting the same errors in both, it should work for you too. You are right about the driver being old. You can get the latest drivers from here:

ftp://ftp.work.acer-euro.com/notebook/aspire_5100/driver/802ABG_Atheros_v5_1_1_9.zip

You'll need both the ar5211.sys and the net5211.inf files. With these new files, the instructions above worked for me.

fischer98
August 1st, 2007, 03:12 PM
Misread your post a bit. Looks like you already got it working. Anyway, the info is hear now for those who come after.

FYI, i found the latest drivers by doing a search on ndiswrapper's website, under their known working cards list:

http://ndiswrapper.sourceforge.net/joomla/index.php?/component/option,com_openwiki/Itemid,33/id,list/

Adntu
August 1st, 2007, 04:35 PM
Hi
I tried all the listed drivers, and I tried madwifi before, but all did not work, I tried the XP driver from Atheros.cz all with no success, I do not know what is the problem, any suggestions???
thanks

fischer98
August 1st, 2007, 05:28 PM
Mad wifi says specifically on their site that the AR5007EG will *not* work.

Did you download the drivers from the ftp site I provided? The instructions would not work for me until I got the latest drivers.

Adntu
August 1st, 2007, 06:42 PM
I tried these and all the others, at last I tried the XP driver I got from :
http://www.atheros.cz/download.php?atheros=AR5007EG&system=1
and that worked, now I am posting using wlan.
thanks guys

balk
August 5th, 2007, 04:26 PM
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

bmartin
August 5th, 2007, 10:09 PM
FYI, i found the latest drivers by doing a search on ndiswrapper's website, under their known working cards list:

http://ndiswrapper.sourceforge.net/joomla/index.php?/component/option,com_openwiki/Itemid,33/id,list/
Thank you. I uploaded the new drivers and modified the instructions accordingly.

overdrank
August 8th, 2007, 09:11 PM
Thanks it works, the short cut did not work but the long way did. Thanks a lot you just don't know how much that help. GREAT WORK!!!!!!!!!!

:guitar::guitar::guitar::guitar:

victorawesome
August 8th, 2007, 11:00 PM
Thanks so much ... I was struggling with this all day until I found this thread.

I've got a Toshiba Satellite Intel Pentium Dual Core T2080 1.73GHz Laptop (P200-RT1) if that helps anyone.

bmartin
August 10th, 2007, 03:03 PM
Sweet... so it looks like the script may work at this point, but the long way definitely does. I'm glad this has worked for a couple people, anyways.

I'm having a lot of trouble getting other things to work on my Acer Aspire 5050-3785. The ACPI is completely screwed up and the card reader is unsupported.

victorawesome
August 11th, 2007, 12:17 PM
I can't seem to get the wireless going when I reboot the labtop ... but if I shut it down and turn it on again it works great ... though it's not a big deal b/c I will rarely need to restart ubuntu :)

Has anyone else experienced this?

spike316
August 11th, 2007, 12:42 PM
Ok, so I have this installed and everything and it says it's working but I'm not getting anything... I still just have ethernet and modem connection in my connection options thing, and now rather than using the atheros hardware access layer in the list of drivers not in use it says it's not using it. It's enabled, but it's not in use. Help? Sorry, i'm kind of a noob at this.

*edit* I'm running this on an Acer Aspire 5100-5840 if that makes any difference.

bmartin
August 11th, 2007, 12:47 PM
So ndiswrapper -l indicates that ndiswrapper and the driver are OK and iwconfig indicates that you have a wireless device, but you can't connect? Try using the wifi-radar program. It's in the universe repo; the package name is wifi-radar.

spike316
August 11th, 2007, 01:00 PM
this is what i get with ndiswrapper -l:
net5211 : driver installed
device (168C:001C) present (alternate driver: ath_pci)
iwconfig:
lo no wireless extensions.

eth0 no wireless extensions.

so it looks like i installed things properly... but for some reason it's still not recognizing my card?

chadjohnson
August 11th, 2007, 01:27 PM
This tutorial worked for me (I did it the manual way, not sure about the script). I have an Acer Aspire 5050.

bmartin
August 11th, 2007, 01:31 PM
this is what i get with ndiswrapper -l:
net5211 : driver installed
device (168C:001C) present (alternate driver: ath_pci)
iwconfig:
lo no wireless extensions.

eth0 no wireless extensions.

so it looks like i installed things properly... but for some reason it's still not recognizing my card?
Try lsmod | grep ndiswrapper.

spike316
August 11th, 2007, 01:51 PM
Try lsmod | grep ndiswrapper.

ndiswrapper 239608 0
usbcore 154416 5 ndiswrapper,uvcvideo,ehci_hcd,ohci_hcd

bmartin
August 11th, 2007, 03:11 PM
How about trying the following?
sudo ifconfig wlan0 up
sudo ifconfig eth1 up
It's wlan0 on my computer. Perhaps it's being detected, but the interface is down for some reason.

chadjohnson
August 11th, 2007, 06:51 PM
Three things I noticed.


This only started working when I used wifi-radar. After that, I could run dhclient and get an IP address, but not before.
The newest drivers from Acer don't work, but the ones on this thread do. Why is that?
My connection is very fast in the same room as my router, but when I go across the house, it hardly works at all. It worked perfectly throughout the house with my other laptop on the same router settings.

bmartin
August 11th, 2007, 07:40 PM
This only started working when I used wifi-radar. After that, I could run dhclient and get an IP address, but not before.
For this reason, I recommend wifi-radar whenever someone has trouble. In fact, I'll modify the instructions to include this recommendation.

The newest drivers from Acer don't work, but the ones on this thread do. Why is that?
I'd like to know the same thing. When I originally built this thread, I had a couple different Windows drivers on my computer, and I must've picked the wrong ones for the script because the first two people who tried this install had no success. They figured out the problem. I then downloaded the drivers they claimed worked, and ever since then, this has worked for everyone.

I think there's a difference between using the Vista and XP drivers, and I've heard people say that Windows drivers updates can affect your Linux WiFi. There are a lot of "unexplained" wireless phenomena. Personally, I haven't had any problem with either of my WiFi chipsets (I also have a Broadcom 4318 (http://ubuntuforums.org/showthread.php?p=3174150#post3174150) chipset). The fact that I don't use Windows on either computer is probably why I've had more luck than many other people.

My connection is very fast in the same room as my router, but when I go across the house, it hardly works at all. It worked perfectly throughout the house with my other laptop on the same router settings.
Some chipsets send/receive signals better than others. Have you compared it to the strength in Windows? If there's disparity between the OS's, my guess is it's ndiswrapper's fault (ndiswrapper is a work-in-progress, but it's pretty stable).

chadjohnson
August 11th, 2007, 08:55 PM
Have not tried it in Windows -- I should have before I formatted it. Oh well. I have the recovery discs, so maybe someday.

spike316
August 11th, 2007, 10:23 PM
How about trying the following?
sudo ifconfig wlan0 up
sudo ifconfig eth1 up
It's wlan0 on my computer. Perhaps it's being detected, but the interface is down for some reason.

that doesn't seem to work either:
wlan0: ERROR while getting interface flags: No such device

and chad: your internet card on your other laptop is probably just better than the one you have on this one.

ntlam
August 16th, 2007, 03:55 PM
I got the same problems
everything seemed OK when being installed but no wireless
iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

BTW, i have a satellite u305-5077
atheros ar5007eg

Any one here has the same laptop and already succeeded?

ntlam
August 16th, 2007, 06:04 PM
Here's what i did:

Step 1: Disable ath_pci

sudo rmmod ath_pci
sudo gedit /etc/modprobe.d/blacklist-common

add the following line at the end of the file

blacklist ath_pci

Save and close

Restart computer

step 2. remove old ndiswrapper by using synaptics

Step 3: Build essentials
Use the synaptic package manager
Install the package called "build-essential" in the group called "Development"
But I already got it installed

Step 4: Install Ndiswrapper.

Go to http://sourceforge.net/project/showf...group_id=93482
Download ndiswrapper-1.47.tar.gz to folder /home/username

Code:

cd /home/username/
sudo tar xvzf ndiswrapper-1.47.tar.gz
cd /home/username/ndiswrapper-1.47/
sudo make
sudo make install

Step 5: Load drivers with ndiswrapper.
sudo ndiswrapper -i net5211.inf

installing net5211 ...

forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
........ a lot of lines like above...

then:
sudo ndiswrapper -l
net5211 : driver installed
device (168C:001C) present (alternate driver: ath_pci)

Step 6: Load ndiswrapper and check if it worked
sudo modprobe ndiswrapper

Check it:
iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

Then I did:

sudo ndiswrapper -m


But no wireless after reboot

ntlam
August 16th, 2007, 11:12 PM
got it work now
http://ubuntuforums.org/showthread.php?p=3202754#post3202754

buzzmandt
August 18th, 2007, 10:25 AM
spot on instructional and stuff.......
tried literally every other "how to" for my acer wireless and this one finally got it to work

thank you

scull
August 18th, 2007, 08:24 PM
Thanks for the clear and precise instructions. I had to follow the entire sequence but the wireless on my Toshiba A200 now works perfectly.

John:)

jgrantham
August 20th, 2007, 09:57 PM
I have tried all the instructions and followed them to a tee. I can run iwlist wlan0 scan and it shows networks. I can run wifi-radar and it shows networks but I get no IP and can not connecct to the internet. It also shows my MAC as being all 0's.

I can not figure this out but it is about to make me pull all my hair out. I have a Acer Aspire 5100 with the Aetheros 5007eg card in it running Fiesty on x86 64 bit. Does anyone have any ideas?

buzzmandt
August 20th, 2007, 10:03 PM
I have tried all the instructions and followed them to a tee. I can run iwlist wlan0 scan and it shows networks. I can run wifi-radar and it shows networks but I get no IP and can not connecct to the internet. It also shows my MAC as being all 0's.

I can not figure this out but it is about to make me pull all my hair out. I have a Acer Aspire 5100 with the Aetheros 5007eg card in it running Fiesty on x86 64 bit. Does anyone have any ideas?

when you run wifi-radar and select connect, does it show up an ip address in that screen? If so, your network icon can still show no connection and it will just work, found this out the hard way

bmartin
August 20th, 2007, 10:08 PM
I recently found an even better WiFi manager. It's called wicd (http://blakecmartin.googlepages.com/wicd.html). It has succeeded for many people where other network connection managers have failed, and it boasts built-in WPA support. It comes highly recommended.

BenjaminCHILOE IS.
August 21st, 2007, 12:28 AM
It worked in the end in Kubuntu Feisty , I had to remove Knetwork Manager and replaced it for KWlan and also added Kwifi Manager. I followed each step given in HOW TO Everything worked out in my new ACER ASPIRE 5050 with this Atheros Ar5006x which never did work. AAAHh don't forget to activate manually the swith on (frontal switch next to the left speaker) you can check it with Kwifi MAnager when activated. I am happy with kubuntu running well in my machine.

The best for all from CHILE.

blahquaker
August 21st, 2007, 06:05 PM
it's not working for me.

I went through the instructions and ndiswrapper seems to think the driver is installed correctly, but nothing else (iwconfig, iwlist, ifconfig, etc) seems to know my wireless card exists.

I tried adding wlan0 with the mac to /etc/iftab (something I found in another thread) but it's still not recognized anywhere.

any help would be appreciated.

toshiba a215-s4807, ubuntu 7.04, amd64, atheros ar5007eg.

jgrantham
August 21st, 2007, 07:25 PM
It shows connected to the Ap with an IP of 127.0.0.1 . I have no idea why this won't work. I followed the istructions agin to the tee and still no go.


HELLLLLLLPPPPPPPPPP!!!!!:(

trjepp
August 21st, 2007, 09:19 PM
Hi, I used the howto instructions (with the shortcut) and it worked like a dream on my aspire 5050 where nothing else would. all of the networks in the area show up now, through any of the wireless apps that came installed on ubuntu ultimate 1.4. anyways the problem i'm having is i can't get into my apartment complex's internet.... i have my username and password, but don't know how to get to a point where i have even been prompted for them. by now you can probably tell i'm new at this and don't know what i'm doing. if anybody could help my sign in and use the connection, i would really appreciate it

bmartin
August 21st, 2007, 11:47 PM
If you're using Ubuntu (GNOME), try going to System > Administration > Network. That should allow you to enter the appropriate wireless settings.

You can also use WICD (http://blakecmartin.googlepages.com/wicd.html) or wifi-radar (http://blakecmartin.googlepages.com/wifi-radar.html) to connect.

gigabite
August 22nd, 2007, 02:47 AM
Thank you so much! I would have never gotten this working in a thousand years without your post.

blahquaker
August 22nd, 2007, 03:09 PM
I got it to "work" for me finally... I tried three different drivers, and finally got it to register the interface correctly with the xp 64-bit driver from atheros.cz. it now recognizes the interface and wifi-radar displayed eligible networks, but wouldn't give me the option of connecting to any of them. so I'll just have to figure that part out when I get home.

another somewhat major issue, though - if the wireless card is turned on, GRUB won't load and the system won't boot. I have to turn the wireless off (external switch), then boot, then turn the wireless card on. is this something anyone else has experienced?


toshiba a215-s4807, ubuntu 7.04/vista dual-boot, amd64, atheros ar5007eg

bmartin
August 22nd, 2007, 03:15 PM
another somewhat major issue, though - if the wireless card is turned on, GRUB won't load and the system won't boot. I have to turn the wireless off (external switch), then boot, then turn the wireless card on. is this something anyone else has experienced?
Yep. It might be that you have to blacklist the rt73usb module.
echo "blacklist rt73usb" | sudo tee -a /etc/modprobe.d/blacklist
I had that problem with my parents' wireless adapter. It might be a different module, but that sounds like it could be the case.

You might have to blacklist rt2570 and rt2500usb, too

blahquaker
August 22nd, 2007, 09:58 PM
Yep. It might be that you have to blacklist the rt73usb module.
echo "blacklist rt73usb" | sudo tee -a /etc/modprobe.d/blacklist
I had that problem with my parents' wireless adapter. It might be a different module, but that sounds like it could be the case.

You might have to blacklist rt2570 and rt2500usb, too

ok, I didn't see any of those in lsmod, but I blacklisted all of them anyways... and no change. the only thing in the list that looked like that was r8169, but I need that for my wired ethernet adapter.

anyone have any other ideas?

bmartin
August 22nd, 2007, 10:39 PM
I wouldn't give up on the "modules" idea... it could still be a module (it sounds like it to me), but I don't have any idea which ones are loaded up on your computer. The r8187 and r818x modules are known to cause problems (they should already be blacklisted)... so should ath_pci. Make sure those are all blacklisted.

keypox
August 23rd, 2007, 06:01 PM
hey i installed the driver from acer and it didnt work. Someone had said something was wrong with it so i downloaded the one that is supposed to work but i cant install it because the old one is still installed how do i remove the old one?

I think i use the -r command but it doesnt find it. I guess i need to know where it is installed?

bmartin
August 23rd, 2007, 06:59 PM
To remove the driver, use sudo ndiswrapper -e (driver), where (driver) is the name of the driver shown by ndiswrapper -l

keypox
August 23rd, 2007, 07:09 PM
To remove the driver, use sudo ndiswrapper -e (driver), where (driver) is the name of the driver shown by ndiswrapper -l

couldn't delete /etc/ndiswrapper/net5211.inf: No such file or directory

bmartin
August 23rd, 2007, 07:13 PM
What'd you type? sudo ndiswrapper -e net5211.inf?

Try sudo ndiswrapper -e net5211

keypox
August 23rd, 2007, 07:17 PM
What'd you type? sudo ndiswrapper -e net5211.inf?

Try sudo ndiswrapper -e net5211

yep i did that it worked, i installed the new driver and still doesnt work

iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

sudo ndiswrapper -l
net5211 : driver installed
device (168C:001C) present (alternate driver: ath_pci)


any ideas? Have people actually got this to work on the Acer 5570-2977?

keypox
August 23rd, 2007, 07:50 PM
hey finally got it to work from previous poster

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


i only had to do the blacklist stuff. Make sure you save that file and it worked for me.

warpasylum
August 24th, 2007, 10:16 PM
worked on my acer 5050 perfectly. wasn't able to use script, but worked manually cutting n' pasting. thanks=)

bmartin
August 24th, 2007, 10:58 PM
Heh, my bad with the script. I found the bug. I used "echo" to comment out a bunch of commands and didn't un-comment them. It should work now. Thanks for pointing that out.

mrfr0g
August 26th, 2007, 11:50 PM
Acer Aspire 5570

While the script did not work for me, going through the motions step by step absolutely worked perfectly. I am now typing this on my wonderful wireless network. Thank you SOOOO much! You don't even know how many different walk throughs, tutorials, and FAQ pages I went through, all which failed. I'm so glad I stumbled across this page.

BudaAlien
August 28th, 2007, 12:27 PM
I am new to Ubuntu and linux, so I don't really know many commands yet but I am learning! I'm trying to get my atheros 5007eg wireless to work on fiesty fawn. I tried to install the lastest ndiswrapper but I get error messages that start when the install gets to the utilities. When I check the ndiswrapper I get this:

$ ndiswrapper -v
utils Error: no version specified!
driver version: 1.38
vermagic: 2.6.20-16-generic SMP mod_unload 586

Am I missing something like a compilier?? I have the driver needed for my wifi and ndiswrapper lists it as installed but I have no interface.

bmartin
August 28th, 2007, 12:48 PM
Here's a HOWTO (http://ubuntuforums.org/showthread.php?t=104539) for compiling ndiswrapper.

marianoi
August 28th, 2007, 07:21 PM
I am going to try this tomorrow in a Acer Aspire 5570 for my "in law". One simple question: what would happen once a kernel update appear? would they have to do it all over? :confused:

bmartin
August 28th, 2007, 07:25 PM
Probably not, because the ndiswrapper.ko kernel module is included with Ubuntu.

The instructions compile the newest ndiswrapper utility program and kernel module. Your wireless device probably works with an older one.

If you need to recompile the kernel module every time for some reason, you could modify /boot/grub/menu.lst so that the same kernel loads up every time (the current one) even if a newer one is installed.

marianoi
August 28th, 2007, 10:12 PM
Thanks bud.

But one thing regarding the kernel update. Every new Kernel goes to the top of the GRUB list...how can I force it to always boot on the current kernel without editing the menu.lst fie?

Thanks!

Cheers

Mariano

bmartin
August 28th, 2007, 10:24 PM
There isn't a way that I know of. However, take a look at menu.lst.

# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

If you put something here, it will be the first selection in GRUB.

### BEGIN AUTOMAGIC KERNELS LIST
I had to do this for my girlfriend's computer. She has one of those awful Acer laptops with the messed up ACPI DSDT. Without a patched kernel (or special kernel image), her CPU, fans, and lid (the switch) don't work properly, and her battery isn't displayed.

What I'd try doing, since you seem pretty worried about a kernel upgrade, is to simulate one. Add another kernel in and see if it works fine. I upgraded my kernel on my laptop and there wasn't a problem; I'm currently using the Gutsy one on there.

axylone
August 29th, 2007, 01:48 AM
Thanks! Worked perfectly for me:
Kubuntu on an Acer Aspire AS5570Z-2997
I installed ndiswrapper through the package manager, but other than that followed the directions.

sbassett
August 29th, 2007, 10:09 AM
Followed this little how-to for a friend's Acer, and I personally use WICD at home (because it rocks) however, this will not work correctly on the Acer. Did you set this up on the Acer? And did you run into any issues?

CLARIFICATION : This HOW-TO worked on the Acer, but the WICD install did not.

bmartin
August 29th, 2007, 10:15 AM
I have to fix the script. The step-by-step instructions and the script were both tested on an Acer 5050-3785.

bearswatchin
August 30th, 2007, 03:49 PM
Thanks so much! That was the last thing I needed to fix so I could get out of Windoze bondage. Works fine. Worked the first time out of the script (box). I am 100% Linux Mint on my Acer Aspire 5570Z.

bearswatchin

mberry
August 31st, 2007, 02:30 AM
Well, it took a couple of hours, but wifi is now working for me on a Toshiba Equium L40-10Z thanks to this.
The acer driver didn't work, but the one included with http://blakecmartin.googlepages.com/atheros-ar5007eg-installer-0.1b.tar.gz worked fine.
Many thanks.

Hypersonic
August 31st, 2007, 10:55 AM
I've lurked on this thread and finally got the wireless going on my Toshiba Satellite A215. The script did not work, the long version did install the driver but it still did not work. Then I saw the post about blacklisting the Atheros restricted driver and that did it. Thanks much for all the help!

atilla.the.hodge
September 1st, 2007, 06:11 PM
Hi All,

I also wanted to say thank you for the hard work to everyone who contributed to this solution. I was able to get my wireless network up and running in < 15min by following the instructions posted by bmartin. I am using the wicd program as was also suggested.

The only 'problem' that I have encountered is that I cannot for the life of me talk to either my wireless gateway (Siemens Gigaset SE567) or my wireless router (DLink DI-624) using WPA security; I tried both the 'wext' and 'ndiswrapper' encryption settings. WEP 128-bit seems to work fine if I use a hexidecimal key.

Thank you again!
Take care,
-- Adam

bmartin
September 2nd, 2007, 12:33 AM
Did you install the wpa-supplicant package? (sudo aptitude install wpasupplicant)

ASCII keys should work in WICD; I think you have to put "double quotes" around them, though.

atilla.the.hodge
September 2nd, 2007, 10:11 PM
Hi,

I double checked and I do definitely have the wpa_supplicant package installed. Thank you though for the tip about using quotes to enclosed ASCII passwords!

I tried setting WPA again today using the newer version of wicd (1.3.3 [testing version: http://wicd.sourceforge.net/phpbb/viewtopic.php?f=5&t=146] vs. 1.3.1 that's installed via package manager) and still no luck. For whatever reason I can talk to the gateway/router, but no IP address is assigned - wicd says "Obtaining IP address..." for a minute or so and times out; this could be a gateway/router setting, although my wife's Macbook can connect without trouble.

Thanks again!
Take care,
-- Adam

paymoretaxes
September 6th, 2007, 01:49 AM
Just want to say that the script you had before did work for me. The manual way works too. Thanks.

Rockman4140
September 6th, 2007, 05:29 AM
I can now detect wireless networks with my card with the Atheros.cz drivers, but I cannot connect to them. When I attempt to, it asks for a key, which is my WEP key, after giving it that, it either attempts to connect and fails, or connects at 0% connection. I find it pretty weird. Here is a transcript of what I've typed in the Terminal to give someone out there some kinda knowledge.

Network
Wireless Connection - Roaming Mode (Connects to AP with 0%, Manual Config doesn't work.)
Added Wireless Router IP as DNS server
===========================
Network Tools
wlan0:avahi IP4 - 169.254.0.1 255.255.0.0 169.254.255.255 (Interface doesn't exitst)
wlan0
===========================
daniel@daniel-laptop:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:1B:38:0F:DA:D4
UP BROADCAST 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:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:18 Base address:0x6000

eth0:avah Link encap:Ethernet HWaddr 00:1B:38:0F:DA:D4
inet addr:169.254.8.69 Bcast:169.254.255.255 Mask:255.255.0.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
Interrupt:18 Base address:0x6000

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:2538 errors:0 dropped:0 overruns:0 frame:0
TX packets:2538 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:158114 (154.4 KiB) TX bytes:158114 (154.4 KiB)

wlan0 Link encap:Ethernet HWaddr 00:00:00:00:00:00
UP BROADCAST 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:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:19 Memory:f8200000-f8210000

wlan0:ava Link encap:Ethernet HWaddr 00:00:00:00:00:00
inet addr:169.254.0.1 Bcast:169.254.255.255 Mask:255.255.0.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
Interrupt:19 Memory:f8200000-f8210000

daniel@daniel-laptop:~$ iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

wlan0 IEEE 802.11g ESSID:off/any
Mode:Managed Frequency:2.462 GHz Access Point: Not-Associated
Bit Rate=54 Mb/s
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

daniel@daniel-laptop:~$ ndiswrapper -l
net5211 : driver installed
device (168C:001C) present (alternate driver: ath_pci)

The *:avai makes me wonder if I did something wrong.

Also, is there a tarball of the wifi-radar program?

ntlam
September 6th, 2007, 11:28 AM
I have the same problem. Some one suggested me to check the available wireless by using: sudo iwlist scan

helwitch
September 6th, 2007, 02:18 PM
This chipset showed up on my Acer Aspire 5050-3785. The lscpi program spit out the following info:
Do you mean lspci? cos when I do lscpi, I get command not found, but lspci shows me, among other things, the wireless adapter.

Alfred_McGee
September 6th, 2007, 02:54 PM
Pasted all commands into terminal. Still no wifi conection, and lspci still says "Unkown device" for my ar5007eg card. My Feisty install is new. Are any of the Ubuntu updates necessary? Sometimes certain repositories may disable other repositories, so I am nervous about installing anything I'm not sure is necessary, but some of the updates seem to be related to wifi function.

bmartin
September 6th, 2007, 03:04 PM
lspci still says "Unkown device" for my ar5007eg card.
That's normal. If you want it to say the real device name, run sudo update-pciids. That updates the database that provides information on PCI/PCMCIA/built-in devices.
My Feisty install is new. Are any of the Ubuntu updates necessary? Sometimes certain repositories may disable other repositories, so I am nervous about installing anything I'm not sure is necessary, but some of the updates seem to be related to wifi function.
AFAIK, no updates are necessary. I've never heard of one repository disabling another.

If you want to determin whether your WiFi device is detected or not, use iwconfg and it should tell you what wireless devices it detects as installed. If you want to determine whether it's correctly detecting network, use sudo iwlist scanning. To determine the status of the hardware, use sudo lshw -C network

Alfred_McGee
September 6th, 2007, 04:11 PM
Thanks. Updating list of pci devices told me that my ar5007eg card is actually ar5006eg, despite what Windoze had said. Does it matter?

sudo iwlist scanning gave me this:

wlan1 No scan results

And sudo lshw -C network gave me this:

*-network
description: Wireless interface
product: Atheros Communications, Inc.
vendor: Atheros Communications, Inc.
physical id: 0
bus info: pci@03:00.0
logical name: wlan1
version: 01
serial: 00:00:00:00:00:00
width: 64 bits
clock: 33MHz
capabilities: bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=ndiswrapper+net5211 driverversion=1.47+,11/15/2006,5.1.1.9 latency=0 link=no multicast=yes wireless=IEEE 802.11g
resources: iomemory:54100000-5410ffff irq:17

Do you know what the problem is? Sorry if my questions are dumb!

bmartin
September 6th, 2007, 06:00 PM
You might want to use the AR5006EG driver supplied to you with Windows... unless it's a Vista driver. I think I remember hearing something about NDISwrapper working with XP drivers only. Someone please verify this or correct me.

marshak
September 8th, 2007, 09:44 PM
seriously don't know how to thank you enough. I've been trying different distro's, messing with files for about a month now. you have my wifi working with linux. Tonight I sleep a little easier. for those wondering, I simply followed his instructions verbatim.

lioninthesky
September 9th, 2007, 03:28 AM
Three things I noticed.


The newest drivers from Acer don't work, but the ones on this thread do. Why is that?


I had the same issue with my wife's Acer 5050. I was receiving an "Unknown device" response from lspci. After updating the PCI information, it resolved as a AR5006EG. Still, this did not resolve the issue. Looking further into the log files I found the infamous "HAL status 13" error message. After doing some research I found this MadWifi bug report:

http://madwifi.org/ticket/859

Less specific to that card, and more generalized to the statement of "HAL status 13" error message is this bug report:

http://madwifi.org/ticket/370

I tried for hours to get the MadWifi to work with no success. After finding those bug reports, I tried the ndiswrapper method step for step in this tutorial, and it worked flawlessly.

On a side note, beware of the killswitch issue:

https://bugs.launchpad.net/ubuntu/+source/linux-ubuntu-modules-2.6.22/+bug/121415

There are several bug reports for the killswitch issue, which looks to be resolved for some people. Still though, if you find Ubuntu locking up out of nowhere on your laptop, it's worth looking into. Strangely, I had the issue until I stopped using the ieee80211_crypt_tkip module.

Well, I got a bit off track there. Hopefully the initial information helped you with regards to your wifi question.

Rockman4140
September 10th, 2007, 12:21 AM
Wow, alright, make sure to update the PCI IDs, I just updated mine, and mine is reading as a 5006EG, that could be an issue. I will download the new drivers and re-test.

Alfred_McGee
September 10th, 2007, 09:07 PM
Although the Device Manager in Windowz had told me my card was an AR5007EG, updating the PCI IDs in Ubuntu told me that it was actually an AR5006EG. But whatever it is, it works, now thanks to bmartin and the instructions he posted at the beginning of this thread. Being a hardcore newbie, I had to stumble across the Wicd Manager (Applications-> Internet -> Wicd Manager) before I realized that it was working, but MANY thanks to bmartin! My computer, BTW, is an Acer Aspire 5570z.

bmartin
September 10th, 2007, 09:52 PM
It's amazing to me how bad Acer laptops are supported by Linux (it's really not Linux's fault). They suffer from chronic ACPI problems. My girlfriend's Acer has no battery detected, the lid switch doesn't work, power management doesn't work, it overheats, etc. The card reader isn't supported in Linux at all (ENE); the Atheros chipset isn't supported by Madwifi.

The laptop was a steal at $400, but it's a Windows XP machine now (we removed Vista). I can't see running a dysfunction laptop in Linux, even though she's been using primarily Linux for about a year now.

khunphil
September 12th, 2007, 12:28 AM
Hi,

I finally got my Wifi card to be recognized, using drivers XP not from Acer page. I had a hard time trying to do it, more than 2 weeks ;-)
Now, I can see the wireless networks, but cannot connect to it. After trying to acquire an address, it times out with the message :

(/var/log/message)
$ dhcdbd: message_handler: message handler not found under /com/redhat/dhcp/wlan0 for sub-path wlan0.dbus.get.reason
$ kernel: [ 747.384000] ndiswrapper (iw_set_ap_address:629): setting AP mac address failed (00010003)
$ kernel: [ 751.592000] ADDRCONF(NETDEV_UP): wlan0: link is not ready

The link is working, my other computer is connected (windows).
I have no idea if I need to configure something else now. Any hints ?

Thanks,

Philippe.

Rockman4140
September 12th, 2007, 01:17 AM
bmartin, you have done quite a deed helping us out. You have no clue how appreciated you are. I scavenged for a Ethernet cord and finally installed wicd, which is currently the reason I am posting on my Ubuntu side of the laptop.

About PCIID reporting a different card version, it uses the same driver, so that is not the issue. For some reason, the wireless manager just couldn't connect, bit wicd pulled through no problem. I highly recommend it, and if you can get net access through an ethernet cord, I would highly suggest an "apt-get update", fixed my dumb sound card issue. Now onto getting my crap video card working...

GraFfiX420
September 12th, 2007, 09:56 PM
After two days and about 5 different drivers, I finally got this working on my Toshiba Satellite A215-S4757. After updating the pciids and running lspci it identifies my card as a 5006eg, but itś a 5007. I used the latest drivers for xp64.thanks a lot everyone.

mfdc1969
September 15th, 2007, 10:00 AM
Worked perfectly with Acer 5610Z (configuration 5610-2013)!

Thank you very much!!

Mike

davidthewatson
September 16th, 2007, 10:49 PM
Worked for me on Acer Aspire 5570-2067. Thanks!

:)

jigneshmpatel
September 18th, 2007, 11:26 AM
I have Acer Aspire AS5050-3785 2.2GHz ,AMD Turion(TM) 64 Laptop.

It also has missing wirelss driver. Does the process BMartin mentioned works for that too.

I highly appreciate prompt reply.

choifyken
September 20th, 2007, 10:21 AM
i trisd,

but my notebook(Acer AS4520G),the wifi's LED doesn't work,i press the WIFI button again and again,no worlds play.
how can i know if the wifi card work?

bmartin
September 20th, 2007, 11:01 AM
how can i know if the wifi card work?
Post the output of the following commands:
ndiswrapper -l
sudo lshw -C network

John Mandrake
September 20th, 2007, 06:16 PM
I tried your step by step procedure on my laptop. The result was that now the system can see my wireless device, but it can't see any wireless networks.
Can you please help me?
Thank you.

*** I personally recommend using the wicd (http://blakecmartin.googlepages.com/wicd.html) program for WiFi connectivity. It boasts built-in WPA support and has been successful where other network connection manager programs have failed.

Attached is a script and the necessary Windows drivers to get this card working. You can view the contents of the file by using the cat command from a terminal.

This chipset showed up on my Acer Aspire 5050-3785. The lspci program spit out the following info:
Atheros Unknown device 001c (rev 01)

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:

1. Download the ndiswrapper (v1.47) source code and AR5007EG Windows drivers:
wget http://blakecmartin.googlepages.com/atheros-ar5007eg-installer-0.1b.tar.gz
2. Extract the archive:
tar xvf atheros-ar5007eg-installer-0.1b.tar.gz
3. Ensure you have your kernel headers and the build essential package. Make sure you copy/paste this instruction, as those are backticks, not single quotes!
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).
echo "blacklist ath_pci" | sudo tee -a /etc/modprobe.d/blacklist
5. Compile ndiswrapper:
pushd atheros-ar5007eg-installer-0.1b/ndiswrapper-1.47/
sudo make uninstall
make
sudo make install
popd
6. Install the Windows drivers (using ndiswrapper):
pushd atheros-ar5007eg-installer-0.1b/ar5007eg/
sudo ndiswrapper -i net5211.inf
popd
7. Make sure ndiswrapper loads up every time we start Linux:
sudo modprobe ndiswrapper
echo "ndiswrapper" | sudo tee -a /etc/modules
8. Restart your computer.
sudo init 6

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.

bmartin
September 20th, 2007, 06:24 PM
I tried your step by step procedure on my laptop. The result was that now the system can see my wireless device, but it can't see any wireless networks.
Can you please help me?
Thank you.
Try using the links below to install WICD or wifi-radar. People tend to have better luck with them.

John Mandrake
September 21st, 2007, 04:34 AM
Try using the links below to install WICD or wifi-radar. People tend to have better luck with them.


It seems this doesn't work...
Not only that my wireless card does not see any wireless connections, it looks like it is turned off. It just refuses to work.

jhon@john-PC:~$ iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

wlan0 IEEE 802.11g ESSID:off/any
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
Bit Rate=54 Mb/s
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

Am I missing something?
Thank you!

dr_cerebro
September 22nd, 2007, 10:01 PM
It seems this doesn't work...
Not only that my wireless card does not see any wireless connections, it looks like it is turned off. It just refuses to work.

jhon@john-PC:~$ iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

wlan0 IEEE 802.11g ESSID:off/any
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
Bit Rate=54 Mb/s
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

Am I missing something?
Thank you!


First, thank you very much Mr. bmartin, I'm new at Linux, and the last two weeks I've been googleing A LOT, trying to make wireless work, I followed the steps of this HowTo, and finally get my Wifi Card recognized, but I can't go wireless. I have exactly the same problem than Mr. Mandrake. And Wicd, or Wifi radar don't detect any Wireless network. My laptop is a Acer Aspire 5050-4872, and running Ubuntu Feisty Fawn.

iwconfig displays some differences:

lo no wireless extensions.

eth0 no wireless extensions.

wlan0 IEEE 802.11b ESSID:off/any
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
Bit Rate=54 Mb/s
Encryption key:off
Power Management:off
Link Quality:3/100 Signal level:-94 dBm Noise level:-96 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

Any sugestions?

bmartin
September 22nd, 2007, 10:06 PM
Usually, when your device is detected but doesn't detect any networks, the problem is that your wireless radio is disabled. Usually either a switch on your computer or a keyboard combination can activate this (such as Fn+F2)... look for a key with a little radio tower symbol on it.

If there's a switch to enable/disable your wireless radio, it might behave the opposite way you expect it to, i.e., people have reported that setting their switch toward the transmit symbol disables it.

dr_cerebro
September 22nd, 2007, 11:51 PM
Usually, when your device is detected but doesn't detect any networks, the problem is that your wireless radio is disabled. Usually either a switch on your computer or a keyboard combination can activate this (such as Fn+F2)... look for a key with a little radio tower symbol on it.

If there's a switch to enable/disable your wireless radio, it might behave the opposite way you expect it to, i.e., people have reported that setting their switch toward the transmit symbol disables it.

Yes, it almost worked. I had to move the switch when loading, and it detected the wireless net, but, then it freezes. I read somewhere than this computers need the acer_acpi driver to work properly. I will try that and let you informed.

If you have any idea, please, post it.

Thank you.

Robin.Muilwijk
September 23rd, 2007, 03:53 AM
Very helpful thread, I recently bought a Toshiba A200-1K8 and with the described method I was able to get wireless working in a few minutes. No glitches, just copy/paste the commands, reboor, and connect...

dr_cerebro
September 23rd, 2007, 06:29 PM
Well, I'm close.
I made a fresh new install. Disable restricted drivers for Atheros Card (ATH_HAL).
Updated my system.
Installed acer_acpi.
Follow each one of your steps.
Now it detects wireless networks available. But if I try to connect, then it freezes.

Any ideas?

bmartin
September 24th, 2007, 04:46 AM
Any ideas?
These results (http://www.google.com/search?hl=en&q=atheros+ndiswrapper+freeze&btnG=Google+Search) look hopeful. Please post your findings.

timelord726
September 26th, 2007, 01:54 AM
Just wanted to take the time to say thanks for a simple and well-written howto that got wireless working on my Acer Aspire 5100 (with AR5007EG)! Much appreciated!

dr_cerebro
September 26th, 2007, 08:21 PM
Well, acer_acpi helped me a lot. It just freezes a little, and I just have to wait a couple of minutes and then try to start wireless network. I could't make it without this HowTo.
I'm writing this post with my Acer laptop via wireless.
Thank you very much.

clmcdanne
September 26th, 2007, 10:06 PM
so far so good! I was just about to give up on Ubuntu (and therefore network printer) and go back to openSUSE which recognized/configured the wifi card out of the box (but was not able to share Samsung ML-2510 networked printer). coupled with wicd I am pleased and almost ready to throw MS Windows out the window! :popcorn:

Alfred_McGee
October 1st, 2007, 01:34 PM
When finishing up an installation of Kismet, there is a source= line that must be filled in. It's in my /usr/local/etc/kismet.conf file and must specify the driver, device, and description of the "capture source" (wifi card). If I have used the wonderful fix posted on this thread to run my wifi card, what should I enter on this line, or is running Kismet not an option for those who are using Ndiswrapper and a Windows driver?

bmartin
October 1st, 2007, 01:46 PM
what should I enter on this line, or is running Kismet not an option for those who are using Ndiswrapper and a Windows driver?
This is just a guess... I'd put ndiswrapper for the driver, the PCI ID of the device (you can find it using ndiswrapper -l... it's the value of the form xxxx:xxxx), and whatever you'd like for the description.

Alfred_McGee
October 1st, 2007, 02:22 PM
Actually, the Kismet readme file says "Anything using ndiswrapper is using WINDOWS drivers AND CANNOT BE USED WITH KISMET." Sorry, I should have checked that documentation before posting. I'll just use an external card that I have. Thanks again!

tdrusk
October 1st, 2007, 04:04 PM
I have to reinstall my Ubuntu every so often. I got tired of copying and pasting all of that. I wrote this and it worked flawlessly.

wget http://blakecmartin.googlepages.com/atheros-ar5007eg-installer-0.1c.tar.gz && tar xvf atheros-ar5007eg-installer-0.1c.tar.gz && sudo aptitude update && sudo aptitude install linux-headers-$(uname -r) build-essential && echo "blacklist ath_pci" | sudo tee -a /etc/modprobe.d/blacklist && pushd atheros-ar5007eg-installer-0.1c/ndiswrapper-1.48/ && sudo make uninstall && make && sudo make install && popd && pushd atheros-ar5007eg-installer-0.1c/ar5007eg/ && sudo ndiswrapper -i net5211.inf && popd && sudo modprobe ndiswrapper && echo "ndiswrapper" | sudo tee -a /etc/modules && sudo init 6

It's your guide linked together by a bunch of && signs.

bmartin
October 1st, 2007, 04:22 PM
There actually is a script, but a bunch of people said it didn't work, so I didn't mention it... it's in the archive at the beginning.

tdrusk
October 1st, 2007, 04:30 PM
There actually is a script, but a bunch of people said it didn't work, so I didn't mention it... it's in the archive at the beginning.
Ah okay then.

How hard would it be for me to make that into a script? I would like to have that knowledge.

bmartin
October 1st, 2007, 04:46 PM
Ah okay then.

How hard would it be for me to make that into a script? I would like to have that knowledge.
You basically just put the commands in a file. Since the script is written in BASH, you'd put #!/bin/bash at the top (this simply tells Linux to use BASH to interpret the file's contents). Then you can add comments (lines starting with a #) to indicate what the commands do. Comments are optional, of course, but they help other people understand what your scripts do. You'll also have to put "execute permissions" on the file. If the file is in the current directory and it's named myinstaller, you'd run chmod 755 myinstaller to make it executable.
#!/bin/bash
# retrieve and extract the installer
wget http://blakecmartin.googlepages.com/atheros-ar5007eg-installer-0.1c.tar.gz
tar xvf atheros-ar5007eg-installer-0.1c.tar.gz && sudo aptitude update
# retrieve code needed for installation
sudo aptitude install linux-headers-$(uname -r) build-essential
# blacklist the ath_pci driver; it doesn't work with our chipset
echo "blacklist ath_pci" | sudo tee -a /etc/modprobe.d/blacklist
# change into the installation directory (temporarily)
pushd atheros-ar5007eg-installer-0.1c/ndiswrapper-1.48/
# uninstall the old ndiswrapper
sudo make uninstall
# compile ndiswrapper
make
# install ndiswrapper
sudo make install
# go back to the directory we were in before pushd
popd
# tell ndiswrapper to use the Windows driver
pushd atheros-ar5007eg-installer-0.1c/ar5007eg/
sudo ndiswrapper -i net5211.inf
popd
# insert the ndiswrapper driver into the kernel
sudo modprobe ndiswrapper
# make the driver load up every time
echo "ndiswrapper" | sudo tee -a /etc/modules
# restart the computer
sudo init 6

tdrusk
October 1st, 2007, 04:49 PM
You basically just put the commands in a file. Since the script is written in BASH, you'd put #!/bin/bash at the top (this simply tells Linux to use BASH to interpret the file's contents). Then you can add comments (lines starting with a #) to indicate what the commands do. Comments are optional, of course, but they help other people understand what your scripts do. You'll also have to put "execute permissions" on the file. If the file is in the current directory and it's named myinstaller, you'd run chmod 755 myinstaller to make it executable.
#!/bin/bash
# retrieve and extract the installer
wget http://blakecmartin.googlepages.com/atheros-ar5007eg-installer-0.1c.tar.gz
tar xvf atheros-ar5007eg-installer-0.1c.tar.gz && sudo aptitude update
# retrieve code needed for installation
sudo aptitude install linux-headers-$(uname -r) build-essential
# blacklist the ath_pci driver; it doesn't work with our chipset
echo "blacklist ath_pci" | sudo tee -a /etc/modprobe.d/blacklist
# change into the installation directory (temporarily)
pushd atheros-ar5007eg-installer-0.1c/ndiswrapper-1.48/
# uninstall the old ndiswrapper
sudo make uninstall
# compile ndiswrapper
make
# install ndiswrapper
sudo make install
# go back to the directory we were in before pushd
popd
# tell ndiswrapper to use the Windows driver
pushd atheros-ar5007eg-installer-0.1c/ar5007eg/
sudo ndiswrapper -i net5211.inf
popd
# insert the ndiswrapper driver into the kernel
sudo modprobe ndiswrapper
# make the driver load up every time
echo "ndiswrapper" | sudo tee -a /etc/modules
# restart the computer
sudo init 6
Awesome!

Thanks a lot.

fishdude21
October 1st, 2007, 10:45 PM
Ok...i can see my wireless card and eveyrthing now...the problem is now that i for some reason cannot connect to the internet. I definantly have internet connection and i have it set on DHCP too but its not wanting to connect anyone know how to fix this?

bmartin
October 1st, 2007, 10:51 PM
Ok...i can see my wireless card and eveyrthing now...the problem is now that i for some reason cannot connect to the internet. I definantly have internet connection and i have it set on DHCP too but its not wanting to connect anyone know how to fix this?
That's the million dollar question. Frustratingly enough, this is the most common problem with WiFi in Linux. Try using WICD (see the link at the bottom of my post, where quotes usually go).

fishdude21
October 2nd, 2007, 09:56 AM
I tried to install the wicd and im getting this error when i try to reload the repository

Could not download all repository indexes

The repository might be no longer available or could not be contacted because of network problems. If available an older version of the failed index will be used. Otherwise the repository will be ignored. Check your network connection and the correct writing of the repository address in the preferences.

Any idea what that means? I know my internet is working because im on it right now...

hacienda_irrevocably
October 4th, 2007, 01:46 AM
really am greatful the work for BMartin. not I understand, but step for step and the acer travelmate 2480-2968 she am working after 5 hours no one else helsp

Hmarroqu
October 6th, 2007, 01:56 AM
computer freezes when i try to connect to network, thats right , ubuntu crashes...why ? i dont knw , any one know? btw if you can answer me asap this is a installation for a friend who is leaving in a day and his computer needs to wrk flawlessly. ....ubuntu is making me look bad so far

"connecting to a wap2"

non secure like "linksys" works fine.

rickc
October 7th, 2007, 07:50 PM
computer freezes when i try to connect to network, thats right , ubuntu crashes...why ? i dont knw , any one know? btw if you can answer me asap this is a installation for a friend who is leaving in a day and his computer needs to wrk flawlessly. ....ubuntu is making me look bad so far

"connecting to a wap2"

non secure like "linksys" works fine.

I got the same thing going on....

Not sure why though.

Grinder
October 8th, 2007, 04:25 PM
Awesome howto.

I also had my laptop freeze up connecting to a WPA secured network. I switched to WEP 128 bit and the problem went away.

Any ideas why WPA locks up Ubuntu?

-Phil

bmartin
October 8th, 2007, 09:03 PM
I don't have access to the router I'm connected to in order to try this, but many drivers aren't WPA compatible. This might be one of them. Did you install wpa-supplicant, and are you connecting using the wext driver? Have you tried using WICD?

Grinder
October 9th, 2007, 08:32 AM
I do have wpa-supplicant installed. Not sure exactly what driver I have, I followed your directions at the beginning of the thread.

I have not tried WICD yet.

eeeandrew
October 9th, 2007, 02:32 PM
Hi, I'm new to linux (as in I've been using it now for about an hour) I just installed 7.04 in dual boot with windows vista and tried the instructions on page 1 to get my card working. unfortunately I have no experience with the linux terminal so I got lost somewhere on page 2. I followed the instructions on page 1 exactly. it came through without errors (as far as I can see) but the wireless card does not show up in the networking wizard for me to connect nor can I find any other way to connect. can anyone post an idiot proof method? or do I just need to get a seperate wifi configuration tool?

bmartin
October 9th, 2007, 02:38 PM
can anyone post an idiot proof method?
There's a method on page 1 that's pretty idiot proof. Are you using a 32- or 64-bit version of Ubuntu?

There are graphical programs capable of install NDIS drivers. You need to use a Windows XP driver with NDISwrapper. The one you tried to install before was 32-bit. If you have a 64-bit version of Ubuntu, you're bound to run into all sorts of issues... and you'll need to find a 64-bit driver to use with NDISwrapper.

To check whether the driver is installed properly, try running ndiswrapper -l in a terminal and post the output here.

eeeandrew
October 9th, 2007, 03:33 PM
how do I check if its 32 or 64 bit?

bmartin
October 9th, 2007, 03:37 PM
uname -m

If it returns i386 or i686 or something like that, it's 32-bit. x86_64 indicates a 64-bit build.

What does ndiswrapper -l say?

eeeandrew
October 9th, 2007, 03:41 PM
ndiswrapper -l said:

invalid driver: 5211

am not an expert but I think that means I've got the wrong driver:)

and uname -m came out as

i686

Laptop info: Toshiba Equium L40-10X, Intel 1.73 dual core processor(if it helps)

bmartin
October 9th, 2007, 03:49 PM
ndiswrapper -l said:

invalid driver: 5211

am not an expert but I think that means I've got the wrong driver:)
Yep.

Run these 6 commands, in this exact order. It doesn't matter where you run them from:
wget http://blakecmartin.googlepages.com/atheros-ar5007eg-installer-0.1c.tar.gz
tar xvf atheros-ar5007eg-installer-0.1c.tar.gz
pushd atheros-ar5007eg-installer-0.1c/ar5007eg/
sudo ndiswrapper -e 5211
sudo ndiswrapper -i net5211.inf
popd

eeeandrew
October 10th, 2007, 03:09 PM
I just finished running those commands. Came across an error with the ndiswrapper -e command turns out it should have been -e net5211 but no harm done. Thanks for all your help couldn't have got this wireless working otherwise

eeeandrew
October 10th, 2007, 04:04 PM
erm don't know if I'll get thrown off for blasphemy asking this here but...I rebooted my computer and logged onto the Vista partition after updating and setting up linux as per your instructions. According to Vista the drivers for the card are now missing... I can always find the drivers from somewhere the problem is that I want both OS to work at least for now so if I reinstall the drivers on vista will it affect the linux install?

bmartin
October 10th, 2007, 06:51 PM
erm don't know if I'll get thrown off for blasphemy asking <snip>
Nope. We're not anti-Windows (at least, most of us aren't). I keep Windows around because Fate, an older game, doesn't run in Wine or Cedega.

According to Vista the drivers for the card are now missing... I can always find the drivers from somewhere the problem is that I want both OS to work at least for now so if I reinstall the drivers on vista will it affect the linux install?
Maybe. If the drivers load firmware into the card every time, then potentially yes. Try booting back and forth a couple times.

eeeandrew
October 11th, 2007, 03:10 PM
feel like a bit of an idiot now that I've found the problem...when I posted that the laptop had been plugged in for a while. turns out my motherboard had shut the card down to stop it overheating.

bmartin
October 11th, 2007, 04:29 PM
feel like a bit of an idiot now that I've found the problem...when I posted that the laptop had been plugged in for a while. turns out my motherboard had shut the card down to stop it overheating.
Wow... I've never heard of that before. It interests me because I'm currently writing a program to act as a universal WiFi installer.

I'm looking for the causes of WiFi devices being installed correctly but refusing to work. Common causes are hardware (i.e., levers), software switches (i.e., push-buttons and certain HP computers that only work when certain software is installed), and BIOS settings.

What did you have to do to get the card to turn on? Did it turn on when your computer cooled down, or did you have to change a setting?

Rockman4140
October 11th, 2007, 04:34 PM
Again, BMartin's effors are gladly appreciated by everyone, but I have a few more questions that I hope may help people.

Because of NDISwrapper, will Wireshark or SWScanner work? It says I can't capture from it, and I wonder if that is because of NDISwrapper or because of human error. Kismet works like that, so would the others follow suit?

sheriffdaone
October 11th, 2007, 04:40 PM
I tried every method that you showed in this topic but none of them let my wireless to work.

Here is the lspci output of my laptop:

00:00.0 Host bridge: ATI Technologies Inc Unknown device 7910
00:01.0 PCI bridge: ATI Technologies Inc Unknown device 7912
00:05.0 PCI bridge: ATI Technologies Inc Unknown device 7915
00:06.0 PCI bridge: ATI Technologies Inc Unknown device 7916
00:07.0 PCI bridge: ATI Technologies Inc Unknown device 7917
00:12.0 SATA controller: ATI Technologies Inc SB600 Non-Raid-5 SATA
00:13.0 USB Controller: ATI Technologies Inc SB600 USB (OHCI0)
00:13.1 USB Controller: ATI Technologies Inc SB600 USB (OHCI1)
00:13.2 USB Controller: ATI Technologies Inc SB600 USB (OHCI2)
00:13.3 USB Controller: ATI Technologies Inc SB600 USB (OHCI3)
00:13.4 USB Controller: ATI Technologies Inc SB600 USB (OHCI4)
00:13.5 USB Controller: ATI Technologies Inc SB600 USB Controller (EHCI)
00:14.0 SMBus: ATI Technologies Inc SB600 SMBus (rev 14)
00:14.1 IDE interface: ATI Technologies Inc SB600 IDE
00:14.2 Audio device: ATI Technologies Inc SB600 Azalia
00:14.3 ISA bridge: ATI Technologies Inc SB600 PCI to LPC Bridge
00:14.4 PCI bridge: ATI Technologies Inc SB600 PCI to PCI Bridge
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 Unknown device 791f
0e:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E PCI Express Fast Ethernet controller (rev 01)
14:00.0 Ethernet controller: Atheros Communications, Inc. Unknown device 001c (rev 01)
1a:04.0 CardBus bridge: Texas Instruments PCIxx12 Cardbus Controller
1a:04.1 FireWire (IEEE 1394): Texas Instruments PCIxx12 OHCI Compliant IEEE 1394 Host Controller
1a:04.2 Mass storage controller: Texas Instruments 5-in-1 Multimedia Card Reader (SD/MMC/MS/MS PRO/xD)
1a:04.3 Generic system peripheral [0805]: Texas Instruments PCIxx12 SDA Standard Compliant SD Host Controller


and here is the ndiswrapper -l output:


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


and here is the ifconfig output:


eth0 Link encap:Ethernet HWaddr 00:1B:38:3D:21:E1
inet addr:192.168.2.3 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::21b:38ff:fe3d:21e1/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3294 errors:0 dropped:0 overruns:0 frame:0
TX packets:2310 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2039868 (1.9 MiB) TX bytes:367913 (359.2 KiB)
Interrupt:20 Base address:0xa000

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:88 errors:0 dropped:0 overruns:0 frame:0
TX packets:88 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:42025 (41.0 KiB) TX bytes:42025 (41.0 KiB)

wlan0 Link encap:Ethernet HWaddr 00:1B:9E:3D:C7:38
UP BROADCAST 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:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:22 Memory:f8200000-f8210000



so i can't solve my problem due to something but i also cannot find my problem, if you can help me i'll be very happy

Thank you

bmartin
October 11th, 2007, 04:56 PM
Because of NDISwrapper, will Wireshark or SWScanner work? It says I can't capture from it, and I wonder if that is because of NDISwrapper or because of human error. Kismet works like that, so would the others follow suit?
According to the NDISwrapper FAQ (http://ndiswrapper.sourceforge.net/joomla/index.php?/component/option,com_openwiki/Itemid,33/id,faq/), master and promiscuous modes are not supported, so network traffic analysis would be impossible. Feel free to put in a request for promiscuous mode support at NDISwrapper's tracker (http://sourceforge.net/tracker/?group_id=93482&atid=604453).

In other words, NDISwrapper probably won't do what you want it to. I don't know if the MadWiFi driver supports promiscuous mode, either, and it may or may not support the AR5007EG chipset at this point. I'm sorry that I can't be more helpful.

bmartin
October 11th, 2007, 04:59 PM
I tried every method that you showed in this topic but none of them let my wireless to work.
It appears your wireless device is detected (it shows up as wlan0). It might be managed by either driver at this point. lsmod | grep ath_pci should have no output. If it shows the ath_pci kernel module as loaded, then it needs to be removed from memory. NDISwrapper is set up correctly and your device is detected.

Are you using encryption on the router? Many problems revolve around proper entry of WEP or WPA keys. Are you using the built-in networking program, or wifi-radar, or WICD?

sheriffdaone
October 11th, 2007, 05:04 PM
It appears your wireless device is detected (it shows up as wlan0). It might be managed by either driver at this point. lsmod | grep ath_pci should have no output. If it shows the ath_pci kernel module as loaded, then it needs to be removed from memory. NDISwrapper is set up correctly and your device is detected.

Are you using encryption on the router? Many problems revolve around proper entry of WEP or WPA keys. Are you using the built-in networking program, or wifi-radar, or WICD?

No i am not using encryption on the router, and i am using the build-in networking program. Should i use wifi-radar because i also installed wifi-radar but it doesn't also see my wireless network.

bmartin
October 11th, 2007, 05:28 PM
No i am not using encryption on the router, and i am using the build-in networking program. Should i use wifi-radar because i also installed wifi-radar but it doesn't also see my wireless network.
No; if you could see the network but not connect, then I might suggest wifi-radar.

However, it sounds to me like the wireless radio isn't working. Usually there's a way to enable/disable it on every laptop. On mine, you press a button to enable/disable the scanning feature. Perhaps there's a button or lever on yours, or it might be the Fn+F2 keyboard combination, or perhaps even a setting in the BIOS.

When your wireless radio is working, sudo iwlist scanning should show wireless networks around you.

sheriffdaone
October 11th, 2007, 06:48 PM
No; if you could see the network but not connect, then I might suggest wifi-radar.

However, it sounds to me like the wireless radio isn't working. Usually there's a way to enable/disable it on every laptop. On mine, you press a button to enable/disable the scanning feature. Perhaps there's a button or lever on yours, or it might be the Fn+F2 keyboard combination, or perhaps even a setting in the BIOS.

When your wireless radio is working, sudo iwlist scanning should show wireless networks around you.

Well it looks like Fn + F8 should work but it didn't work at all. Can i see if enable or disable it by some command? I tried "dmesg" but it wasn't a realtime logger well it was realtime when i was using gentoo.

bmartin
October 11th, 2007, 08:34 PM
I don't know any command that'll work. My girlfriend's Aspire 5050 has the killswitch kind where you slide a lever over in the front to enable/disable wireless.

eeeandrew
October 12th, 2007, 05:56 AM
hi, again. to make the card work again I just left the laptop to cool down. I can't believe you've not heard of that before. most modern computers monitor their own temperatures and can do various things depending on how hot it gets. my power desktop that I just gave to my brother for example, if it gets too hot it turns on a big noisy fan and if its still too hot then it shuts down...I've heard theres some windows tools used by overclockers that will let u see the temperature and choose what happens and at what temperatures. I'll try and find the article

eeeandrew
October 12th, 2007, 06:07 AM
me again, couldn't find the article on it but I did find a tool on the same site that says it has the temperature monitering stuff. don't know exactly what it will let you change coz I haven't tried it myself but hopefully it helps.

http://www.pcworld.com/downloads/file/fid,64350/description.html

bmartin
October 12th, 2007, 09:30 AM
hi, again. to make the card work again I just left the laptop to cool down. I can't believe you've not heard of that before.
I've heard of different actions being taken when the computer gets too hot. I've never heard of the wireless shutting off because of it. That would bother me.

k33bz
October 12th, 2007, 01:39 PM
ok, this wendsday i will be changing my acer 3680-2419 from a vista OS to Ubuntu Fiesty. Its when i will be able to use my a LAN.

Question though. I would like to know if WICD will work with airsnort?

bmartin
October 12th, 2007, 01:49 PM
ok, this wendsday i will be changing my acer 3680-2419 from a vista OS to Ubuntu Fiesty. Its when i will be able to use my a LAN.

Question though. I would like to know if WICD will work with airsnort?
The limiting factor here is not WICD, but rather NDISwrapper. NDISwrapper doesn't support promiscuous mode, which is required for capturing packets. If your chipset is supported by MadWiFi (http://madwifi.org), you can use that driver instead. Then again, I don't know if MadWiFi supports promiscuous mode or not.

Promiscuous mode is often implemented in a proprietary manner, mean it'd have to be reverse-engineered in most cases, unless the company offered a FOSS implementation or a thorough specification to FOSS developers. The MadWiFi was afforded a specification for many chipsets back in the day, so promiscuous mode support might be available on some chipsets, but not others.

I personally recommended WICD, and to the best of my knowledge, it will not affect your ability to use airsnort. NDISwrapper, however, is not compatible. Check the MadWiFi page to see if it has any details.

k33bz
October 12th, 2007, 02:16 PM
[QUOTE=bmartin;3521356]The limiting factor here is not WICD, but rather NDISwrapper. NDISwrapper doesn't support promiscuous mode, which is required for capturing packets. If your chipset is supported by MadWiFi (http://madwifi.org), you can use that driver instead. Then again, I don't know if MadWiFi supports promiscuous mode or not.QUOTE]

I checked the page, didnt bother looking to see if it supports promiscuous mode or not, I was stopped at compatability. MasWiFi does not support my chipset.......

Oh well, as saying was just curious to see if it would, doesn't stop me from installing Ubuntu onto my laptop. I love ubuntu, and deeply miss using it. My CPU fried out on my Desktop awhile back and havnt had the chance to replace it yet.

So Wendsday the deadline to have Ubuntu back in my life. Hope I dont run into any other problems.

Thanks again bmartin.

K33BZ

eeeandrew
October 12th, 2007, 02:32 PM
well yeah it is annoying but I suppose its less annoying and I'm less likely to lose data than if it were to just shut my computer down...and after using Vista for a month that seems like a very minor annoyance in comparison. Good luck with the wifi program sounds like an absoloutely massive task but it would be really useful.

abhi.datt
October 13th, 2007, 02:52 AM
In my case it worked without errors in terms of recognizing the card and ifconfig now shows the device wlan0.
What puzzled me is that when I do iwscan list
It is says no networks found.

I used another program called wifi-radar, it also shows no networks available.

My network is very much alive and it's unrestricted (no WEP key)

What is that I'm not doing right?

Please help

bmartin
October 13th, 2007, 06:51 AM
In my case it worked without errors in terms of recognizing the card and ifconfig now shows the device wlan0.
What puzzled me is that when I do iwscan list
It is says no networks found.

I used another program called wifi-radar, it also shows no networks available.

My network is very much alive and it's unrestricted (no WEP key)

What is that I'm not doing right?
Your WiFi radio is turned off. There's probably a switch on your computer or a keyboard combination (e.g., Fn+F2) that turns the radio on/off. Sometimes it's in the BIOS. At any rate, once that's turned on, run sudo iwlist scan and you should see networks.

If you can't find a network using that command, no program will work.

abhi.datt
October 13th, 2007, 02:24 PM
Bingo!! got that working THANKS

k33bz
October 14th, 2007, 01:52 AM
so question is, how to i go about installing everything i need to get my wireless up and going with out my laptop connecting to internet?

Just need to know the the commands to use, and where to find the actual files, programs, and drives on net to be downloaded and transported via Flash Drive.


Thanks

nvm, i got it all on now took a little bit more time than i expected, but once i got the necessary files it was no problem at all.

thanks again.

buzz123
October 14th, 2007, 05:09 PM
hi

i cannot get my AR5007EG working in Monitor Mode
the driver is loaded and i can surf with my wlan0

but

i cant get it work with airmon-ng. So everytime i start "airmon-ng start wlan0 11"
i get the following MSG:

usage: airmon-ng <start|stop> <interface> [channel]

Interface Chipset Driver

wlan0 Unknown ndiswrapper (MONITOR MODE NOT SUPPORTED)

-------------------

can anyone please help me get it working in Monitor Mode ?

bmartin
October 14th, 2007, 06:30 PM
hi

i cannot get my AR5007EG working in Monitor Mode
the driver is loaded and i can surf with my wlan0

but

i cant get it work with airmon-ng. So everytime i start "airmon-ng start wlan0 11"
i get the following MSG:

usage: airmon-ng <start|stop> <interface> [channel]

Interface Chipset Driver

wlan0 Unknown ndiswrapper (MONITOR MODE NOT SUPPORTED)

-------------------

can anyone please help me get it working in Monitor Mode ?
No.

No one can, unless you don't have an AR5007EG, or MadWiFi starts supporting your chipset. NDISwrapper only supports ad-hoc and managed modes. You could beg and plead with the developers, I suppose.

Developers use cards to reverse-engineer the specs. Here are some ideas I had, but none of them are practical, except the last:

Donate your laptop to the MadWiFi team, with the condition that they implement the code to support your chipset.
Wait until someone in the MadWiFi development team buys a new laptop with the chipset in it.
Develop the code for the MadWiFi driver yourself and submit a patch.
Get the specs for the promiscuous/monitor mode implementation for the AR5007EG chipset and submit them to the MadWiFi team.
Find an obscure piece of code out there that someone wrote to take care of the problem.
Buy another card for sniffing packets (something w/ an Intel chipset would be ideal).

buzz123
October 15th, 2007, 05:37 AM
thx bmartin.

i think best way is to buy another wlan interface ;-)

dward526
October 16th, 2007, 04:28 PM
Shot myself in the foot...again

I tried this method and it did not work at home, after 2 weeks I bought a supported adapter and am waiting for it to come in the mail. I found that at my college (I am going back to school for Computer Service and Networking...go fig) I can access the open wireless....so it seems my problems now lie with the config of my home network.

Ah well, I am sure I can find another use for the usb wireless...live and learn.

bmartin
October 16th, 2007, 04:34 PM
I tried this method and it did not work at home, after 2 weeks I bought a supported adapter and am waiting for it to come in the mail. I found that at my college (I am going back to school for Computer Service and Networking...go fig) I can access the open wireless....so it seems my problems now lie with the config of my home network.
Which program are you using to connect? The built-in one?

Some people have had to put quotes around their password or key to get it to work. I had to do that once when using a WEP key.

bradjinks81
October 16th, 2007, 11:45 PM
Worked Great! Thanks alot

dward526
October 17th, 2007, 11:35 AM
Which program are you using to connect? The built-in one?

Some people have had to put quotes around their password or key to get it to work. I had to do that once when using a WEP key.

I actually got it to work now be not using wicd, but reinstalling the native gnome network manager. I also had to change my home encryption protocol to wep, but it works great now. Thanks a lot...I also found a use for my network adapter some where else:) ! Now I can kill vista completely on my laptop

The only issue is sometimes it sees no wireless networks (about 1 in 20 times), but a cold reboot fixes this.

bmartin
October 17th, 2007, 11:50 AM
I got it to work w/ WPA using TKIP, but not AES.

wiscados
October 17th, 2007, 06:14 PM
I didn't get it to work, but I didn't actually follow the howto.

If there is one thing I, not hate, but really dislike, is when howtos and guides to get network cards working include "download this and apt-get this". Thank you very much, but if I could do that I wouldn't need this doc, would I?

It happened all too often when I was trying to get wifi working on my desktop, which took me a few months.

I do understand that some have wired network and want their wireless to work too, but at least have an optional way to do it for us who really, really, really need it.



ANYWAYS, what did was: I download the file in step 1 on my desktop, and transfer it to my laptop along with precompiled ndiswrapper .debs that I had on my desktop hard-drive, from when I needed it to get the desktop online.

Then I installed ndiswrapper, installed the driver, modprobed it, blacklisted ath_pci, and added 'ndiswrapper' to /etc/module.

When I run 'ndiswrapper -l' is says that the driver is installed and the hardware is present. And 'iwconfig' says pretty much the same as on my desktop.

However I don't know how to use it, how to turn it on.

This would be a great time to say that I have a ATI Mobility Radeon HD 2400, that crashes X. (Though I got a copy of SELD 10.1 with a magazine and with that X runs, only 800x600, but still...)

I'm all CLI here!! I'm lost without the NetworkManager utility!

How do I turn it on!?!

Xenaco
October 17th, 2007, 06:20 PM
There is an Atheros Linux open-source driver available at:

https://sourceforge.net/projects/madwifi/ (https://sourceforge.net/projects/madwifi/)

It works for pci, pcmcia and usb devices.

bmartin
October 17th, 2007, 06:39 PM
There is an Atheros Linux open-source driver available at:

https://sourceforge.net/projects/madwifi/ (https://sourceforge.net/projects/madwifi/)

It works for pci, pcmcia and usb devices.
Except for the AR5007EG, which still isn't supported. See the MadWiFi page (http://madwifi.org/wiki/Compatibility/Atheros).

Alfred_McGee
October 18th, 2007, 12:16 AM
bmartin once said that RutilT is the greatest wifi interface. That appears to be true, so I was wondering if it's possible to use it in this fix for the AR5007EG wifi card instead of wicd. I installed RutilT, but it seems to have disabled my wicd interface, so I guess I will have to uninstall it...

bmartin
October 18th, 2007, 09:06 AM
bmartin once said that RutilT is the greatest wifi interface. That appears to be true, so I was wondering if it's possible to use it in this fix for the AR5007EG wifi card instead of wicd. I installed RutilT, but it seems to have disabled my wicd interface, so I guess I will have to uninstall it...
That was before I found WICD. I think RutilT, which is quite great, was designed for RT chipsets. I seem to have a hard time getting RT stuff to work with other wireless connection managers. My parents have an RT chipset and that's the only WCM I can get it to work with.

Strangely enough, I can't get the connection to work consistently with Windows, so despite the fact that it's set up for dual-boot, they requested that I set Ubuntu as the default. I had to shell into my brother's computer (the one that receives port 22 requests to their router), then shell into my parents' computer from there to change the grub settings.

dca
October 18th, 2007, 04:27 PM
The guide worked great for Gutsy, Aspire 5610z, & network-manager... The problem, the signal is dropped after an hour or so and there's no way to get it back. Sometimes when starting the laptop once the DE starts there's no wireless causing you to shutdown, wait a few secs and try again. Peculiar. What Gutsy does on start-up is different than Feisty. Right after GRUB it displays some PCI error message and then moves on to starting the OS... I'll try and jot it down next time. The freeze everyone was talking about only happened to me in Feisty and it's still too tough to say if it was something I did wrong.

LEDZEP974
October 19th, 2007, 01:14 AM
:lolflag:Good morning, i hope you will excuse my bad english (I'm french).....and since last week...my english is out (Rugby World Cup...).
A great thanks to B Martin !!! I post this comment with my wifi conection on my TOSHIBA P200-12W !
It works fine !
Enjoy Ubuntu !

hacienda_irrevocably
October 19th, 2007, 01:25 AM
update to gust of gobbins and is again brokered. I procedure one more to make report

+++++++

later after an i follow all procedure. still not good an not work. i type lspci an ehternet controller listed as AR5006EG. now it has wrong one in list, not AR5007 EG, why? restricted-manager say an hal is not active it saying. ndiswrapper saying net5211 is current.

moment! iwlist made discoveries! an no clue what made to work... switch to gust of goblins frustrating!

dr_cerebro
October 21st, 2007, 11:21 AM
Hi, great howto... but I have this problem:


[ 30.469622] ndiswrapper version 1.48 loaded (smp=yes, preempt=no)
[ 30.557701] ndiswrapper (check_nt_hdr:150): kernel is 64-bit, but Windows driver is not 64-bit;bad magic: 010B
[ 30.557756] ndiswrapper (load_sys_files:216): couldn't prepare driver 'net5211'
[ 30.558316] ndiswrapper (load_wrap_driver:118): couldn't load driver net5211; check system log for messages from 'loadndisdriver'

bmartin
October 21st, 2007, 12:54 PM
Hi, great howto... but I have this problem:
[ 30.557701] ndiswrapper (check_nt_hdr:150): kernel is 64-bit, but Windows driver is not
Only the 32-bit driver was included when I downloaded the AR5007EG driver. If you track down the 64-bit driver, I'll tell you how to install it. If you're dual-booting, it should be on your Windows partition.

bmartin
October 21st, 2007, 12:58 PM
Actually... I found it. Try the following:
mkdir ~/tmp
cd ~/tmp
wget http://www.atheros.cz/download/drivers/ar5xxx/xp64-5.3.0.56-whql.zip
unzip -a xp64-5.3.0.56-whql.zip
sudo ndiswrapper -i net5211.inf

dr_cerebro
October 21st, 2007, 02:48 PM
Thank you, I installed the 64 bit driver and now Wifi works perfect.
Thank you very much !

I made some modifications, just another way to install it, following your steps but with a modification, and, installing acer_acpi first because, otherwise, just do not work in this machine...

I'll be honored if you check the steps: http://ubuntuforums.org/showthread.php?t=580672 in page 2 and 3.

Thank you again

missingno
October 21st, 2007, 03:45 PM
Thankyouthankyouthankyou! I've been trying to get ndiswrapper to work for a while with my AR5006EG under Gutsy, and this worked perfectly! Now my ethernet cable is no longer a leash for my laptop.

bmartin
October 21st, 2007, 04:56 PM
Thank you, I installed the 64 bit driver and now Wifi works perfect.
Thank you very much !

I made some modifications, just another way to install it, following your steps but with a modification, and, installing acer_acpi first because, otherwise, just do not work in this machine...
That's awesome. I'm glad it works. I'm having a problem with a Linksys WUSB54GP right now. I can only get it to work with the prism54usb driver, but it's flaky and doesn't support WPA; it's also not working well w/ WEP.

Two suggestions for your steps; I looked them over, but I'm not going to actually try them:

When you want to retrieve multiple packages at once, it makes sense to use one command to get them both. The two sudo aptitude install commands can be merged into one:
sudo aptitude install build-essential linux-headers-$(uname -r)
And you can simplify the /home/YOUR USER NAME directory a couple of way. Either of these lines will work:
mkdir $HOME/download
mkdir ~/download
$HOME is a BASH constant; it will always be equivalent to ~. However, ~ is a POSIX standard for referring to your home directory. All that means is that it's generally considered a better practice to use ~ instead of $HOME. POSIX standards work cross-platform and in different shells (BASH, KSH, CSH, etc.)

dr_cerebro
October 21st, 2007, 08:25 PM
You are right.
Its easy that way, and those steps work too.

I will correct those steps. And I will see if someone has found how to make that Lynksys card to work fine.

Thank you again.

bmartin
October 21st, 2007, 08:45 PM
You are right.
Its easy that way, and those steps work too.

I will correct those steps. And I will see if someone has found how to make that Lynksys card to work fine.

Thank you again.
You're welcome.

It seems that many people have that card working OK; but a lot of people are having the same problem as me. I've had that card working using the same driver and the same version of NDISwrapper on different computers.

I ended up hooking that computer up to a wired connection; we ran a long Ethernet cable under a couple doors using a tape measure and a twist tie. I really like to solve problems that seem to be inconsistent like that wireless adapter... but it wasn't worth it; it's my girlfriend's PC and we both prefer wired connections.

tdrusk
October 21st, 2007, 08:48 PM
ath5k reports to work with this card. It seems like a pain to install it.

bmartin
October 21st, 2007, 09:12 PM
ath5k reports to work with this card. It seems like a pain to install it.
Despite the fact that GIT is, in fact, very fast for what it does, it is a very slow checkout process.

If I can get the source code to compile and install, I'll put up instructions. I'll test it on my girlfriend's AR5007EG and if it works, I'll create a snapshot of it (which I could update periodically) and post instructions as an alternative to using NDISwrapper.

Thanks for the heads-up.

Alfred_McGee
October 22nd, 2007, 03:22 PM
Yes, ath5k.org seems to have finally delivered on the promise to support the ar5007eg. For people like us, that's big news. Does anybody know what kind of network manager this system would use? Wicd is good, but it has certain limitations, too. With RutilT, for example, you never have to hit the "Refresh" button to see what's new in terms of the signal strength of your network.

bmartin
October 22nd, 2007, 03:54 PM
Yes, ath5k.org seems to have finally delivered on the promise to support the ar5007eg.
A big setback is that you either need to get the upstream kernel and compile it or download the entire GIT tree (enormous) and compile that. I haven't found an easy way to simply grab the source for the driver and compile it in. You might have to wait until the next Gutsy kernel (or perhaps more than 1 kernel version) before you see the ath5k kernel module.
For people like us, that's big news. Does anybody know what kind of network manager this system would use? Wicd is good, but it has certain limitations, too. With RutilT, for example, you never have to hit the "Refresh" button to see what's new.
It should work with pretty much whatever you desire. RutilT was made for RT chipsets, I think, but it might work with other chipsets.

Alfred_McGee
October 22nd, 2007, 05:02 PM
RutilT looks as though it could support other wifi cards besides the RT chipset that I used it with. It even recognizes the ar5007eg under ndiswrapper, but of course it won't run it. Being able to run all wifi cards under one network manager would be convenient, especially if monitor mode were supported. The Wicd install page that bmartin set up mentions that Wicd won't run if certain other network managers are installed, and in any case it's nice to manage all your wifi cards in one place...

EDIT: I have managed to run both RutilT and WICD at the same time, for two different wifi cards. No serious problems.

Computer Cat
October 23rd, 2007, 02:11 AM
This solution works when I use the 32-bit version of Ubuntu (gusty or feisty), but not for when I use the 64-bit version (again for gusty or feisty)

bmartin
October 23rd, 2007, 07:23 AM
This solution works when I use the 32-bit version of Ubuntu (gusty or feisty), but not for when I use the 64-bit version (again for gusty or feisty)
This was recently discussed on this thread.

Only the 32-bit version is provided. I posted a link to the 64-bit version; it was tested and works fine. If you want to use the 64-bit version of Ubuntu, you need to use the 64-bit driver.

I'll amend the instructions later today so that 64-bit users can get up-and-running.

bmartin
October 23rd, 2007, 11:31 AM
The instructions have been updated.

Also, NDISwrapper is now bundled separately from the drivers, so you should get the newest version every time. I used a PHP redirect on one of my sites so that I can keep the newest version available simply by changing the URL on the site; the one in the instructions won't have to change.

ohzopants
October 23rd, 2007, 09:17 PM
Thanks for the great info on setting up wireless.

Also, thanks for the wcid recommendation. I've had it installed for about 5 minutes and I already prefer it to the gnome one.

mi_were
October 26th, 2007, 04:35 PM
It finally worked after I calmed down and followed the instructions literally!

Thanks

mi_were
October 26th, 2007, 04:38 PM
I did get a string of errors after using ndiswrapper but after rebooting the wireless appears to be working. I will give it a once over once I get home.

SexyGorilla
October 27th, 2007, 09:20 PM
I wanna kiss bmartin right n the mouth!

http://www.codebucket.org/node/10

Thank You! Thank You! Thank You! Thank You! Thank You! Thank You! Thank You! Thank You! Thank You! Thank You! Thank You! Thank You! Thank You! Thank You! Thank You! Thank You! Thank You! Thank You! Thank You! Thank You! Thank You! Thank You! Thank You! Thank You!

mrukus
October 28th, 2007, 12:10 AM
everything worked like a charm, no problem when i was entering the codes, just upon restart, i had to revert back to my last version of kubuntu. when restarting my updated version it pauses and freezes, it does this only after i ran the codes. thanks a bunch

rughalt
October 28th, 2007, 06:06 AM
Hi
I succesfully installed ndiswrapper driver using your guide. Device is discovered by system, but, unforunately, when I try to do the "iwlist scan" i get nothing... maybe not exactly nothing - I get some crap, and not the WIFI networks I should.

For example, I get two networks with ESSID "", no connection strength. Thats weird, because in the same room, while using vista, I'm able to connect to my home WiFi network with maximum signal strength.

I've tried using different driver vesions (all for x86_64 arch, since I'm using 64bit ubuntu), different tools (including WCID, Wifi-radar and some more).

I have no idea why it isn't working.

Thanks in advance for any help

gnu87
October 28th, 2007, 08:19 AM
I'm using ubuntu feisty on an acer travelmate 5510. the card's name is atheros ar5bxb63, your solution didn't work for me until i installed acerhk:http://code.google.com/p/aceracpi/ . My card was recognized and i could scan for networks, but when i tried to connect, all programms stopped when trying to get an ip. Now connectivity is equal or even better than on vista. I used it on ubuntu-i386. There were two other xp drivers which worked: the one posted here: http://ubuntuforums.org/showthread.php?t=503537&highlight=ar5bxb63 and one from www.atheros.cz, but it took longer to connect with them.
I did the same procedure on gutsy amd64, and i'm using it wireless right now, but it didn't went that smooth. Network-Manager frozes one time or just stopped, but after a few tries and two reboots, i wonder why it's working now,

thank's a lot for the howto !!!:) it helped much.

JoshOvki
October 28th, 2007, 09:06 AM
Im using an Acer Aspire 5050 laptop and ive been having some awful trouble with my wifi.

The first time i used the instructions it worked... sometimes... half the time i didn't want to connect the other it would until i restarted and it wouldn't connect again.

So i started a fresh, reinstall ubuntu 7.10 and started again... this is where things get really confusing:

The instructions worked fine no problems at all, i rebooted and it finds the wireless networks in my area, i select my home one, enter the WEP key and..... it crashes... stone dead. Restart after about a 5 - 10 minuet wait its back up. So i try to connect again... and it dies again. Ok another reinstall third time luck an all. So i reinstall ubuntu again... follow the same instructions... see the network, try to connect... stone dead again. At this point I'm thinking maybe its something to do with my WEP key, so i turn off the WEP key on my router (Through my wired pc) restart my laptop try to connect... this time it doesn't ask for the WEP key... it just dies again.

So i register and post, currently as i type my laptop is stone cold dead, I've left it trying to connect to the network and it just doesn't seem to be doing anything.

So does anyone have any ideas on whats happening to my poor laptop?

Thanks

Josh

dr_cerebro
October 28th, 2007, 11:37 AM
Im using an Acer Aspire 5050 laptop and ive been having some awful trouble with my wifi.

The first time i used the instructions it worked... sometimes... half the time i didn't want to connect the other it would until i restarted and it wouldn't connect again.

So i started a fresh, reinstall ubuntu 7.10 and started again... this is where things get really confusing:

The instructions worked fine no problems at all, i rebooted and it finds the wireless networks in my area, i select my home one, enter the WEP key and..... it crashes... stone dead. Restart after about a 5 - 10 minuet wait its back up. So i try to connect again... and it dies again. Ok another reinstall third time luck an all. So i reinstall ubuntu again... follow the same instructions... see the network, try to connect... stone dead again. At this point I'm thinking maybe its something to do with my WEP key, so i turn off the WEP key on my router (Through my wired pc) restart my laptop try to connect... this time it doesn't ask for the WEP key... it just dies again.

So i register and post, currently as i type my laptop is stone cold dead, I've left it trying to connect to the network and it just doesn't seem to be doing anything.

So does anyone have any ideas on whats happening to my poor laptop?

Thanks

Josh

Did you install acer_acpi first?

JoshOvki
October 28th, 2007, 12:16 PM
Did you install acer_acpi first?

No i didnt, but the device is shown as on and working. After using WICD ive found out that it dies then it gets to

Generating WPA configuration file...

The Only Joey
October 28th, 2007, 03:28 PM
Hello all.

I have the exact wireless card as specified (AR5007EG) and did everything in the tutorial.
The led of my "Packard Bell EasyNote MX52" of my wireless is burning, i can see a lot of connections but i can not connect to any of them.
Open or Closed, i can not connect to any of them.
I use 7.10 GG.

Tried a lot of stuff.. nothing yet.

JoshOvki
October 28th, 2007, 06:01 PM
Just an update, after a 4th install and install kubuntu-desktop before trying anything with wireless i have got it not freezeing! However.... i still cant connect, im in the same situation as The Only Joey

boyce
October 29th, 2007, 06:21 PM
Hi, thanks everyone for all the great info in this thread,

I am at that really frustrating stage where I think everything is set up fine but can not see any wireless networks.
I have read the whole thread and it seems as though most people at this stage are advised to check the wifi radio button.

On my laptop (fujitsu-siemens amilo li1718) the button for the wifi is above the keyboard.
I am currently dual-booting with Vista, where it toggles fine. It has no effect in Ubuntu so I went into the Bios settings and found an option to enable Wireless, Now, when I boot into Vista it connects automatically (before, the Bios option was disabled).

I fear that the same should be happening when I boot into Ubuntu, and since it isn't working, the problem lies somewhere elsewhere?

Also, if everything was working ok, should I automatically see some networks from the start ( with "sudo iwlist scanning" or do I have to create new one? (the only options I see when I unplug ethernet cable are Create New,,,Connect to Other...Manual Configuration)

Please can you advise me?

John Mandrake
October 30th, 2007, 06:46 PM
Usually, when your device is detected but doesn't detect any networks, the problem is that your wireless radio is disabled. Usually either a switch on your computer or a keyboard combination can activate this (such as Fn+F2)... look for a key with a little radio tower symbol on it.

If there's a switch to enable/disable your wireless radio, it might behave the opposite way you expect it to, i.e., people have reported that setting their switch toward the transmit symbol disables it.

I'm back... I gave up last time for it was not working and lost my patience.

I figured that the problem is indeed the wifi switch, but, on my Fujitsu notebook, the switch only works when it's driver is instaled. The problem is, I couldn't find a linux driver, and neither the .inf file, so I could use ndiswraper with that to.

In other words, my wireless card is working, but I see no way to turn it on. Any ideas?

mhyk
October 31st, 2007, 04:24 PM
How come it doesn't work for me? I follwed the steps.
when i do
dmsesg | grep ndiswrapper

[ 41.000834] ndiswrapper version 1.49 loaded (smp=yes, preempt=no)
[ 41.131295] ndiswrapper: driver net5211 (,01/20/2006,4.2.2.7) loaded
[ 41.132466] ndiswrapper (NdisWriteErrorLogEntry:191): log: C0001389, count: 4, return_address: dcc585d4
[ 41.132470] ndiswrapper (NdisWriteErrorLogEntry:194): code: 0xd3a68600
[ 41.132472] ndiswrapper (NdisWriteErrorLogEntry:194): code: 0x28
[ 41.132474] ndiswrapper (NdisWriteErrorLogEntry:194): code: 0xdcbb0000
[ 41.132477] ndiswrapper (NdisWriteErrorLogEntry:194): code: 0xdcbb0000
[ 41.132542] ndiswrapper (mp_init:216): couldn't initialize device: C000009A
[ 41.132547] ndiswrapper (pnp_start_device:439): Windows driver couldn't initialize the device (C0000001)
[ 41.132558] ndiswrapper (mp_halt:259): device dbd1f500 is not initialized - not halting
[ 41.132565] ndiswrapper: device eth%d removed
[ 41.132585] ndiswrapper: probe of 0000:02:00.0 failed with error -22
[ 41.134359] usbcore: registered new interface driver ndiswrapper

can someone help me with this?

desiath
November 2nd, 2007, 09:55 AM
Hi, thanks for the tutorial. I followed your steps on my Acer 5103 for my Feisty and worked perfectly. Then I had a fresh install of Gutsy and followed the same steps (I used KnetworkManager this time) and it worked, though not perfectly this time.

After the first installation I got wireless directly and started using it. After a reboot however I lost it. no wlan0 at all with iwconfig. After a reboot it came back and I used it without any problems. But it goes on like this, chaotic, after a boot I don't know if I am going to see it or not.

Any ideas?

ourmaninparis
November 3rd, 2007, 10:21 AM
Thanks very much for this guide. It worked perfectly and I'm a complete newby. I used it for Gutsy Gibbon.

Greg F
November 3rd, 2007, 05:02 PM
The guide worked perfectly on my MSI ER710X notebook. Thank you for the hard work you put into creating the guide. The step-by-step instructions really help a noob like me.

tdrusk
November 4th, 2007, 11:20 AM
This guide works for Debian Etch with the minimal base system installed. Just replace being logged in with su and remove the sudos.

I figured I would just report this for some extra info.

cogumbreiro
November 4th, 2007, 12:52 PM
Worked for me, thanks!

I've installed it in a LG R405. Here's my blog post about it:
http://irrepupavel.blogspot.com/2007/11/installing-ubuntu-gutsy-gibbon-710-into.html

hatebreeder
November 5th, 2007, 09:08 PM
hi everyone,

i have an Acer Aspire 5100 with that atheros wireless internet problem

i have 32 bit ubuntu 7.10

my wireless internet sometimes works.... i think its only when i boot with my eithernet plugged in, maybe it activates or turns on my wireless hardware

it works fine when i boot into vista

i seriously don't know what to do, ive tried so many things including everything that was on the first page of this thread

when i type: ndiswrapper -l

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



when i type: lspci

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 4379 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 Standard Dual Channel PCI IDE Controller (rev 80)
00:14.2 Audio device: ATI Technologies Inc SB450 HDA Audio (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. AR5006EG 802.11 b/g Wireless PCI Express Adapter (rev 01)
04:01.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
04:04.0 CardBus bridge: ENE Technology Inc CB-712/4 Cardbus Controller (rev 10)
04:04.1 FLASH memory: ENE Technology Inc ENE PCI Memory Stick Card Reader Controller (rev 01)
04:04.2 Generic system peripheral [0805]: ENE Technology Inc ENE PCI Secure Digital Card Reader Controller (rev 01)
04:04.3 FLASH memory: ENE Technology Inc FLASH memory: ENE Technology Inc: (rev 01)
04:04.4 FLASH memory: ENE Technology Inc SD/MMC Card Reader Controller (rev 01)



do i have a boot problem or a linux driver problem???

warped6
November 5th, 2007, 09:49 PM
So here is my experience. I got it up and running under Feisty (64 bit) and then updated to Gutsy(64 bit). I lost wireless and reran the setup howto. I got my wireless back, but...

I can't seem to connect to any secure wireless access points. I've tried both at home and at work. I tried changing almost every setting.

Anybody else have any luck with this type of situation?

The_Great_Beast
November 6th, 2007, 05:23 AM
I've got an Acer Aspire 5315-2153 and this worked great thanks :)

neo-cortex
November 7th, 2007, 01:40 AM
Worked for me, thanks!

I've installed it in a LG R405. Here's my blog post about it:
http://irrepupavel.blogspot.com/2007/11/installing-ubuntu-gutsy-gibbon-710-into.html

Oh gosh! I wish I got wireless working on my Ubuntu install on my LG R405. It didn't work so I had to come back to vista :(

Ryadovoy
November 8th, 2007, 06:56 AM
I've a problem installing the windows driver. I'm using Ubuntu 7.10 Gutsy Gibbon on an Aspire 7520G with an Atheros AR5007EG card.
when i try to execute this command: "sudo ndiswrapper -i net5211.inf" it says that ndiswrapper doesnt exists.

Can anyone help me with this problem??

tdrusk
November 8th, 2007, 08:34 AM
I've a problem installing the windows driver. I'm using Ubuntu 7.10 Gutsy Gibbon on an Aspire 7520G with an Atheros AR5007EG card.
when i try to execute this command: "sudo ndiswrapper -i net5211.inf" it says that ndiswrapper doesnt exists.

Can anyone help me with this problem??

reinstall ndiswrapper. It's not seeing it.

nudaz
November 8th, 2007, 06:57 PM
LG laptop SA8X2A: This worked perfectly for me, thank you.I just followed the instructions in the first post.

I only have one question: will this survive the update/upgrade process or will I have to do it again after updates?

Thanks heaps ;)

ParaGuy
November 10th, 2007, 05:24 AM
Laptop = Acer Aspire 5100-3357, Wireless card - Atheros AR5007EG. I have tried these help steps with both Kubuntu and Ubuntu latest versions and it does not work for me. I have the correct windows driver for my card. Is there anyone who can post directions for using a windows driver from scratch for us noobs?

Thanks
PG

Ryadovoy
November 11th, 2007, 12:18 PM
I tried to reinstall, but now it says that it can't find ndiswrapper (or doesn't recognise).

Ryadovoy
November 11th, 2007, 03:31 PM
Solved, I have now wireless internet connection.

laltomar
November 12th, 2007, 04:27 PM
I have Toshiba U305-S7448

These steps did NOT work for me until I removed the HAL restricted driver using the Synaptic Package Manager. It worked fine once I did that.

brothermalcolm
November 15th, 2007, 12:14 PM
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:
getconf LONG_BIT

I personally recommend using the wicd (http://blakecmartin.googlepages.com/wicd.html) 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:
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 (v1.48) source code and AR5007EG Windows drivers:
wget 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:
wget http://blakecmartin.googlepages.com/ar5007eg-32-0.2.tar.gz
For 64-bits of blazing WiFi glory, use this:
wget http://blakecmartin.googlepages.com/ar5007eg-64-0.2.tar.gz
2. Extract the archives:
tar xvf ar5007eg-*.tar.gz
tar xvf ndiswrapper-newest.tar.gz
3. Ensure you have your kernel headers and the build essential package.
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).
echo "blacklist ath_pci" | sudo tee -a /etc/modprobe.d/blacklist
5. Compile ndiswrapper:
pushd ndiswrapper-*/
sudo make uninstall
make
sudo make install
popd
6. Install the Windows drivers (using ndiswrapper):
pushd */ar5007eg/
sudo ndiswrapper -i net5211.inf
popd
7. Make sure ndiswrapper loads up every time we start Linux:
sudo modprobe ndiswrapper
echo "ndiswrapper" | sudo tee -a /etc/modules
8. Restart your computer.
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.


Hi thanks alot for the valuable instructions. Worked brilliantly after following through carefully and reboot.

I use an acer TravelMate 6231 laptop with dualboot Gutsy (upgraded from Feisty) and Vista. From device manager in Vista it tells me I have an AR5007EG.

I'd just like to post because some of the instructions had to be slightly modified when I used them, and secondly because there doesn't seem to be any posts on the forums for this particualr laptop model. Also, I did this a similar thing before I updated to Gutsy from Feisty, and it was the update that seemed to have messed the wlan up.

So here's a list of things I changed on the quoted instructions (alot of them are realy obvious but could prevent success for newbie users like myself):
- in step 2, dont forget to change the filenames of the tarballs to the ones you actually downloaded (my advice is to use tab completion)
- i skipped step 3 because it said it would remove alot of files from my computer
- in step 5, when using the uninstall command, make sure you do as the output suggests and repeat until there are no more 'removing ...' lines appearing in the output
- in step 6 you might want to just pushd then use tab completion to get you to the destination directory (where the file net5211.inf is located)
- NOTE: if you were copying commands from the script that was posted on page 12 of this thread, you will notice the links dont work... instead use the links given by quoted instructions above

Basically, if you have no clue about commands in linux, you would probably get a bit stuck using the instructions word for word. This may be a reason why some ppl on this thread cant get it working if they only used the commands or the script like a black box. Hope this extra commentary can help ppl who are stuck. :)

dskid807
November 16th, 2007, 04:48 PM
I have followed the instructions but ubuntu says I have an AR5006EG when I know it is the 7EG. Does anyone have a fix?

inversis
November 17th, 2007, 01:24 AM
Hi people. Thnks for the thread!

I also have an AR5007EG. I've reinstalled ubuntu several times, the problem is allways the same (i've read many guides..): it works in the first time (after first reboot). Then, on second reboot, it stop detecting any networks.


sudo ndiswrapper -v
utils version: '1.9', utils version needed by module: '1.9'
module details:
filename: /lib/modules/2.6.22-14-generic/misc/ndiswrapper.ko
version: 1.49
vermagic: 2.6.22-14-generic SMP mod_unload 586

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

sudo iwlist scan
lo Interface doesn't support scanning.

eth0 Interface doesn't support scanning.

wlan0 No scan results

iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

wlan0 IEEE 802.11g ESSID:off/any
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
Bit Rate:54 Mb/s
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

sudo lshw -C network
*-network
description: Ethernet interface
product: RTL8101E PCI Express Fast Ethernet controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:04:00.0
logical name: eth0
version: 01
serial: 00:19:db:ef:4f:cb
capacity: 1GB/s
width: 64 bits
clock: 33MHz
capabilities: pm vpd msi pciexpress bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.2LK duplex=half latency=0 link=no module=r8169 multicast=yes port=twisted pair
*-network DISABLED
description: Wireless interface
product: AR5006EG 802.11 b/g Wireless PCI Express Adapter
vendor: Atheros Communications, Inc.
physical id: 0
bus info: pci@0000:03:00.0
logical name: wlan0
version: 01
serial: 00:15:af:4f:07:6f
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=ndiswrapper+net5211 driverversion=1.49+,11/15/2006,5.1.1.9 latency=0 link=no module=ndiswrapper multicast=yes wireless=IEEE 802.11g

ifconfig
eth0 Link encap:Ethernet HWaddr 00:19:DB:EF:4F:CB
UP BROADCAST 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:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:16 Base address:0xe000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 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)

BTW, the computer is an LG E500-LP55P (chipset intel gl960)

with this, can someone help me please? :S

PogMoThoin
November 17th, 2007, 06:57 PM
Hi all,

Been posting in this (http://ubuntuforums.org/showthread.php?t=615768) thread, decided i might get better response here.

My wifi card details ar as follows:
05:00.0 Ethernet controller: Atheros Communications, Inc. AR5006EG 802.11 b/g Wireless PCI Express Adapter (rev 01)
Subsystem: AMBIT Microsystem Corp. Unknown device 0428
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin A routed to IRQ 19
Region 0: Memory at d0000000 (64-bit, non-prefetchable) [disabled] [size=64K]
Capabilities: [40] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [50] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-
Address: 00000000 Data: 0000
Capabilities: [60] Express Legacy Endpoint IRQ 0
Device: Supported: MaxPayload 128 bytes, PhantFunc 0, ExtTag-
Device: Latency L0s <512ns, L1 <64us
Device: AtnBtn- AtnInd- PwrInd-
Device: Errors: Correctable- Non-Fatal- Fatal- Unsupported-
Device: RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop-
Device: MaxPayload 128 bytes, MaxReadReq 512 bytes
Link: Supported Speed 2.5Gb/s, Width x1, ASPM L0s L1, Port 0
Link: Latency L0s <512ns, L1 <64us
Link: ASPM Disabled RCB 128 bytes CommClk- ExtSynch-
Link: Speed 2.5Gb/s, Width x1
Capabilities: [90] MSI-X: Enable- Mask- TabSize=1
Vector table: BAR=0 offset=00000000
PBA: BAR=0 offset=00000000

sudo lshw -C network
*-network UNCLAIMED
description: Ethernet controller
product: AR5006EG 802.11 b/g Wireless PCI Express Adapter
vendor: Atheros Communications, Inc.
physical id: 0
bus info: pci@0000:05:00.0
version: 01
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix cap_list
configuration: latency=0
*-network
description: Ethernet interface
product: BCM4401-B0 100Base-TX
vendor: Broadcom Corporation
physical id: 1
bus info: pci@0000:06:01.0
logical name: eth0
version: 02
serial: 00:16:d4:e4:3d:c5
size: 100MB/s
capacity: 100MB/s
width: 32 bits
clock: 33MHz
capabilities: pm bus_master cap_list ethernet physical mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=b44 driverversion=1.01 duplex=full ip=192.168.0.11 latency=64 link=yes module=b44 multicast=yes port=twisted pair speed=100MB/s


Been trying to follow this guide, got ndiswapper & Xp drivers using the commands, i get as far as extracting the archives, this is the output i get when i try:
colm@l33t-str33t-2:~$ tar xvf ar5007eg-*.tar.gz
ar5007eg-32-0.2/
ar5007eg-32-0.2/ar5007eg/
ar5007eg-32-0.2/ar5007eg/net5211.inf
ar5007eg-32-0.2/ar5007eg/ar5211.sys
ar5007eg-32-0.2/README
colm@l33t-str33t-2:~$ tar xvf ndiswrapper-newest.tar.gz
tar: ndiswrapper-newest.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
What am i doing wrong? Can some1 lookover it & tell me whats wrong?

wilerk
November 18th, 2007, 03:58 AM
Thank you very much for the original poster, it works like a charm for me with your steps!

I have a AR5006eg though, but Wifi-Radar picks up the networks around me!

laki42
November 18th, 2007, 08:22 AM
Really thanks for the thread, after a week of desperate tryings I've finally made my wifi work (actually I don't know how, because I did a lot of reinstalls but wifi-radar fixed the whole thing at the end).
BTW I'm new to Ubuntu but I've got a feeling that I'll say goodbye to my XP very soon :) The only thing that wasn't working in my Gutsy so far is now working, so the only reason to keep my WIN is playing games :D

awatts
November 21st, 2007, 06:35 AM
So I'm running Gutsy on my new ASUS f3ka laptop. The only issue I'm still having is with the ar5007eg. I followed the instructions and tried to connect with network manager. Of course I could not connect. so I installed WICD and gave it a go. sure enough it connected, only thing was it disconnected (or rather went into limited or local connectivity) I can only stay connected for like 20 seconds before this happens...sometimes my network will not show up at all in WICD after a period of time. Also, the signal strength is also extremely low (3% in an area that had 5 bars under vista.) Should i be trying other drivers, installing different versions of ndis, going back to feisty, or messing with wifi-radar? Based on the results of this thread you would think i could get it to work. Any thoughts would be appreciated.

JonathanSteenbrugge
November 26th, 2007, 08:11 PM
In my case the card works fine now. Thanks for the help. It is true that when I reboot the computer, the card stops working. I don't know what the problem is. Someone any Idea?

When I shut down and restart after that, everything is ok...

coltcannon
November 26th, 2007, 10:10 PM
I picked up a Toshiba Satellite a135-s7403 on black friday. Ive gotten everything to work except the wireless (reliably). The chipset is the atheros ar5006eg. Like many others it works fine after the initial reboot. If I have to reset again it will no longer recognize any wifi networks. I can post info if there is any help on this problem.

dominik_ap
November 27th, 2007, 11:22 AM
Hi, i have just installed kubuntu gutsy gibbon on my new laptop acer aspire and wifi doesnt work...

i tried this guide but it didnt help...

lspci:
04:00.0 Ethernet controller: Broadcom Corporation NetLink BCM5787M Gigabit Ethernet PCI Express (rev 02)
05:00.0 Ethernet controller: Atheros Communications, Inc. AR5006EG 802.11 b/g Wireless PCI Express Adapter (rev 01)

iwconfig:
lo no wireless extensions.
eth0 no wireless extensions.

dmesg: this i found
[ 17.892000] ndiswrapper (import:242): unknown symbol: NDIS.SYS:'NdisMRegisterScatterGatherDma'
[ 17.892000] ndiswrapper (load_sys_files:216): couldn't prepare driver 'netathr'
[ 17.956000] ndiswrapper (load_wrap_driver:118): couldn't load driver netathr; check system log for messages from 'loadndisdriver'


ndiswrapper -l
bcmwl5 : driver installed
bcmwl6 : driver installed
net5211 : driver installed
device (168C:001C) present (alternate driver: ath_pci)
netathr : driver installed
device (168C:001C) present (alternate driver: ath_pci)


as you can see i tried to install more drivers, but i dont know which one is right...
i got some CD with drivers for my laptop, but drivers from it doesnt work

How should i repair it? Do you know how to start wifi on my laptop? Thanks

Dominik Franek

coltcannon
November 27th, 2007, 07:10 PM
So Im surprised to come home to the wifi working. I left for work and started the software update this morning. Got home restarted and wifi was operational. Im afraid to move it back to its home. Thanks for the how to.

inversis
November 28th, 2007, 08:20 PM
The guide worked for me by adding at the end:
$ sudo ndiswrapper -ma
$ sudo ndiswrapper -mi

But I still cant connect fine to http://www.eduroam.org/ witch is an WIFI connection on my University. (WPA enterprise - PEAP - TKIP - CA certificate)
Sometimes it does, sometimes it doesn't. And after some seconds connected, connection name becomes "unkown". After 20min, I lost connection.
It doesn't work like that on Windows Vista/XP or MAC.

In my house it works just fine (normal home WPA)

YiZuSc
November 30th, 2007, 07:54 AM
Thank you very much Bmartin, i really appreciate your How/To it worked great for my acer 5050-4872 running Ubuntu x86_64

For
Hi all,

Been posting in this (http://ubuntuforums.org/showthread.php?t=615768) thread, decided i might get better response here.

My wifi card details ar as follows:


sudo lshw -C network



Been trying to follow this guide, got ndiswapper & Xp drivers using the commands, i get as far as extracting the archives, this is the output i get when i try:

What am i doing wrong? Can some1 lookover it & tell me whats wrong?

I was having the same problems like you, i just realized that i was just a bit left from acomplish... i am new at this but i think what you have left to do is this.

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

then...
7. Make sure ndiswrapper loads up every time we start Linux:
Code:

sudo modprobe ndiswrapper
echo "ndiswrapper" | sudo tee -a /etc/modules

Just restart and check if its working. If not, try Blacklisting the ath_pci or very that is already done, and plz dont Blacklist ath_hal as i did maybe...

Then again Thank you very much to Bmartin

jpblock82
November 30th, 2007, 04:03 PM
THIS STEP....

wget http://blakecmartin.googlepages.com/ar5007eg-32-0.2.tar.gz


gives me the following results:

jeremy@jpblock-3100:~$ wget http://blakecmartin.googlepages.com/arg5007eg-32-0.2.tar.gz
--13:01:06-- http://blakecmartin.googlepages.com/arg5007eg-32-0.2.tar.gz
=> `arg5007eg-32-0.2.tar.gz'
Resolving blakecmartin.googlepages.com... 72.14.203.118
Connecting to blakecmartin.googlepages.com|72.14.203.118|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
13:01:07 ERROR 404: Not Found.

Sup with that????

DemonBob
December 3rd, 2007, 02:32 PM
Madwifi Patch for this card: http://madwifi.org/ticket/1679
Madwifi Other Card Thread: http://madwifi.org/ticket/1192

Patch was removed from Madwifi due to API Breakage on non I386/686 platforms. I was able to grab a new link to it from #eeepc channel

Download, source + patch http://quaggaspace.org/eee/madwifi-eee.tar.bz2.

It does work.

Madwifi is talking to Athero's about getting this working across all platforms, and included in an offical release. Right now it only works on i386 and not x64. It does work on Acer 5315.

Last but not least: meanwhile it was approved that the patch was contributed by Atheros. We are currently talking to them about how to proceed in order to get AR5007 support into MadWifi properly (means: not just for i386, but for all platforms, to prevent ABI breakage). Please stay tuned, we will keep you updated.

Quote above was taken from ticket 1679

lsmod | grep ath output


ath_rate_sample 15232 1
ath_pci 114600 0
wlan 211376 4 wlan_scan_sta,ath_rate_sample,ath_pci
ath_hal 280544 3 ath_rate_sample,ath_pci


dmesg output


[ 15.652000] ath_hal: module license 'Proprietary' taints kernel.
[ 15.652000] ath_hal: 0.10.2.2-ATHEROS (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, RF2413, RF5413, RF2133, RF2425)
[ 15.728000] wlan: 0.8.4.2 (svn r2756)
[ 15.760000] ath_pci: 0.9.4.5 (svn r2756)
[ 15.760000] ACPI: PCI Interrupt 0000:06:00.0[A] -> GSI 19 (level, low) -> IRQ 19
[ 15.760000] PCI: Setting latency timer of device 0000:06:00.0 to 64
[ 16.248000] ath_pci: switching rfkill capability off
[ 16.324000] ath_rate_sample: 1.2 (svn r2756)
[ 16.324000] ath_pci: switching per-packet transmit power control off
[ 16.324000] wifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
[ 16.324000] wifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
[ 16.324000] wifi0: H/W encryption support: WEP AES AES_CCM TKIP
[ 16.324000] wifi0: mac 14.2 phy 7.0 radio 10.2
[ 16.324000] wifi0: Use hw queue 1 for WME_AC_BE traffic
[ 16.324000] wifi0: Use hw queue 0 for WME_AC_BK traffic
[ 16.324000] wifi0: Use hw queue 2 for WME_AC_VI traffic
[ 16.324000] wifi0: Use hw queue 3 for WME_AC_VO traffic
[ 16.324000] wifi0: Use hw queue 8 for CAB traffic
[ 16.324000] wifi0: Use hw queue 9 for beacons
[ 16.344000] wifi0: Atheros 5424/2424: mem=0x54100000, irq=19

event
December 6th, 2007, 07:40 PM
Madwifi Patch for this card: http://madwifi.org/ticket/1679
Madwifi Other Card Thread: http://madwifi.org/ticket/1192

Patch was removed from Madwifi due to API Breakage on non I386/686 platforms. I was able to grab a new link to it from #eeepc channel

Download, source + patch http://quaggaspace.org/eee/madwifi-eee.tar.bz2.

It does work.

Madwifi is talking to Athero's about getting this working across all platforms, and included in an offical release. Right now it only works on i386 and not x64. It does work on Acer 5315.



Quote above was taken from ticket 1679

lsmod | grep ath output


ath_rate_sample 15232 1
ath_pci 114600 0
wlan 211376 4 wlan_scan_sta,ath_rate_sample,ath_pci
ath_hal 280544 3 ath_rate_sample,ath_pci


dmesg output


[ 15.652000] ath_hal: module license 'Proprietary' taints kernel.
[ 15.652000] ath_hal: 0.10.2.2-ATHEROS (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, RF2413, RF5413, RF2133, RF2425)
[ 15.728000] wlan: 0.8.4.2 (svn r2756)
[ 15.760000] ath_pci: 0.9.4.5 (svn r2756)
[ 15.760000] ACPI: PCI Interrupt 0000:06:00.0[A] -> GSI 19 (level, low) -> IRQ 19
[ 15.760000] PCI: Setting latency timer of device 0000:06:00.0 to 64
[ 16.248000] ath_pci: switching rfkill capability off
[ 16.324000] ath_rate_sample: 1.2 (svn r2756)
[ 16.324000] ath_pci: switching per-packet transmit power control off
[ 16.324000] wifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
[ 16.324000] wifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
[ 16.324000] wifi0: H/W encryption support: WEP AES AES_CCM TKIP
[ 16.324000] wifi0: mac 14.2 phy 7.0 radio 10.2
[ 16.324000] wifi0: Use hw queue 1 for WME_AC_BE traffic
[ 16.324000] wifi0: Use hw queue 0 for WME_AC_BK traffic
[ 16.324000] wifi0: Use hw queue 2 for WME_AC_VI traffic
[ 16.324000] wifi0: Use hw queue 3 for WME_AC_VO traffic
[ 16.324000] wifi0: Use hw queue 8 for CAB traffic
[ 16.324000] wifi0: Use hw queue 9 for beacons
[ 16.344000] wifi0: Atheros 5424/2424: mem=0x54100000, irq=19


Worked for me when nothing else worked. ndiswrapper worked in kubuntu, but only this madwifi patch worked for me in ubuntu. Thanks!!

I have an Acer 5570Z. (5570-2977)

aletomsic
December 7th, 2007, 01:20 AM
pleaseeeee help!!! running on ubuntu gutsy, 64 bits, atheros ar5007eg wireless. i did follow every step but errors came when i was trying to compile ndiswrapper:

alek@alek-laptop:~/ndiswrapper-1.5$ make

make -C driver
make[1]: Entering directory `/home/alek/ndiswrapper-1.5/driver'
make -C /lib/modules/2.6.22-14-generic/build SUBDIRS=/home/alek/ndiswrapper-1.5/driver \
DRIVER_VERSION=1.5
make[2]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic'
CC [M] /home/alek/ndiswrapper-1.5/driver/loader.o
/home/alek/ndiswrapper-1.5/driver/loader.c: In function ‘register_devices’:
/home/alek/ndiswrapper-1.5/driver/loader.c:930: error: ‘struct usb_driver’ has no member named ‘owner’
make[3]: *** [/home/alek/ndiswrapper-1.5/driver/loader.o] Error 1
make[2]: *** [_module_/home/alek/ndiswrapper-1.5/driver] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/alek/ndiswrapper-1.5/driver'
make: *** [all] Error 2
alek@alek-laptop:~/ndiswrapper-1.5$


any ideas?? thank you

joewandy
December 7th, 2007, 10:42 PM
I encountered the same problem when I tried to compile ndiswrapper version 1.50 (got it from wget in the steps).

Go here and get version 1.49. Compile it again, and it should be okay.

http://sourceforge.net/project/showfiles.php?group_id=93482

Jeztastic
December 9th, 2007, 01:55 PM
Madwifi Patch for this card: http://madwifi.org/ticket/1679
Madwifi Other Card Thread: http://madwifi.org/ticket/1192

Patch was removed from Madwifi due to API Breakage on non I386/686 platforms. I was able to grab a new link to it from #eeepc channel

Download, source + patch http://quaggaspace.org/eee/madwifi-eee.tar.bz2.

It does work.

Madwifi is talking to Athero's about getting this working across all platforms, and included in an offical release. Right now it only works on i386 and not x64. It does work on Acer 5315.

Please could I get a step-by-step on haw to install this? I'm sorry, but I'm a total n00b, and a lot of this stuff is beyond me. Not even sure if I have midwifi. I tried to download it, but you have to compile it and it looks pretty complex.

Thanks.

xodeus
December 9th, 2007, 03:29 PM
Yes. it could be very nice with installation instructions for the madwifi patch. Could anyone please provide instructions?

residentsa
December 11th, 2007, 10:56 PM
Thanks a lot for writing this. I was not able to get Ndiswrapper 1.50 to compile correctly but the guide worked perfectly with Ndiswrapper 1.49.

Stuart Soloway
December 12th, 2007, 03:01 PM
This worked for me, and I want to thank Blake for posting the directions. I had been banging my head against a brick wall (metaphorically) for a week trying to get my wireless up. But I ran into one problem that I hope others can avoid. (I doubt I would have had a problem had I not been a relative beginner to Ubuntu and Linux.) I couldn't build ndiswrapper.

The uninstall complained that it was trying to delete directories. I think I manually deleted the directories it was complaining about, and then things were OK.

But then the make failed with compiler errors! I was about to throw my laptop out the window, when I decided to check if I had the most recent rev. I don't remember the details, but I went to the sourceforge site for ndiswrapper and downloaded rev 1.50. For some reason, Blake's command had retrieved rev 1.5, which must have been different. I don't understand the difference, but the build worked with 1.50.

I then loaded wicd, and after making some guesses as to how to translate my router's security config I was up and running.

Stu

aletomsic
December 12th, 2007, 08:13 PM
after running the following:

alek@alek-laptop:~/ndiswrapper-1.5$ sudo make uninstall
NOTE: Not all installed files are removed, as different distributions install ndiswrapper files at different places.
Run uninstall as many times as necessary until no "removing" messages appear below.
removing /lib/modules/2.6.22-14-generic/ubuntu/misc/ndiswrapper
/bin/rm: no se puede borrar `/lib/modules/2.6.22-14-generic/ubuntu/misc/ndiswrapper': Es un directorio
make: *** [uninstall] Error 1
alek@alek-laptop:~/ndiswrapper-1.5$ make
make -C driver
make[1]: se ingresa al directorio `/home/alek/ndiswrapper-1.5/driver'
make -C /lib/modules/2.6.22-14-generic/build SUBDIRS=/home/alek/ndiswrapper-1.5/driver \
DRIVER_VERSION=1.5
make[2]: se ingresa al directorio `/usr/src/linux-headers-2.6.22-14-generic'
LD /home/alek/ndiswrapper-1.5/driver/built-in.o
CC [M] /home/alek/ndiswrapper-1.5/driver/hal.o
CC [M] /home/alek/ndiswrapper-1.5/driver/iw_ndis.o
CC [M] /home/alek/ndiswrapper-1.5/driver/loader.o
/home/alek/ndiswrapper-1.5/driver/loader.c: En la función ‘register_devices’:
/home/alek/ndiswrapper-1.5/driver/loader.c:930: error: ‘struct usb_driver’ no tiene un miembro llamado ‘owner’
make[3]: *** [/home/alek/ndiswrapper-1.5/driver/loader.o] Error 1
make[2]: *** [_module_/home/alek/ndiswrapper-1.5/driver] Error 2
make[2]: se sale del directorio `/usr/src/linux-headers-2.6.22-14-generic'
make[1]: *** [default] Error 2
make[1]: se sale del directorio `/home/alek/ndiswrapper-1.5/driver'
make: *** [all] Error 2


please help! this is killing!

Fritzwr
December 12th, 2007, 11:49 PM
I am attempting to use this tutorial to install a wireless driver on my Toshiba Satelite Pro A210 in Gutsy amd64. However when type the command "make" in step 5 i get the following error:

fritz@Fritz2:~/ndiswrapper-1.5$ make
make -C driver
make[1]: Entering directory `/home/fritz/ndiswrapper-1.5/driver'
make -C /lib/modules/2.6.22-14-generic/build SUBDIRS=/home/fritz/ndiswrapper-1.5/driver \
DRIVER_VERSION=1.5
make[2]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic'
LD /home/fritz/ndiswrapper-1.5/driver/built-in.o
CC [M] /home/fritz/ndiswrapper-1.5/driver/hal.o
CC [M] /home/fritz/ndiswrapper-1.5/driver/iw_ndis.o
CC [M] /home/fritz/ndiswrapper-1.5/driver/loader.o
/home/fritz/ndiswrapper-1.5/driver/loader.c: In function ‘register_devices’:
/home/fritz/ndiswrapper-1.5/driver/loader.c:930: error: ‘struct usb_driver’ has no member named ‘owner’
make[3]: *** [/home/fritz/ndiswrapper-1.5/driver/loader.o] Error 1
make[2]: *** [_module_/home/fritz/ndiswrapper-1.5/driver] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/fritz/ndiswrapper-1.5/driver'
make: *** [all] Error 2"
Any ideas?

danwood76
December 13th, 2007, 03:43 AM
There is a patch for the latest madwifi which allows the use of the AR5007EG so you dont have to use ndiswrapper.

http://madwifi.org/ticket/1679

Follow the directions in post 11.

When I had ndiswrapper it used to regularly crash for no reason with no recovery but a restart.

regards,
Danny

sanctified-x
December 16th, 2007, 07:53 PM
But it still won't connect no matter how many times I put in my PassPhrase.
I had it working once at an earlier time so I am trying to use the same settings? The HEX settings? And that won't work either. Neither will any of the others.

I know my Pass is right. I use it on Vista whenever I reinstall and I can type it with my eyes closed. ( sigh ) And to think I had so much hope as soon as I saw those blue bars pop up. Now I can't connect and they just look as if they are taunting me (lol ).

danwood76
December 17th, 2007, 10:10 AM
try the madwifi driver with the patch, I can confirm it working on the abit airpace card, and others have reported it working on laptops aswell!

sanctified-x
December 17th, 2007, 10:53 PM
MadWifi is great and all, but the instructions on the site look liek complete gibberish to me. I agree with you, though. After I sucessfully had my wireless up and running, the damn thing kept crashing. Sigh. I will have to do another fresh install but the good thing is I have done it so many times I know all the comand line scripts by heart.

Not quite sure if that is a good thing... (lol)

hellkiller
December 18th, 2007, 11:52 AM
Can somebody tell me the instructions to install madwifi patched driver. Thanks. When I try to patch it fails. Step-by-step:

1. Download madwifi-0.9.3.3.tar.gz
2. Download madwifi-ng-0933.ar2425.20071130.i386.patch
3. tar -xvzf madwifi-0.9.3.3.tar.gz
4. cd madwifi-0.9.3.3
5. copy madwifi-ng-0933.ar2425.20071130.i386.patch to madwifi-0.9.3.3 dir
5. patch -p0 < madwifi-ng-0933.ar2425.20071130.i386.patch

rahnev@Slack:~/Desktop/Atheros New/madwifi-0.9.3.3$ patch -p0 < madwifi-ng-0933.ar2425.20071130.i386.patch
patching file hal/ah.h
Hunk #1 FAILED at 33.
Hunk #2 FAILED at 416.
Hunk #3 FAILED at 441.
Hunk #4 FAILED at 488.
Hunk #5 FAILED at 674.
Hunk #6 FAILED at 711.
6 out of 6 hunks FAILED -- saving rejects to file hal/ah.h.rej
patching file hal/public/i386-elf.hal.o.uu
Hunk #1 FAILED at 33.
Hunk #2 FAILED at 3284.
Hunk #3 FAILED at 3374.
Hunk #4 FAILED at 3382.
Hunk #5 FAILED at 3470.
Hunk #6 FAILED at 3479.
Hunk #7 FAILED at 3567.
Hunk #8 FAILED at 3607.
Hunk #9 FAILED at 3615.
Hunk #10 FAILED at 3623.
Hunk #11 FAILED at 4415.
Hunk #12 FAILED at 4425.
Hunk #13 FAILED at 5472.
Hunk #14 FAILED at 5532.
Hunk #15 FAILED at 5562.
Hunk #16 FAILED at 5576.
Hunk #17 FAILED at 5592.
Hunk #18 FAILED at 5606.
Hunk #19 FAILED at 5637.
Hunk #20 FAILED at 5651.
Hunk #21 FAILED at 5666.
21 out of 21 hunks FAILED -- saving rejects to file hal/public/i386-elf.hal.o.uu.rej
patching file hal/public/i386-elf.inc
patching file hal/public/i386-elf.opt_ah.h
Hunk #1 FAILED at 7.
1 out of 1 hunk FAILED -- saving rejects to file hal/public/i386-elf.opt_ah.h.rej
patching file hal/version.h
Hunk #1 FAILED at 33.
1 out of 1 hunk FAILED -- saving rejects to file hal/version.h.rej

danwood76
December 18th, 2007, 12:26 PM
Luckily for you there is already a patched version the madwifi team have released.

http://snapshots.madwifi.org/special/madwifi-ng-r2756+ar5007.tar.gz

so you just have to untar that and follow the standard install instructions from the madwifi site. this only works on 32 bit x86 systems btw.

regards,
Danny

hellkiller
December 19th, 2007, 12:31 PM
The patch was for a specific version of the driver. Problem solved. Patch's working :)

jmatbastos
December 21st, 2007, 10:25 AM
Atheros AR5005G on Acer Aspire 5051AWXMi (AMD 64) on Ubuntu dapper drake 6.06 LTS

with kernel
Linux 2.6.15-29-amd64-generic #1 SMP PREEMPT Mon Sep 24 17:19:55 UTC 2007 x86_64 GNU/Linux

managed to make wlan0 work with xp64-4.2.1.1-whql.zip
http://www.atheros.cz/download.php?atheros=AR5005G&system=2



I tried these and all the others, at last I tried the XP driver I got from :
http://www.atheros.cz/download.php?atheros=AR5007EG&system=1
and that worked, now I am posting using wlan.
thanks guys