Association Problems. (WPA_Supplicant 0.5.1 + Madwifi-ng20060210)
Chad Meister
chadlich
Sun Mar 5 12:48:56 PST 2006
Hi,
Well, I upgraded to r1453, the stable version of
madwifi-ng and upgraded to the development branch of
hostapd (hostap_0_5_1). Authentification fails on the
wpa_supplicant side of things.
I get this error message
****begin error message
wpa_supplicant -dd -D madwifi -i ath0 -c
/etc/wpa_supplicant/wpa_supplicant.conf
Initializing interface 'ath0' conf
'/etc/wpa_supplicant/wpa_supplicant.conf' driver
'madwifi' ctrl_interface 'N/A'
Configuration file
'/etc/wpa_supplicant/wpa_supplicant.conf' ->
'/etc/wpa_supplicant/wpa_supplicant.conf'
Reading configuration file
'/etc/wpa_supplicant/wpa_supplicant.conf'
eapol_version=1
ap_scan=1
fast_reauth=1
Line: 349 - start of a new network block
ssid - hexdump_ascii(len=5):
6f 75 73 69 61
ousia
key_mgmt: 0x1
eap methods - hexdump(len=16): 00 00 00 00 0d 00 00 00
00 00 00 00 00 00 00 00
proto: 0x2
auth_alg: 0x1
pairwise: 0x10
identity - hexdump_ascii(len=10):
68 65 72 61 63 6c 69 74 75 73
heraclitus
ca_cert - hexdump_ascii(len=36):
2f 65 74 63 2f 77 70 61 5f 73 75 70 70 6c 69 63
/etc/wpa_supplic
61 6e 74 2f 63 65 72 74 73 2f 63 61 63 65 72 74
ant/certs/cacert
2e 70 65 6d
.pem
client_cert - hexdump_ascii(len=41):
2f 65 74 63 2f 77 70 61 5f 73 75 70 70 6c 69 63
/etc/wpa_supplic
61 6e 74 2f 63 65 72 74 73 2f 63 6c 69 65 6e 74
ant/certs/client
5f 63 65 72 74 2e 70 65 6d
_cert.pem
private_key - hexdump_ascii(len=40):
2f 65 74 63 2f 77 70 61 5f 73 75 70 70 6c 69 63
/etc/wpa_supplic
61 6e 74 2f 63 65 72 74 73 2f 63 6c 69 65 6e 74
ant/certs/client
5f 6b 65 79 2e 70 65 6d
_key.pem
private_key_passwd - hexdump_ascii(len=8): [REMOVED]
Priority group 0
id=0 ssid='ousia'
Initializing interface (2) 'ath0'
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
SIOCGIWRANGE: WE(compiled)=18 WE(source)=13
enc_capa=0x0
capabilities: key_mgmt 0x0 enc 0x3
Own MAC address: 00:02:6f:39:cb:92
wpa_driver_madwifi_del_key: keyidx=0
wpa_driver_madwifi_del_key: keyidx=1
wpa_driver_madwifi_del_key: keyidx=2
wpa_driver_madwifi_del_key: keyidx=3
wpa_driver_madwifi_set_countermeasures: enabled=0
wpa_driver_madwifi_set_drop_unencrypted: enabled=1
Setting scan request: 0 sec 100000 usec
Failed to initialize control interface '(null)'.
You may have another wpa_supplicant process already
running or the file was left by an unclean termination
of wpa_supplicant in which case you will need to
manually remove this file before starting
wpa_supplicant again.
Failed to add interface ath0
State: DISCONNECTED -> DISCONNECTED
No keys have been configured - skip key clearing
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
wpa_driver_madwifi_set_drop_unencrypted: enabled=0
wpa_driver_madwifi_set_countermeasures: enabled=0
No keys have been configured - skip key clearing
*******end error message
It looks like wpa_supplicant is looking for the
crtl_interface at /var/run/wpa_supplicant. However,
as the message suggests ctrl_interface is N/A for the
madwifi driver.
Any ideas here?
Chad
--- Jouni Malinen <jkmaline at cc.hut.fi> wrote:
> On Wed, Mar 01, 2006 at 08:21:34PM -0800, Chad
> Meister wrote:
>
> > So does this mean that this bug
> > (http://madwifi.org/ticket/241) is closed?
>
> As far as the current development versions of
> madwifi-ng and hostapd are
> concerned, yes, that has been resolved. However, I
> have not yet merged
> that change into the stable branch of hostapd.
>
> --
> Jouni Malinen
> PGP id EFC895FA
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the Hostap
mailing list