LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 07-24-2008, 11:19 PM   #1
lostdj
Member
 
Registered: Nov 2007
Location: Michigan
Distribution: Mandriva 2008.1
Posts: 38

Rep: Reputation: 15
Question Atheros AR5006EG 802.11 b/g Wireless PCI Express


I can imagine this topic is got its full of problums but anyone that could help me out, would be a blessing.

I recently bought a new computer:
Processor - AMD Turion X2 TL-60 Dual-Core Mobile Processor
Display - 17.0" (diagonal) WXGA+ High-Definition BrightView Widescreen Display (1440 x 900)
Memory - 3072MB DDR2 System Memory
Total memory slots - 2 DIMM
Graphics card - Nvidia GeForce Go 7150M (UMA) with up to 1071MB Total Available Graphics Memory
Networking - Integrated 10/100BASE-T Ethernet LAN (RJ-45 connector)
Broadband wireless - 802.11b/g WLAN & Bluetooth
Primary CD/DVD drive - LightScribe Super Multi 8X DVD+/- R/RW with Double Layer Support
Hard drive - 250GB (5400RPM) Hard Drive (SATA)

I was hoping to use it for school in the future but unfortuetly the wireless card has gave me nothing but trouble.
Out of the box, i tried the wireless in Vista right before i deleted it. so i know the card works well.

All the reasearch i have done, besides the 'wireless+linux=BAD", is that madwifi gets all the information on how to run atheros wireless cards, directly from, atheros. (for once)

So anyway, the wifi light goes on as soon as the linux kernel boots. Mandriva 2008.1 recognizes it and tells me its there and all that wonderfull stuff. When i try to use it or set up a 'new network' on it, it returns
'unable to find a network interface for selected device (using ath_pci driver)'
when i tried this the first time it downloaded and install all the propritory software for it, madwifi..

I have tried using the ndiswrapper for the windows driver files. I just dont understand. I had trouble with my old laptop (broadcom card), but i just had to use this 'cutter' app to get the firmware from the driver files, and wala it worked.

I also read into something on madwifi that says that it needs a HAL (hardware abstraction layer), maybe i dont have it??

Any help i could get would be awesome. Thanks.


###################### UPDATE *********************************

I got it working thanks to the help from this thread. IF YOU ARE HAVING SIMILAR, OR ANY PROBLUMS WITH YOU LINUX SYSTEM THEN YOU SHOULD USE LINUXQUESTIONS YOURSELF.

the followup to how I got it working is here

http://www.linuxquestions.org/questi...85#post3242585

Last edited by lostdj; 08-10-2008 at 09:45 AM.
 
Old 07-25-2008, 07:59 AM   #2
webaware
Member
 
Registered: Nov 2007
Location: Australia
Distribution: Fedora FC-9 x86-64+i686,CentOS 5.2 i686
Posts: 58

Rep: Reputation: 16
Remove your madwifi, and download the current source from their subversion repository and build / install that. It has support for your card, whereas I don't think the current stable release packages of madwifi have it yet.
 
Old 07-26-2008, 05:03 AM   #3
lostdj
Member
 
Registered: Nov 2007
Location: Michigan
Distribution: Mandriva 2008.1
Posts: 38

Original Poster
Rep: Reputation: 15
No such luck

I will keep the svn directory and just wait for new releases. Its a good idea, i didnt know about that.

Thanks for the help
 
Old 07-26-2008, 05:58 AM   #4
webaware
Member
 
Registered: Nov 2007
Location: Australia
Distribution: Fedora FC-9 x86-64+i686,CentOS 5.2 i686
Posts: 58

Rep: Reputation: 16
Did you do the vital last step - shut down / power off / reboot?

If so, perhaps you can report the relevant output from this command?
Code:
lspci -v
 
Old 07-26-2008, 02:55 PM   #5
davesny
Member
 
Registered: Aug 2006
Posts: 40

Rep: Reputation: 15
Atheros AR5006EG 802.11 b/g Wireless PCI

Hello,

Did you get your PCI card working? I bought a Compaq F761US and struggled getting the wireless going, however I became aware that some were getting it to work on the new release of Unbuntu. I am using openSUSE 11.0 and it is working fine. I don't know if you will have the same success with Mandriva.


The data showed that is was a AR242x, although it is also recognized as am AR5007EG, which is what worked. I don't think I saw the brand name of your laptop, but let me know if you want me to send you the instructions for configuring it in SUSE.
 
Old 07-26-2008, 11:07 PM   #6
lostdj
Member
 
Registered: Nov 2007
Location: Michigan
Distribution: Mandriva 2008.1
Posts: 38

Original Poster
Rep: Reputation: 15
lspci -v

03:00.0 Ethernet controller: Atheros Communications, Inc. AR5006EG 802.11 b/g Wireless PCI Express Adapter (rev 01)
Subsystem: Hewlett-Packard Company Unknown device 137a
Flags: bus master, fast devsel, latency 0, IRQ 10
Memory at f6000000 (64-bit, non-prefetchable) [size=64K]
Capabilities: <access denied>


No idea.

-Not interested in using another OS at this time. I could more than likely use one, i have built a Slackware OS once, but i just love mandriva's ease of use. Thanks though, im sure i will figure it out some day.
 
Old 07-26-2008, 11:09 PM   #7
lostdj
Member
 
Registered: Nov 2007
Location: Michigan
Distribution: Mandriva 2008.1
Posts: 38

Original Poster
Rep: Reputation: 15
lspci -v (ROOT)

03:00.0 Ethernet controller: Atheros Communications, Inc. AR5006EG 802.11 b/g Wireless PCI Express Adapter (rev 01)
Subsystem: Hewlett-Packard Company Unknown device 137a
Flags: bus master, fast devsel, latency 0, IRQ 10
Memory at f6000000 (64-bit, non-prefetchable) [size=64K]
Capabilities: [40] Power Management version 2
Capabilities: [50] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-
Capabilities: [60] Express Legacy Endpoint, MSI 00
Capabilities: [90] MSI-X: Enable- Mask- TabSize=1
Capabilities: [100] Advanced Error Reporting <?>
Capabilities: [140] Virtual Channel <?>
 
Old 07-27-2008, 12:14 AM   #8
LordAnta
Member
 
Registered: Apr 2008
Location: Munich, Germany
Distribution: Slackware current
Posts: 128

Rep: Reputation: 18
Code:
02:00.0 Ethernet controller: Atheros Communications, Inc. AR5006EG 802.11 b/g Wireless PCI Express Adapter (rev 01)
	Subsystem: Unknown device 1a32:0100
	Flags: bus master, fast devsel, latency 0, IRQ 22
	Memory at c0100000 (64-bit, non-prefetchable) [size=64K]
	Capabilities: [40] Power Management version 2
	Capabilities: [50] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-
	Capabilities: [60] Express Legacy Endpoint IRQ 0
	Capabilities: [90] MSI-X: Enable- Mask- TabSize=1
This is my atheros card on my laptop (the one in my siganture). I have no problems on my Slack 12.0 and Debian Etch 4.0r2 and I compiled the 0.9.4 drivers from madwifi.org.

I have a kernel >= 2.6.24.1-smp on both systems.

I am not current with mandriva releases and the kernels they use, but I suggest upgrading the kernel (i had problems with connecting to other networks on a 2.6.21.5 smp kernel).
 
Old 07-27-2008, 08:12 AM   #9
webaware
Member
 
Registered: Nov 2007
Location: Australia
Distribution: Fedora FC-9 x86-64+i686,CentOS 5.2 i686
Posts: 58

Rep: Reputation: 16
I'm thinking that there is some information missing still. I can't match up the numbers in your output, so could you try again with this command? It will force lspci to output the numeric codes for the device and its vendor:
Code:
lspci -vnnd 168c:
Also, if you look in /var/log/messages, what does ath_hal or ath_pci say?
 
Old 07-27-2008, 08:38 AM   #10
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
Atheros has released free drivers for that. See madwifi.org
Get the sources.

Best

A. Mani
 
Old 07-27-2008, 11:24 PM   #11
webaware
Member
 
Registered: Nov 2007
Location: Australia
Distribution: Fedora FC-9 x86-64+i686,CentOS 5.2 i686
Posts: 58

Rep: Reputation: 16
A., those drivers are for some but not all Atheros hardware, are you sure that they cover AR5006EG? (I'm pretty sure they don't cover AR5007/AR242x chipset (mine), for example)
 
Old 07-28-2008, 12:04 PM   #12
davesny
Member
 
Registered: Aug 2006
Posts: 40

Rep: Reputation: 15
Smile Atheros AR5006EG

Quote:
Originally Posted by lostdj View Post
lspci -v (ROOT)

03:00.0 Ethernet controller: Atheros Communications, Inc. AR5006EG 802.11 b/g Wireless PCI Express Adapter (rev 01)
Subsystem: Hewlett-Packard Company Unknown device 137a
Flags: bus master, fast devsel, latency 0, IRQ 10
Memory at f6000000 (64-bit, non-prefetchable) [size=64K]
Capabilities: [40] Power Management version 2
Capabilities: [50] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-
Capabilities: [60] Express Legacy Endpoint, MSI 00
Capabilities: [90] MSI-X: Enable- Mask- TabSize=1
Capabilities: [100] Advanced Error Reporting <?>
Capabilities: [140] Virtual Channel <?>
Hello,

I had tried to get the card working with SuSE 10.3, which also recognized the card as AR5006EG. However, during my research I found that there are cases where it is really an AR5007EG, even though lspci says it is AR5006EG. I observed that people were getting it to work on the new version of Ubuntu (8.04), which would have meant a newer kernel. So what worked for me was to keep the default kernel on a new install of SuSE 11.0 (2.6.25.5-1.1-default), and the repositories of schmolle worked. I used MadWiFi from there, along with the drivers for AR5007EG, for the others did not work. Note that there is also a problem using it with KNetworkManager, but it works fine with ifup and KWiFiManager.
The repositories for SuSE are at http://download.opensuse.org/reposit...openSUSE_11.0/ Maybe you can find something similar that will work with Mandriva.

Cheers
 
Old 07-28-2008, 02:28 PM   #13
lostdj
Member
 
Registered: Nov 2007
Location: Michigan
Distribution: Mandriva 2008.1
Posts: 38

Original Poster
Rep: Reputation: 15
webaware

- lspci -vnnd 168c did not work - there is nothing 'ath' in my var/messages

- lspci -v -nn -d 168c:001c >

03:00.0 Ethernet controller [0200]: Atheros Communications, Inc. AR5006EG 802.11 b/g Wireless PCI Express Adapter [168c:001c] (rev 01)
Subsystem: Hewlett-Packard Company Unknown device [103c:137a]
Flags: bus master, fast devsel, latency 0, IRQ 10
Memory at f6000000 (64-bit, non-prefetchable) [size=64K]
Capabilities: [40] Power Management version 2
Capabilities: [50] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-
Capabilities: [60] Express Legacy Endpoint, MSI 00
Capabilities: [90] MSI-X: Enable- Mask- TabSize=1
Capabilities: [100] Advanced Error Reporting <?>
Capabilities: [140] Virtual Channel <?>03:00.0 Ethernet controller [0200]: Atheros Communications, Inc. AR5006EG 802.11 b/g Wireless PCI Express Adapter [168c:001c] (rev 01)
Subsystem: Hewlett-Packard Company Unknown device [103c:137a]
Flags: bus master, fast devsel, latency 0, IRQ 10
Memory at f6000000 (64-bit, non-prefetchable) [size=64K]
Capabilities: [40] Power Management version 2
Capabilities: [50] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-
Capabilities: [60] Express Legacy Endpoint, MSI 00
Capabilities: [90] MSI-X: Enable- Mask- TabSize=1
Capabilities: [100] Advanced Error Reporting <?>
Capabilities: [140] Virtual Channel <?>
 
Old 07-29-2008, 07:56 AM   #14
webaware
Member
 
Registered: Nov 2007
Location: Australia
Distribution: Fedora FC-9 x86-64+i686,CentOS 5.2 i686
Posts: 58

Rep: Reputation: 16
Quote:
Originally Posted by lostdj View Post
lspci -vnnd 168c did not work
...because you left out the final ':' from the command; but:
Quote:
lspci -v -nn -d 168c:001c >

03:00.0 Ethernet controller [0200]: Atheros Communications, Inc. AR5006EG 802.11 b/g Wireless PCI Express Adapter [168c:001c] (rev 01)...
The 001c means that you have an AR5007EG, which is only supported in the latest betas of Madwifi. The source build should give you that support. If you remove all trace of madwifi from your system (using your package manager), then checkout http://svn.madwifi.org/madwifi/trunk and build / install from that, and reboot, you should get your wifi - or at least, some messages from ath_pci or ath_hal in /var/log/messages.
Quote:
there is nothing 'ath' in my var/messages
I notice that I have the following lines in my /etc/modprobe.conf file (Fedora 9), which I must have added at install; maybe you don't have something similar in yours and need to add them:
Code:
alias wifi0 ath_pci
alias ath0 ath_pci
options ath_pci autocreate=sta
 
Old 07-29-2008, 11:31 PM   #15
lostdj
Member
 
Registered: Nov 2007
Location: Michigan
Distribution: Mandriva 2008.1
Posts: 38

Original Poster
Rep: Reputation: 15
I removed all of the 'madwifi' stuff from the rpmdrake.

MODPROBE.CONF:

alias eth0 forcedeth
alias sound-slot-0 snd_hda_intel
options snd-ac97-codec power_save=1
install scsi_hostadapter /sbin/modprobe ahci; /sbin/modprobe ata_piix; /bin/true
install usb-interface /sbin/modprobe ehci_hcd; /sbin/modprobe ohci_hcd; /bin/true
remove sdhci /sbin/modprobe -r mmc_block; /sbin/modprobe --first-time -r --ignore-remove sdhci
install sdhci /sbin/modprobe --first-time --ignore-install sdhci && { /sbin/modprobe mmc_block; /bin/true; }
alias ieee1394-controller ohci1394
install ide-controller /sbin/modprobe amd74xx; /bin/true
> alias wlan0 rtl8187
> alias eth1 ndiswrapper
install driverloader /sbin/modprobe dldrpci && /sbin/modprobe dldrusb
remove driverloader /sbin/modprobe -r dldrpci dldrusb (what is this stuff??)

REMOVED >
ADDED:
alias wifi0 ath_pci
alias ath0 ath_pci
options ath_pci autocreate=sta

Rebooting.....
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
wireless wont work -Atheros AR242x 802.11abg tac90 Linux - Laptop and Netbook 15 09-10-2009 06:15 PM
Lan Express IEEE 802.11 PCI Adapter configuration bytesurfer Linux - Wireless Networking 4 03-28-2009 11:02 PM
Fedora8 does not recognize my Atheros AR5006EG 802.11 b/g Wireless PCI Express Adapte phantom157 Linux - Hardware 2 07-09-2008 04:25 PM
Atheros AR5007 802.11b/g wireless won't work in OpenSUSE 10.3 justin23lee Linux - Wireless Networking 12 06-01-2008 11:41 AM
driver for atheros 802.11 wireless 57210788 Linux - Laptop and Netbook 1 01-14-2006 03:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 06:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration