wpa_supplicant -> EAP-TTLS/PAP, madwifi-ng (Atheros) problem

sabx sabx at ess.hr
Sat Oct 7 09:13:33 EDT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ok. Let's start.

I've got:
 - madwifi-ng r1747
 - Wireless-Tools version 29
 - wpa_supplicant-0.4.9
 - OpenSSL 0.9.7e
 - GnuTLS 11
 - WiFi card: DWL-G650

wpa_supplicant:
 - has madwifi's `include/' and `net80211/'. (linked)

- ------------------------------- .config --------------------------------
CONFIG_DRIVER_MADWIFI=y
CONFIG_IEEE8021X_EAPOL=y
CONFIG_EAP_MD5=y
CONFIG_EAP_MSCHAPV2=y
CONFIG_EAP_TLS=y
CONFIG_EAP_PEAP=y
CONFIG_EAP_TTLS=y
CONFIG_EAP_GTC=y
CONFIG_EAP_OTP=y
CONFIG_EAP_SIM=y
CONFIG_EAP_AKA=y
CONFIG_EAP_PSK=y
CONFIG_EAP_PAX=y
CONFIG_EAP_LEAP=y
- ------------------------------------------------------------------------


- ------------------------- wpa_supplicant.conf --------------------------
ap_scan=2

network={
        ssid="SSID"
        scan_ssid=1
        proto=RSN
        key_mgmt=WPA-EAP
        auth_alg=OPEN
        pairwise=TKIP
        group=WEP40

        eap=TTLS
        identity="username"
        password="password"
        phase2="auth=PAP"
}
- ------------------------------------------------------------------------


So..what's goin on?
Debug informations:

- ----------------------------- snip -------------------------------------
# wpa_supplicant -i ath0 -D madwifi -c wpa_supplicant.conf

Trying to associate with SSID 'SSID'
Associated with 01:23:45:67:89:00
CTRL-EVENT-EAP-STARTED EAP authentication started
CTRL-EVENT-EAP-METHOD EAP method 21 (TTLS) selected
CTRL-EVENT-EAP-SUCCESS EAP authentication completed successfully
WPA: Unsupported EAPOL-Key descriptor version 0.
WPA: Unsupported EAPOL-Key descriptor version 0.
WPA: Unsupported EAPOL-Key descriptor version 0.
WPA: Unsupported EAPOL-Key descriptor version 0.
CTRL-EVENT-TERMINATING - signal 2 received
- ----------------------------- snip -------------------------------------
This is the strange part:
WPA: Unsupported EAPOL-Key descriptor version 0.
What it means? (precisely)


If I try to obtain address when driver is associated, i've got nothing:
- ----------------------------- snip -------------------------------------
# dhclient ath0

Internet Software Consortium DHCP Client 2.0pl5
Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.
All rights reserved.

Please contribute if you find this software useful.
For info, please visit http://www.isc.org/dhcp-contrib.html

wifi0: unknown hardware address type 801
wifi0: unknown hardware address type 801
Listening on LPF/ath0/00:20:a6:57:71:2f
Sending on   LPF/ath0/00:20:a6:57:71:2f
Sending on   Socket/fallback/fallback-net
DHCPREQUEST on ath0 to 255.255.255.255 port 67
DHCPREQUEST on ath0 to 255.255.255.255 port 67
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 8
- ----------------------------- snip -------------------------------------


More debug informations: wpa_supplicant's -dd switch:
http://gandalf.ess.hr/~sabx/debug_wpasupp

I have tried a milion possibilities, read a lots of documents (including
README and stuff :-)) and i'm still at the begining.
Please be gentle, i'm new to wpa_supplicant.

P.S. Sory about poor english.
Thanks, sabx.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFFJ6f9aNvjm+L6cN4RAtMyAJ9WKuvPlYHa1yxAbrgMgPXXuO+g6QCgkMU8
8biqCW+rvgp5vDX3X/MnYW4=
=kpiv
-----END PGP SIGNATURE-----



More information about the HostAP mailing list