From owner-freebsd-mobile@FreeBSD.ORG Tue Jan 24 13:03:19 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7B83016A41F for ; Tue, 24 Jan 2006 13:03:19 +0000 (GMT) (envelope-from davidski@deadheaven.com) Received: from geoff.deadheaven.com (geoff.deadheaven.com [216.162.200.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6A56443D6B for ; Tue, 24 Jan 2006 13:03:15 +0000 (GMT) (envelope-from davidski@deadheaven.com) Received: by geoff.deadheaven.com (Postfix, from userid 1001) id 7D2771567CB5; Tue, 24 Jan 2006 05:03:41 -0800 (PST) Date: Tue, 24 Jan 2006 05:03:41 -0800 From: "David F. Severski" To: freebsd-mobile@freebsd.org Message-ID: <20060124130341.GL69091@geoff.deadheaven.com> References: <20060123041139.GB69091@geoff.deadheaven.com> <20060123145219.GF17465@laverenz.de> <20060123203711.GD69091@geoff.deadheaven.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Tu8ztk+XgTAiG9Id" Content-Disposition: inline In-Reply-To: <20060123203711.GD69091@geoff.deadheaven.com> User-Agent: Mutt/1.5.11 Subject: Re: Debugging ath device timeouts X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jan 2006 13:03:19 -0000 --Tu8ztk+XgTAiG9Id Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Jan 23, 2006 at 12:37:11PM -0800, David F. Severski wrote: > Interesting. I'm running hostapd and not wpa_supplicant. Do the two > share code? I'll try the debug flags to hostapd and see if I can't > generate some more interesting logs. Running hostapd in the foreground with debugging generates multiple copies of the following block: ath0: WPA rekeying GTK WPA: group state machine entering state SETKEYS GMK - hexdump(len=32): 63 ae 2d 41 4e 62 0c be cd 3e 7c 8a f9 3d 71 8e 8a 81 a7 43 2d 98 72 97 6c e5 8c cf fb 15 14 dd GTK - hexdump(len=16): 6b d3 d1 1b 77 fc 67 26 7d 13 81 9f f2 96 ce 91 WPA: 00:13:ce:56:34:61 WPA_PTK_GROUP entering state REKEYNEGOTIATING ath0: STA 00:13:ce:56:34:61 WPA: sending 1/2 msg of Group Key Handshake Plaintext EAPOL-Key Key Data - hexdump(len=24): 6b d3 d1 1b 77 fc 67 26 7d 13 81 9f f2 96 ce 91 00 00 00 00 00 00 00 00 IEEE 802.1X: 99 bytes from 00:13:ce:56:34:61 IEEE 802.1X: version=1 type=3 length=95 ath0: STA 00:13:ce:56:34:61 WPA: received EAPOL-Key frame (2/2 Group) WPA: 00:13:ce:56:34:61 WPA_PTK_GROUP entering state REKEYESTABLISHED ath0: STA 00:13:ce:56:34:61 WPA: group key handshake completed (WPA) WPA: group state machine entering state SETKEYSDONE bsd_set_key: alg=CCMP addr=00:00:00:00:00:00 key_idx=2 WPA: 00:13:ce:56:34:61 WPA_PTK_GROUP entering state IDLE Checking STA 00:13:ce:56:34:61 inactivity: Station has been active There was one recorded device timeout overnight. As an asside, what syslog facillity/level does hostapd use? I was unable to get hostapd to use syslog and am probably not logging the right messages in my syslog.conf. David --Tu8ztk+XgTAiG9Id Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- iEYEARECAAYFAkPWJa0ACgkQlTJ+DI1JK1uGXQCfY68Z/kpLqH/vSI7h/ceCoVNg x2UAoIFgeyb9shyM9sHuApUpFyDSS6Yp =Qe/0 -----END PGP SIGNATURE----- --Tu8ztk+XgTAiG9Id--