EAP-SIM with no SIM Card

Jouni Malinen j
Thu Nov 3 08:09:21 PDT 2011

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:


>  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:


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:


>   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

More information about the Hostap mailing list