[CentOS] atheros wifi on my oqo2

Thu Mar 14 01:53:36 UTC 2013
Robert Moskowitz <rgm at htt-consult.com>

On 03/13/2013 11:17 AM, SilverTip257 wrote:
> On Wed, Mar 13, 2013 at 9:48 AM, Robert Moskowitz <rgm at htt-consult.com>wrote:
>
>> I have a few oqo2 units that I use for testing, normally using the
>> dongle for ethernet connection.  Well supposedly they have atheros
>> wifi.  in dmseg I see:
>>
>> ath5k 0000:03:04.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
>> ath5k 0000:03:04.0: registered as 'phy0'
>> ath5k phy0: Couldn't identify radio revision.
>> ath5k 0000:03:04.0: PCI INT A disabled
>>
>> I press magic <fnc-?> per http://www.expansys.com/ft.aspx?k=119902 but
>> NetworkManager is not adding wifi as a networking device.  There is no
>> file under /etc/sysconfig/network-scripts/ifc-* either.  How can I get
>> the wifi working?
>>
> Does the Atheros device show up in the output of ifconfig?
> ifconfig -a

Only eth0 and lo

> If it does, check the output of iwconfig.

And of course nothing here.
> If neither of those yield any success, dig into the output of lspci for
> info on the Ath device.
> lspci -v
> lspci -v | grep -A10 -B2 thernet
>
> with verbosity turne up another notch if you want more info
> lspci -vv | grep -A10 -B2 thernet

# lspci -vv | grep -A10 -B2 thernet
     Kernel modules: snd-hda-intel

03:04.0 Ethernet controller: Atheros Communications Inc. AR5413/AR5414 
Wireless Network Adapter [AR5006X(S) 802.11abg] (rev 01)
     Subsystem: Atheros Communications Inc. EnGenius EMP-8602 (400mw) or 
Compex WLM54AG (SuperAG)
     Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
     Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort- >SERR- <PERR- INTx-
     Interrupt: pin A routed to IRQ 17
     Region 0: Memory at c2100000 (32-bit, non-prefetchable) [size=64K]
     Capabilities: [44] Power Management version 2
         Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA 
PME(D0-,D1-,D2-,D3hot-,D3cold-)
         Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=2 PME-
     Kernel modules: ath5k

03:05.0 Ethernet controller: Realtek Semiconductor Co., Ltd. 
RTL-8139/8139C/8139C+ (rev 10)
     Subsystem: Atheros Communications Inc. Device 8139
     Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
     Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort- >SERR- <PERR- INTx-
     Latency: 32 (8000ns min, 16000ns max)
     Interrupt: pin A routed to IRQ 18
     Region 0: I/O ports at bc00 [size=256]
     Region 1: Memory at c2110000 (32-bit, non-prefetchable) [size=256]
     Capabilities: [50] Power Management version 2
         Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA 
PME(D0-,D1+,D2+,D3hot+,D3cold+)
         Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-

I checked in the bios that the card is enabled.  The keyboard indicates 
that the function key function of the / key is to turn on the radio.