wpa_supplicant: problems with EAP-SIM

Pete Young pete at alien.bt.co.uk
Thu Jan 26 09:08:41 EST 2006


Bryan Kadzban wrote:

> Looks like you probably need an:
> 
> identity="whatever your username is"
> 
> line in your config file.

I did wonder about that - in EAP-SIM terms, the identity is the
IMSI number and it should be up to the client to read it off the
Sim.

I tried putting identity="imsi number" into the config and it did
cause the client to generate a Response message to the authenticator,
containing the IMSI.

Debug output looks like this:

  CTRL-EVENT-EAP-STARTED EAP authentication started
EAP: EAP-Request Identity data - hexdump_ascii(len=0):
EAP: using real identity - hexdump_ascii(len=15):
      32 33 35 37 37 32 37 30 31 32 30 30 35 30 36      235772701200506
EAP: EAP entering state SEND_RESPONSE
EAP: EAP entering state IDLE
EAPOL: SUPP_BE entering state RESPONSE
EAPOL: txSuppRsp
TX EAPOL - hexdump(len=24): 01 00 00 14 02 01 00 14 01 32 33 35 37 37 32 
37 30 31 32 30 30 35 30 36
EAPOL: SUPP_BE entering state RECEIVE
RX EAPOL from 00:13:1a:c0:5c:01
RX EAPOL - hexdump(len=46): 01 00 00 05 01 00 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
EAPOL: SUPP_BE entering state REQUEST
EAPOL: getSuppRsp
EAP: EAP entering state RECEIVED
EAP: Received EAP-Request method=1 id=0
EAP: EAP entering state IDENTITY
CTRL-EVENT-EAP-STARTED EAP authentication started
EAP: EAP-Request Identity data - hexdump_ascii(len=0):
EAP: using real identity - hexdump_ascii(len=15):
      32 33 35 37 37 32 37 30 31 32 30 30 35 30 36      235772701200506
EAP: EAP entering state SEND_RESPONSE
EAP: EAP entering state IDLE
EAPOL: SUPP_BE entering state RESPONSE
EAPOL: txSuppRsp
TX EAPOL - hexdump(len=24): 01 00 00 14 02 00 00 14 01 32 33 35 37 37 32 
37 30 31 32 30 30 35 30 36
EAPOL: SUPP_BE entering state RECEIVE
RX EAPOL from 00:13:1a:c0:5c:01
RX EAPOL - hexdump(len=46): 01 00 00 04 04 00 00 04 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 00
EAPOL: Received EAP-Packet frame
EAPOL: SUPP_BE entering state REQUEST
EAPOL: getSuppRsp
EAP: EAP entering state RECEIVED
EAP: Received EAP-Failure
EAP: EAP entering state FAILURE
CTRL-EVENT-EAP-FAILURE EAP authentication failed



-- 
   ____________________________________________________________________
   Pete Young          pete.young at bt.com          Phone +44 1473 642740
       "Just another crouton, floating on the bouillabaisse of life"



More information about the HostAP mailing list