ath5k on the Acer Aspire One
Hi...
I have just got a One, and have installed a standard distro (not Linpus), Mandriva in my case.
Everything works pretty nicely but WiFi. Hardware is:
03:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)
The driver used is ath5k. On load, it logs this:
Aug 15 01:13:57 one klogd: ath5k_pci 0000:03:00.0: registered as 'phy0' Aug 15 01:13:57 one klogd: ath5k phy0: Support for RF2425 is under development. Aug 15 01:13:57 one klogd: ath5k phy0: Atheros AR2425 chip found (MAC: 0xe2, PHY: 0x70)
But when I try to connect, I see:
one:~# wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf -D wext ioctl[SIOCSIWAUTH]: Operation not supported WEXT auth param 4 value 0x0 - CTRL-EVENT-SCAN-RESULTS CTRL-EVENT-SCAN-RESULTS
wpa_supplicant.conf just has this:
network={
ssid="werewolf"
# scan_ssid=1
proto=WPA2
key_mgmt=WPA-PSK
psk="xxxxxx"
}
And the interface does not see any network. My router is a WRT54GL running Tomato 1.21, and the wireless scan feature of tomato does not show the emitter in the laptop.
One detail, the wifi light in the lid is not lit, and if I push the wifi button I get this message:
Aug 15 01:34:16 one klogd: atkbd.c: Unknown key pressed (translated set 2, code 0xd6 on isa0060/serio0). Aug 15 01:34:16 one klogd: atkbd.c: Use 'setkeycodes e056 <keycode>' to make it known. Aug 15 01:34:16 one klogd: atkbd.c: Unknown key released (translated set 2, code 0xd6 on isa0060/serio0). Aug 15 01:34:16 one klogd: atkbd.c: Use 'setkeycodes e056 <keycode>' to make it known.
Well, I thought I needed 'acerhk', so loaded it:
Aug 15 01:34:32 one klogd: input: Acer hotkey driver as /class/input/input9 Aug 15 01:34:33 one klogd: acerhk: Could not find model string, will assume type 200 series Aug 15 01:34:33 one klogd: Acer Travelmate hotkey driver v0.5.35
But get the same messages.
So perhaps the problem is just that wifi is disabled, and I cant enable it because an driver understands the codes from the button in the case.
Any idea ?
BTW, can I force the interface on when loading ath5k ?
TIA
--
J.A. Magallon <jamagallon()ono!com> \ Software is like sex:
\ It's better when it's free
Mandriva Linux release 2009.0 (Cooker) for i586 Linux 2.6.25-jam18 (gcc 4.3.1 20080626 (GCC) #1 SMP
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 4 lines · Frans Pop
Quoted 3 lines · J.A. Magallón
I have just got a One, and have installed a standard distro (not Linpus), Mandriva in my case.
Quoted 8 lines
Quoted 1 line
Everything works pretty nicely but WiFi. Hardware is:
The ath5k driver has been improved a lot in recent kernel releases and for me it only started working properly with WEP and WPA with kernel version 2.6.26. So please retry with that kernel version.
Cheers,
FJP
I'm using 2.6.26.2 from Mandriva cooker.
I'm also thinking its a soft/encryption problem:
one:~# wpa_supplicant -iwlan0 -c/etc/wpa_supplicant.conf -Dwext -d Initializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver 'wext' ctrl_interface 'N/A' bridge 'N/A' Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf' Reading configuration file '/etc/wpa_supplicant.conf' ctrl_interface='/var/run/wpa_supplicant' eapol_version=1 ap_scan=1 fast_reauth=1 Line 771: removed CCMP from group cipher list since it was not allowed for pairwise cipher Priority group 0 id=0 ssid='werewolf' Initializing interface (2) 'wlan0' SIOCGIWRANGE: WE(compiled)=22 WE(source)=21 enc_capa=0xf capabilities: key_mgmt 0xf enc 0xf WEXT: Operstate: linkmode=1, operstate=5 Own MAC address: 00:1f:e2:bc:8c:01 wpa_driver_wext_set_wpa wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0 wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0 wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0 wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0 wpa_driver_wext_set_countermeasures ioctl[SIOCSIWAUTH]: Operation not supported WEXT auth param 4 value 0x0 - wpa_driver_wext_set_drop_unencrypted RSN: flushing PMKID list in the driver Setting scan request: 0 sec 100000 usec EAPOL: SUPP_PAE entering state DISCONNECTED EAPOL: KEY_RX entering state NO_KEY_RECEIVE EAPOL: SUPP_BE entering state INITIALIZE EAP: EAP entering state DISABLED Added interface wlan0 RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP]) Wireless event: cmd=0x8b06 len=8 State: DISCONNECTED -> SCANNING Starting AP scan (broadcast SSID) Trying to get current scan results first without requesting a new scan to speed up initial association Received 0 bytes of scan results (0 BSSes) CTRL-EVENT-SCAN-RESULTS Selecting BSS from priority group 0 Try to find WPA-enabled AP Try to find non-WPA AP No suitable AP found. Setting scan request: 0 sec 0 usec Starting AP scan (broadcast SSID) Scan requested (ret=0) - scan timeout 5 seconds EAPOL: disable timer tick RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP]) Wireless event: cmd=0x8b19 len=8 Received 0 bytes of scan results (0 BSSes) CTRL-EVENT-SCAN-RESULTS Selecting BSS from priority group 0 Try to find WPA-enabled AP Try to find non-WPA AP No suitable AP found. ...
Signature · 4 lines
J.A. Magallon <jamagallon()ono!com> \ Software is like sex:
\ It's better when it's free
Mandriva Linux release 2009.0 (Cooker) for i586
Linux 2.6.25-jam18 (gcc 4.3.1 20080626 (GCC) #1 SMPQuoted 3 lines · J.A. Magallón
I'm using 2.6.26.2 from Mandriva cooker.
I'm also thinking its a soft/encryption problem:
The encryption fixes I know about for WPA should already be in 2.6.26. But ath5k uses mac80211 for encryption so if it is encryption related, then it's in the interface code between them, or else more wireless cards would have the problem.
Quoted 47 lines
one:~# wpa_supplicant -iwlan0 -c/etc/wpa_supplicant.conf -Dwext -d Initializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver 'wext' ctrl_interface 'N/A' bridge 'N/A' Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf' Reading configuration file '/etc/wpa_supplicant.conf' ctrl_interface='/var/run/wpa_supplicant' eapol_version=1 ap_scan=1 fast_reauth=1 Line 771: removed CCMP from group cipher list since it was not allowed for pairwise cipher Priority group 0 id=0 ssid='werewolf' Initializing interface (2) 'wlan0' SIOCGIWRANGE: WE(compiled)=22 WE(source)=21 enc_capa=0xf capabilities: key_mgmt 0xf enc 0xf WEXT: Operstate: linkmode=1, operstate=5 Own MAC address: 00:1f:e2:bc:8c:01 wpa_driver_wext_set_wpa wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0 wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0 wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0 wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0 wpa_driver_wext_set_countermeasures ioctl[SIOCSIWAUTH]: Operation not supported WEXT auth param 4 value 0x0 - wpa_driver_wext_set_drop_unencrypted RSN: flushing PMKID list in the driver Setting scan request: 0 sec 100000 usec EAPOL: SUPP_PAE entering state DISCONNECTED EAPOL: KEY_RX entering state NO_KEY_RECEIVE EAPOL: SUPP_BE entering state INITIALIZE EAP: EAP entering state DISABLED Added interface wlan0 RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP]) Wireless event: cmd=0x8b06 len=8 State: DISCONNECTED -> SCANNING Starting AP scan (broadcast SSID) Trying to get current scan results first without requesting a new scan to speed up initial association Received 0 bytes of scan results (0 BSSes) CTRL-EVENT-SCAN-RESULTS Selecting BSS from priority group 0 Try to find WPA-enabled AP Try to find non-WPA AP No suitable AP found. Setting scan request: 0 sec 0 usec Starting AP scan (broadcast SSID) Scan requested (ret=0) - scan timeout 5 seconds EAPOL: disable timer tick RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Quoted 8 lines
Wireless event: cmd=0x8b19 len=8 Received 0 bytes of scan results (0 BSSes) CTRL-EVENT-SCAN-RESULTS Selecting BSS from priority group 0 Try to find WPA-enabled AP Try to find non-WPA AP No suitable AP found. ...
It looks like you didn't get any scan results. Does 'iwlist wlan0 scan' work?
CCing ath5k-devel, you'll probably get more help there.
Signature · 1 line
Bob Copeland %% www.bobcopeland.com
Quoted 4 lines · Bob Copeland
Quoted 3 lines · J.A. Magallón
I'm using 2.6.26.2 from Mandriva cooker.
I'm also thinking its a soft/encryption problem:
BTW the original report you said you were using AR2425. I believe support for that was only added for 2.6.27.
Signature · 1 line
Bob Copeland %% www.bobcopeland.com
Quoted 9 lines · Bob Copeland
Quoted 3 lines · J.A. Magallón
I'm using 2.6.26.2 from Mandriva cooker.
I'm also thinking its a soft/encryption problem:
The encryption fixes I know about for WPA should already be in 2.6.26. But ath5k uses mac80211 for encryption so if it is encryption related, then it's in the interface code between them, or else more wireless cards would have the problem.
Is this using WPA-PSK or WPA-EAP? I know my card works with PSK but I'm seeing similar results with EAP. Haven't had time to properly analyze the problem yet and my AP is in the office for the weekend.
Regards,
Jaco Kroon
Quoted 62 lines
Quoted 48 lines
one:~# wpa_supplicant -iwlan0 -c/etc/wpa_supplicant.conf -Dwext -d Initializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver 'wext' ctrl_interface 'N/A' bridge 'N/A' Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf' Reading configuration file '/etc/wpa_supplicant.conf' ctrl_interface='/var/run/wpa_supplicant' eapol_version=1 ap_scan=1 fast_reauth=1 Line 771: removed CCMP from group cipher list since it was not allowed for pairwise cipher Priority group 0 id=0 ssid='werewolf' Initializing interface (2) 'wlan0' SIOCGIWRANGE: WE(compiled)=22 WE(source)=21 enc_capa=0xf capabilities: key_mgmt 0xf enc 0xf WEXT: Operstate: linkmode=1, operstate=5 Own MAC address: 00:1f:e2:bc:8c:01 wpa_driver_wext_set_wpa wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0 wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0 wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0 wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0 wpa_driver_wext_set_countermeasures ioctl[SIOCSIWAUTH]: Operation not supported WEXT auth param 4 value 0x0 - wpa_driver_wext_set_drop_unencrypted RSN: flushing PMKID list in the driver Setting scan request: 0 sec 100000 usec EAPOL: SUPP_PAE entering state DISCONNECTED EAPOL: KEY_RX entering state NO_KEY_RECEIVE EAPOL: SUPP_BE entering state INITIALIZE EAP: EAP entering state DISABLED Added interface wlan0 RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP]) Wireless event: cmd=0x8b06 len=8 State: DISCONNECTED -> SCANNING Starting AP scan (broadcast SSID) Trying to get current scan results first without requesting a new scan to speed up initial association Received 0 bytes of scan results (0 BSSes) CTRL-EVENT-SCAN-RESULTS Selecting BSS from priority group 0 Try to find WPA-enabled AP Try to find non-WPA AP No suitable AP found. Setting scan request: 0 sec 0 usec Starting AP scan (broadcast SSID) Scan requested (ret=0) - scan timeout 5 seconds EAPOL: disable timer tick RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])Quoted 8 lines
Wireless event: cmd=0x8b19 len=8 Received 0 bytes of scan results (0 BSSes) CTRL-EVENT-SCAN-RESULTS Selecting BSS from priority group 0 Try to find WPA-enabled AP Try to find non-WPA AP No suitable AP found. ...It looks like you didn't get any scan results. Does 'iwlist wlan0 scan' work?
CCing ath5k-devel, you'll probably get more help there.
Quoted 4 lines · Jaco Kroon
Is this using WPA-PSK or WPA-EAP? I know my card works with PSK but I'm seeing similar results with EAP. Haven't had time to properly analyze the problem yet and my AP is in the office for the weekend.
PSK. I'll claim ignorance on EAP though I don't know why it wouldn't work. The change I was thinking of in 2.6.26 was related to some packets not being decrypted properly (http://marc.info/?l=linux-wireless&m=121064141521711).
There was also this one related to association failures around .27-rc1:
http://marc.info/?l=linux-wireless&m=121732394028001.
Let us know what you find out.
Signature · 1 line
Bob Copeland %% www.bobcopeland.com
Quoted 7 lines · J.A. Magallón
Hi...
I have just got a One, and have installed a standard distro (not Linpus), Mandriva in my case.
Everything works pretty nicely but WiFi. Hardware is:
Quoted 8 lines
03:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)
The driver used is ath5k. On load, it logs this:
Aug 15 01:13:57 one klogd: ath5k_pci 0000:03:00.0: registered as 'phy0' Aug 15 01:13:57 one klogd: ath5k phy0: Support for RF2425 is under development. Aug 15 01:13:57 one klogd: ath5k phy0: Atheros AR2425 chip found (MAC: 0xe2, PHY: 0x70)
2425 stuff went in after 2.6.26 was already released. Try linux-2.6.git.
John
Signature · 2 lines
John W. Linville [email protected]
Quoted 7 lines · J.A. Magallón
Hi...
I have just got a One, and have installed a standard distro (not Linpus), Mandriva in my case.
Everything works pretty nicely but WiFi. Hardware is:
Quoted 9 lines
03:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)
The driver used is ath5k. On load, it logs this:
Aug 15 01:13:57 one klogd: ath5k_pci 0000:03:00.0: registered as 'phy0' Aug 15 01:13:57 one klogd: ath5k phy0: Support for RF2425 is under development. Aug 15 01:13:57 one klogd: ath5k phy0: Atheros AR2425 chip found (MAC: 0xe2, PHY: 0x70)
Thanks to everyone that answered, probably the solution is an update to the driver, hardware support for this chip was added in 27-rc. My distro still uses 26.2.
I'm going on holydays for a week now, will make more tests on return, and continue the thread.
Thanks everyone.
Signature · 4 lines
J.A. Magallon <jamagallon()ono!com> \ Software is like sex:
\ It's better when it's free
Mandriva Linux release 2009.0 (Cooker) for i586
Linux 2.6.25-jam18 (gcc 4.3.1 20080626 (GCC) #1 SMP