Xsupplicant -> wpa_supplicant

Aasmund Grammeltvedt asmundg
Sun Dec 11 09:54:55 PST 2005


Hi.

I have used xupplicant for EAPOL for a while now, but though I should
try out wpa_supplicant. However, I can't seem to make it work.
The Xsupplicant config is as follows:

default  
{ 
  allow_types = all

  identity = <BEGIN_ID>foo<END_ID>

  eap-peap {
      root_cert = NONE
      chunk_size = 1398
      random_file = /dev/random

      session_resume = yes

      eap-mschapv2 {
        username = <BEGIN_UNAME>foo<END_UNAME>
        password = <BEGIN_PASS>bar<END_PASS>
      }
  }
}

Now, how does that translate to wpa_supplicant.conf? I have tried some
configurations, but whatever I do, wpa_supplicant doesn't seem to do
anything when it receives the initial EAP frame:

$ wpa_supplicant -c /etc/wpa_supplicant.conf -i eth1 -dd -D wired

[...]

EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
wpa_driver_wired_init: Added multicast membership with packet socket
Own MAC address: 00:11:09:87:8f:70
Setting scan request: 0 sec 100000 usec
Added interface eth1
RX EAPOL from 00:0d:ed:af:11:a5
RX EAPOL - hexdump(len=46): 01 00 00 05 01 52 00 05 01 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00
EAPOL: Received EAP-Packet frame

And so on for each initial frame it receives. Something must be weong,
but wpa_supplicant doesn't seem inclined to share.

I believe the configuration should go something like this, but there
doesn't really seem to be any change whatever I try:

network={
        ssid="xyz"
        key_mgmt=IEEE8021X
        identity="foo"
        password="bar"
        phase1="peapver=1 peaplabel=1"
        phase2="auth=MSCHAPV2"
        eapol_flags=0
}

-- 
?smund Grammeltvedt
jabber: asmundg at azathoth.td.org.uit.no

Software patents hinder progress | http://swpat.ffii.org/




More information about the Hostap mailing list