From owner-freebsd-current@FreeBSD.ORG Wed Mar 24 20:26:13 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D6E2A106566B for ; Wed, 24 Mar 2010 20:26:13 +0000 (UTC) (envelope-from bofh@redwerk.com) Received: from redwerk.com (redwerk.com [89.105.196.9]) by mx1.freebsd.org (Postfix) with ESMTP id 75DF38FC0C for ; Wed, 24 Mar 2010 20:26:13 +0000 (UTC) Received: from [192.168.250.7] (helo=localhost) by redwerk.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.71) (envelope-from ) id 1NuX9W-0003y3-Fw for freebsd-current@freebsd.org; Wed, 24 Mar 2010 21:26:11 +0100 Received: from bofh by localhost with local (Exim 4.71 (FreeBSD)) (envelope-from ) id 1NuX9z-0000sY-Qo for freebsd-current@freebsd.org; Wed, 24 Mar 2010 22:26:39 +0200 Date: Wed, 24 Mar 2010 22:26:39 +0200 From: Eugeny N Dzhurinsky To: freebsd-current@freebsd.org Message-ID: <20100324202639.GA3194@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) Subject: wpa_supplicant, Atheros AR9285 and FreeBSD 8.0 issue -> wpa_supplicant hangs X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Mar 2010 20:26:14 -0000 Hi! I am facing very strange issue - for some reason wpa_supplicant hands after associating connection with AP. It doesn't hang immediately - but after some time (amout a minute or so). I tried to run it as wpa_supplicant -ddd -i wlan1 -c /etc/wpa_supplicant.conf and in logs I don't see any errors: =============================================================================================== .... WPA: RX message 1 of Group Key Handshake from 00:1b:11:01:6b:f6 (ver=2) State: GROUP_HANDSHAKE -> GROUP_HANDSHAKE WPA: Group Key - hexdump(len=32): [REMOVED] WPA: Installing GTK to the driver (keyidx=2 tx=0 len=32). WPA: RSC - hexdump(len=6): 0e 00 00 00 00 00 wpa_driver_bsd_set_key: alg=TKIP addr=ff:ff:ff:ff:ff:ff key_idx=2 set_tx=0 seq_len=6 key_len=32 WPA: Sending EAPOL-Key 2/2 WPA: TX EAPOL-Key - hexdump(len=99): 01 03 00 5f fe 03 22 00 20 00 00 00 00 00 00 00 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 91 13 79 11 04 55 fe 1e a3 12 f9 63 96 6b e8 b8 00 00 WPA: Key negotiation completed with 00:1b:11:01:6b:f6 [PTK=CCMP GTK=TKIP] Cancelling authentication timeout State: GROUP_HANDSHAKE -> COMPLETED CTRL-EVENT-CONNECTED - Connection to 00:1b:11:01:6b:f6 completed (auth) [id=0 id_str=] EAPOL: External notification - portValid=1 EAPOL: External notification - EAP success=1 EAPOL: SUPP_PAE entering state AUTHENTICATING EAPOL: SUPP_BE entering state SUCCESS EAP: EAP entering state DISABLED EAPOL: SUPP_PAE entering state AUTHENTICATED EAPOL: SUPP_BE entering state IDLE EAPOL authentication completed successfully EAPOL: startWhen --> 0 EAPOL: disable timer tick =============================================================================================== ifconfig looks like below: =============================================================================================== re0: flags=8802 metric 0 mtu 1500 options=389b ether 00:26:18:92:e4:16 media: Ethernet autoselect (10baseT/UTP ) status: no carrier lo0: flags=8049 metric 0 mtu 16384 options=3 inet 127.0.0.1 netmask 0xff000000 ath0: flags=8843 metric 0 mtu 2290 ether 00:25:d3:5c:f0:c8 media: IEEE 802.11 Wireless Ethernet autoselect mode 11g status: associated wlan1: flags=8843 metric 0 mtu 1500 ether 00:25:d3:5c:f0:c8 inet 192.168.10.3 netmask 0xffffff00 broadcast 192.168.10.255 media: IEEE 802.11 Wireless Ethernet OFDM/36Mbps mode 11g status: associated ssid freebsdap channel 10 (2457 MHz 11g) bssid 00:1b:11:01:6b:f6 regdomain NONE country UA indoor ecm authmode WPA privacy ON deftxkey UNDEF TKIP 2:128-bit txpower 30 bmiss 7 scanvalid 450 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5 protmode CTS wme burst roaming MANUAL =============================================================================================== uname -a FreeBSD localhost 8.0-STABLE FreeBSD 8.0-STABLE #34: Mon Mar 22 23:31:30 EET 2010 root@localhost:/usr/obj/usr/src/sys/BOFH i386 atheros driver is loaded as module. What may be wrong there? Thank you in advance! -- Eugene N Dzhurinsky