Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Jan 2006 05:03:41 -0800
From:      "David F. Severski" <davidski@deadheaven.com>
To:        freebsd-mobile@freebsd.org
Subject:   Re: Debugging ath device timeouts
Message-ID:  <20060124130341.GL69091@geoff.deadheaven.com>
In-Reply-To: <20060123203711.GD69091@geoff.deadheaven.com>
References:  <20060123041139.GB69091@geoff.deadheaven.com> <20060123145219.GF17465@laverenz.de> <20060123203711.GD69091@geoff.deadheaven.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060124130341.GL69091>