Im, not sure what causes the problem, but after instalation of Suse 11.4, wifi worked totally correctly, until the first restart. Then it ceased to work. It looks like everything is working correctly until WPA authentication.
My wifi device
02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)
02:00.0 0280: 168c:002b (rev 01)
iwconfig and iwlist output:
wlan0 IEEE 802.11bgn ESSID:off/any
Mode:Managed Frequency:2.462 GHz Access Point: Not-Associated
Tx-Power=20 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Cell 04 - Address: F0:7D:68:79:1C:BA
Channel:11
Frequency:2.462 GHz (Channel 11)
Quality=55/70 Signal level=-55 dBm
Encryption key:on
ESSID:"dlink"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 9 Mb/s
18 Mb/s; 36 Mb/s; 54 Mb/s
Bit Rates:6 Mb/s; 12 Mb/s; 24 Mb/s; 48 Mb/s
Mode:Master
Extra:tsf=0000000124652158
Extra: Last beacon: 204ms ago
IE: Unknown: 0005646C696E6B
IE: Unknown: 010882848B961224486C
IE: Unknown: 03010B
IE: Unknown: 2A0102
IE: Unknown: 32040C183060
IE: Unknown: 2D1AEE1117FF000000010000000000000000000000000C0000000000
IE: Unknown: 3D160B070000000000000000000000000000000000000000
IE: Unknown: 3E0100
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : CCMP TKIP
Authentication Suites (1) : PSK
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : CCMP TKIP
Authentication Suites (1) : PSK
IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00
IE: Unknown: 7F0101
IE: Unknown: DD07000C4307000000
IE: Unknown: 0706474220010D10
IE: Unknown: DD1E00904C33EE1117FF000000010000000000000000000000000C0000000000
IE: Unknown: DD1A00904C340B070000000000000000000000000000000000000000
IE: Unknown: DD050050F20500
IE: Unknown: DD750050F204104A00011010440001021041000100103B000103104700103D4BF2FCDBA8D5E244EAF07D68791CBA10210006442D4C696E6B102300074449522D363030102400074449522D3630301042000830303030303030301054000800060050F2040001101100074449522D363030100800020086
So until now it looks for me that everything works correctly, but after trying to connect the problems begin.
dmesg output:
7.866608] ath9k 0000:02:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
7.866623] ath9k 0000:02:00.0: setting latency timer to 64
7.917489] ath: EEPROM regdomain: 0x65
7.917493] ath: EEPROM indicates we should expect a direct regpair map
7.917498] ath: Country alpha2 being used: 00
7.917500] ath: Regpair used: 0x65
8.175033] ieee80211 phy0: Selected rate control algorithm 'ath9k_rate_control'
8.175932] Registered led device: ath9k-phy0::radio
8.176017] Registered led device: ath9k-phy0::assoc
8.176073] Registered led device: ath9k-phy0::tx
8.176125] Registered led device: ath9k-phy0::rx
8.176158] ieee80211 phy0: Atheros AR9285 Rev:2 mem=0xffffc90005220000, irq=16
...
188.377193] wlan0: authenticate with f0:7d:68:79:1c:ba (try 1)
188.379143] wlan0: authenticated
188.379172] wlan0: associate with f0:7d:68:79:1c:ba (try 1)
188.383088] wlan0: RX AssocResp from f0:7d:68:79:1c:ba (capab=0xc31 status=0 aid=1)
188.383093] wlan0: associated
188.390034] cfg80211: Calling CRDA for country: GB
188.393763] cfg80211: Regulatory domain changed to country: GB
188.393766] (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
188.393768] (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
188.393769] (5170000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm)
188.393771] (5250000 KHz - 5330000 KHz @ 40000 KHz), (N/A, 2000 mBm)
188.393772] (5490000 KHz - 5710000 KHz @ 40000 KHz), (N/A, 2700 mBm)
233.984142] wlan0: deauthenticating from f0:7d:68:79:1c:ba by local choice (reason=3)
So the wlan interface authenticates, and then disauthenticates by local choice?
Googling a bit about the reason points to wpa_supplicant. Many peoples report that they have multiple copies running, and killing them solves a problem. Sadly I’ve only one copy, and after being killed it restarts.
Here is wpa_supplicant.log on the first run after install(when it worked)
Trying to associate with f0:7d:68:79:1c:ba (SSID='dlink' freq=2462 MHz)
Associated with f0:7d:68:79:1c:ba
WPA: Key negotiation completed with f0:7d:68:79:1c:ba [PTK=CCMP GTK=TKIP]
CTRL-EVENT-CONNECTED - Connection to f0:7d:68:79:1c:ba completed (auth) [id=0 id_str=]
WPA: Group rekeying completed with f0:7d:68:79:1c:ba [GTK=TKIP]
WPA: Group rekeying completed with f0:7d:68:79:1c:ba [GTK=TKIP]
And here is log of what happens after restart:
Trying to associate with f0:7d:68:79:1c:ba (SSID='dlink' freq=2462 MHz)
Associated with f0:7d:68:79:1c:ba
WPA: Key negotiation completed with f0:7d:68:79:1c:ba [PTK=CCMP GTK=TKIP]
CTRL-EVENT-CONNECTED - Connection to f0:7d:68:79:1c:ba completed (auth) [id=0 id_str=]
CTRL-EVENT-DISCONNECTED bssid=00:00:00:00:00:00 reason=0
CTRL-EVENT-TERMINATING - signal 15 received
I will be grateful for any help here. Sadly I’ve no way to change from WPA authorization.