Re: Debugging ath device timeouts

"David F. Severski" <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
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
signature.asc (application/pgp-signature, 163 B)
-----BEGIN PGP SIGNATURE-----

iEYEARECAAYFAkPWJa0ACgkQlTJ+DI1JK1uGXQCfY68Z/kpLqH/vSI7h/ceCoVNg
x2UAoIFgeyb9shyM9sHuApUpFyDSS6Yp
=Qe/0
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.