Problem: When connecting my wifi card to the AP, I fall into a never-ending "ASSOCIATING" state and won't authenticate. With madwifi it used to work.
Can you help me to get it work ? Here I give you as much infos as I can: Kernel: 2.6.30.5-43.fc11.i686.PAE driver: ath5k # lspci | grep Atheros 01:07.0 Ethernet controller: Atheros Communications Inc. Atheros AR5001X+ Wireless Network Adapter (rev 01) # lspci -n -s 01:07.0 01:07.0 0200: 168c:0013 (rev 01) Kernel messages on modprobe ath5k: ---------------------------------- Sep 12 10:50:01 LinuxAsus kernel: ath5k 0000:01:07.0: PCI INT A -> Link[LNKB] -> GSI 14 (level, low) -> IRQ 14 Sep 12 10:50:01 LinuxAsus kernel: ath5k 0000:01:07.0: registered as 'phy1' Sep 12 10:50:02 LinuxAsus kernel: ath5k phy1: Atheros AR2414 chip found (MAC: 0x79, PHY: 0x45) /etc/sysconfig/wpa_supplicant ----------------------------- INTERFACES="-iwlan0" DRIVERS="-Dwext" OTHER_ARGS="-u -f /var/log/wpa_supplicant.log" /etc/wpa_supplicant/wpa_supplicant.conf --------------------------------------- ctrl_interface=/var/run/wpa_supplicant ap_scan=2 fast_reauth=1 network={ ssid="WLAN-MF" proto=WPA key_mgmt=WPA-PSK pairwise=TKIP group=TKIP psk="......omissis......." priority=9 } Commands to get wi-fi work -------------------------- /usr/sbin/wpa_cli -iwlan0 terminate OK ------------------------------------------------------------------------------ /usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -iwlan0 - Dwext -dd Initializing interface 'wlan0' conf '/etc/wpa_supplicant/wpa_supplicant.conf' driver 'wext' ctrl_interface 'N/A' bridge 'N/A' Configuration file '/etc/wpa_supplicant/wpa_supplicant.conf' -> '/etc/wpa_supplicant/wpa_supplicant.conf' Reading configuration file '/etc/wpa_supplicant/wpa_supplicant.conf' ctrl_interface='/var/run/wpa_supplicant' ap_scan=2 fast_reauth=1 Line: 7 - start of a new network block ssid - hexdump_ascii(len=7): 57 4c 41 4e 2d 4d 46 WLAN-MF proto: 0x1 key_mgmt: 0x2 pairwise: 0x8 group: 0x8 PSK (ASCII passphrase) - hexdump_ascii(len=36): [REMOVED] priority=9 (0x9) PSK (from passphrase) - hexdump(len=32): [REMOVED] Priority group 9 id=0 ssid='WLAN-MF' Initializing interface (2) 'wlan0' Interface wlan0 set UP - waiting a second for the driver to complete initialization SIOCGIWRANGE: WE(compiled)=22 WE(source)=21 enc_capa=0xf capabilities: key_mgmt 0xf enc 0xf flags 0x0 WEXT: Operstate: linkmode=1, operstate=5 Own MAC address: 00:40:f4:f4:d7:32 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 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 Ignore event for foreign ifindex 3 RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP]) RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP]) RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added Wireless event: cmd=0x8b06 len=8 State: DISCONNECTED -> SCANNING Trying to associate with SSID 'WLAN-MF' Cancelling scan request WPA: clearing own WPA/RSN IE Automatic auth_alg selection: 0x1 WPA: No WPA/RSN IE available from association info WPA: Set cipher suites based on configuration WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2 proto 1 WPA: clearing AP WPA IE WPA: clearing AP RSN IE WPA: using GTK TKIP WPA: using PTK TKIP WPA: using KEY_MGMT WPA-PSK WPA: Set own WPA IE default - hexdump(len=24): ............ omissis .......... No keys have been configured - skip key clearing wpa_driver_wext_set_drop_unencrypted State: SCANNING -> ASSOCIATING wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT) WEXT: Operstate: linkmode=-1, operstate=5 wpa_driver_wext_associate wpa_driver_wext_set_psk Setting authentication timeout: 60 sec 0 usec EAPOL: External notification - EAP success=0 EAPOL: External notification - EAP fail=0 EAPOL: External notification - portControl=Auto RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP]) RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added Wireless event: cmd=0x8b06 len=8 EAPOL: disable timer tick RX ctrl_iface - hexdump_ascii(len=6): 53 54 41 54 55 53 STATUS RX ctrl_iface - hexdump_ascii(len=9): 54 45 52 4d 49 4e 41 54 45 TERMINATE Removing interface wlan0 State: ASSOCIATING -> DISCONNECTED wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT) WEXT: Operstate: linkmode=-1, operstate=5 No keys have been configured - skip key clearing EAPOL: External notification - portEnabled=0 EAPOL: External notification - portValid=0 wpa_driver_wext_set_wpa wpa_driver_wext_set_drop_unencrypted wpa_driver_wext_set_countermeasures No keys have been configured - skip key clearing Cancelling scan request Cancelling authentication timeout WEXT: Operstate: linkmode=0, operstate=6 ----------------------------------------------------------------------------- # /usr/sbin/wpa_cli -iwlan0 status wpa_state=ASSOCIATING ip_address=192.168.168.3 ----------------------------------------------------------------------------- # ifconfig wlan0 wlan0 Link encap:Ethernet HWaddr 00:40:F4:F4:D7:32 inet addr:192.168.168.3 Bcast:192.168.168.255 Mask:255.255.255.0 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) # iwconfig wlan0 wlan0 IEEE 802.11bg ESSID:"WLAN-MF" Mode:Managed Frequency:2.437 GHz Access Point: Not-Associated Tx-Power=20 dBm Retry min limit:7 RTS thr:off Fragment thr:off Encryption key:off 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 # iwlist wlan0 scan wlan0 Scan completed : Cell 01 - Address: 00:40:F4:FB:92:39 Channel:6 Frequency:2.437 GHz (Channel 6) Quality=56/70 Signal level=-54 dBm Encryption key:on ESSID:"WLAN-MF" Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s 12 Mb/s; 24 Mb/s; 36 Mb/s Bit Rates:9 Mb/s; 18 Mb/s; 48 Mb/s; 54 Mb/s Mode:Master Extra:tsf=000000001f52e123 Extra: Last beacon: 615ms ago IE: Unknown: 0007574C414E2D4D46 IE: Unknown: 010882848B960C183048 IE: Unknown: 030106 IE: Unknown: 2A0100 IE: Unknown: 32041224606C IE: Unknown: DD0900037F01010017FF7F IE: WPA Version 1 Group Cipher : TKIP Pairwise Ciphers (1) : TKIP Authentication Suites (1) : PSK IE: Unknown: DD0C00037F020101010002A34000 _______________________________________________ ath5k-users mailing list ath5k-users@lists.ath5k.org https://lists.ath5k.org/mailman/listinfo/ath5k-users