>Number: 154598 >Category: kern >Synopsis: [wireless] Atheros 5424/2424 can't connect to WPA network >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Feb 08 21:30:07 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Lars Engels >Release: FreeBSD 9-CURRENT >Organization: >Environment: FreeBSD maggie.bsd-geek.de 9.0-CURRENT FreeBSD 9.0-CURRENT #42 r215143M: Tue Feb 8 21:36:22 CET 2011 l...@maggie.bsd-geek.de:/usr/obj/usr/src/sys/MAGGIE i386
>Description: As already discussed with adrian on IRC. Background: I just changed my home AP from a Linksys WRT54GL (802.11g) running dd-wrt to a TP-Link TL-WR1043ND (IEEE 802.11n) also with dd-wrt. When I configured the new AP with WPA or WPA2 using TKIP or AES encryption ifconfig shows that I am connected, but I can't get an IP address from DHCP or can ping the AP when I configure an IP address manually: ifconfig wlan1 wlan1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 ether 00:24:2b:0e:a8:5f inet6 fe80::224:2bff:fe0e:a85f%wlan1 prefixlen 64 scopeid 0x6 inet 0.0.0.0 netmask 0xffffffff broadcast 192.168.10.255 nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> media: IEEE 802.11 Wireless Ethernet OFDM/54Mbps mode 11g status: associated ssid hafenkneipe channel 6 (2437 MHz 11g) bssid d8:5d:4c:9c:35:50 regdomain 101 indoor ecm authmode WPA privacy ON deftxkey UNDEF AES-CCM 2:128-bit txpower 20 bmiss 7 scanvalid 450 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5 protmode CTS wme burst roaming MANUAL wpa_supplicant.conf: network={ ssid="hafenkneipe" psk="foobar" } With wlandebug turned on I see this in /var/log/messages: Feb 8 21:54:25 maggie kernel: wlan1: Ethernet address: 00:24:2b:0e:a8:5f Feb 8 21:54:28 maggie kernel: wlan1: link state changed to UP Feb 8 21:58:05 maggie kernel: ath0: ath_key_update_begin: Feb 8 21:58:05 maggie kernel: ath0: ath_key_delete: delete key 4 Feb 8 21:58:05 maggie kernel: ath0: ath_key_update_end: Feb 8 21:58:05 maggie kernel: wlan1: link state changed to DOWN Feb 8 21:58:05 maggie kernel: ath0: ath_stop_locked: invalid 0 if_flags 0x8802 Feb 8 21:58:05 maggie kernel: ar5212GetChipPowerLimits: no min/max power for 2312/0xa0 Feb 8 21:58:05 maggie kernel: ath0: ath_key_update_begin: Feb 8 21:58:05 maggie kernel: ath0: ath_key_update_end: Feb 8 21:58:05 maggie kernel: ath0: ath_key_update_begin: Feb 8 21:58:05 maggie kernel: ath0: ath_key_update_end: Feb 8 21:58:05 maggie kernel: ath0: ath_key_update_begin: Feb 8 21:58:05 maggie kernel: ath0: ath_key_update_end: Feb 8 21:58:05 maggie kernel: ath0: ath_key_update_begin: Feb 8 21:58:05 maggie kernel: ath0: ath_key_update_end: Feb 8 21:58:05 maggie kernel: ath0: ath_init: if_flags 0x8803 Feb 8 21:58:05 maggie kernel: ath0: ath_stop_locked: invalid 0 if_flags 0x8803 Feb 8 21:58:07 maggie wpa_supplicant[2855]: Trying to associate with d8:5d:4c:9c:35:50 (SSID='hafenkneipe' freq=2437 MHz) Feb 8 21:58:07 maggie wpa_supplicant[2855]: Associated with d8:5d:4c:9c:35:50 Feb 8 21:58:07 maggie kernel: wlan1: link state changed to UP Feb 8 21:58:07 maggie kernel: ar5212GetNf: NF did not complete in calibration window Feb 8 21:58:07 maggie kernel: ath0: ath_key_update_begin: Feb 8 21:58:07 maggie kernel: ath0: key_alloc_single: key 4 Feb 8 21:58:07 maggie kernel: ath_keyset: [04] AES-CCM 937e65e30ebd9cce6a66e55ebe205e6c mac d8:5d:4c:9c:35:50 Feb 8 21:58:07 maggie kernel: ath0: ath_key_update_end: Feb 8 21:58:07 maggie kernel: ath0: ath_key_update_begin: Feb 8 21:58:07 maggie kernel: ath_keyset: [01] AES-CCM 0351763e51f414f841430904f7eb7126 mac d8:5d:4c:9c:35:50 Feb 8 21:58:07 maggie kernel: ath0: ath_key_update_end: Feb 8 21:58:07 maggie wpa_supplicant[2855]: WPA: Key negotiation completed with d8:5d:4c:9c:35:50 [PTK=CCMP GTK=CCMP] Feb 8 21:58:07 maggie wpa_supplicant[2855]: CTRL-EVENT-CONNECTED - Connection to d8:5d:4c:9c:35:50 completed (auth) [id=1 id_str=] If I disable WPA and use an unencrypted network the connection works. With the same configuration a USB stick (if_rum) works. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: _______________________________________________ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"