EAP-SIM with no SIM Card

Ronaldo Afonso ronaldo.afonso
Fri Nov 4 14:08:33 PDT 2011


 Ok Jouni,

  It worked very well.

  Thank you.

2011/11/3 Jouni Malinen <j at w1.fi>

> On Thu, Nov 03, 2011 at 11:58:02AM -0200, Ronaldo Afonso wrote:
> >  Is it possible to configure wpa_supplicant for EAP-SIM authentication
> with
> > no SIM Card?
>
> Yes, wpa_supplicant can be built with Milenage-based simulator for
> SIM/USIM authentication.
>
> >  I just want to simulate a EAP-SIM client authentication.
>
> Add these to build configuration in wpa_supplicant/.config:
>
> CONFIG_USIM_SIMULATOR=y
> CONFIG_SIM_SIMULATOR=y
>
> >  I'm using a configuration file like that:
> >
> > # EAP-SIM with a GSM SIM or USIM
> > network={
> >    ssid="vexatt-eap"
> >    key_mgmt=WPA-EAP
> >    eap=SIM
> >    pin="1234"
> >    pcsc=""
> > }
>
> Remove pin and pcsc entries and add these:
>
>    identity="1232010000000000"
>
>  password="90dca4eda45b53cf0f12d7c9c3bc6a89:cb9cccc4b9258e6dca4760379fb82581"
>
> In other words, you will need to build the identity (1 | IMSI for
> EAP-SIM) and set Milenage parameters in the password. See
> hostapd/hlr_auc_gw.milenage_db for more details on Milenage.
>
> Similarly, for EAP-AKA you can use:
>
>    identity="0232010000000000"
>
>  password="90dca4eda45b53cf0f12d7c9c3bc6a89:cb9cccc4b9258e6dca4760379fb82581:000000000123"
>
> >   but it seems wpa_supplicant is trying to get some information from a
> SIM
> > Card.
>
> The pcsc parameter in the network block indicates that a real SIM card
> is to be used through PC/SC.
>
> --
> Jouni Malinen                                            PGP id EFC895FA
> _______________________________________________
> HostAP mailing list
> HostAP at lists.shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
>



-- 
Ronaldo Afonso
www.vexcorp.com
+55 11 4932-5971
ronaldo.afonso at vexcorp.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20111104/adff5278/attachment.htm 



More information about the Hostap mailing list