Confuguring wpa_supplicant with a SIM card reader to do EAP_SIM authentication

Jouni Malinen j at
Sat Aug 13 00:31:21 PDT 2016

On Mon, Aug 08, 2016 at 09:18:20AM +0100, chris at wrote:
> I am trying to use a SIM card reader and opensc with wpa_supplicant to
> authenticate a WiFi connection using EAP-SIM.

> Now I'm a bit stuck!  How do I configure wpa_supplicant to get the
> information it needs from the card?  Do I just need to run pcscd and
> add the following to the wpa_supplicant configuration:-
> network={
> ssid="FreeWifi_secure"
> key_mgmt=WPA-EAP IEEE8021X
> eap=SIM
> pin="1234"
> pcsc=""
> }

I would not include IEEE8021X there unless you really want to enable use
of WEP networks, but other than that, yes, this would be to way to
configure use of a SIM card with EAP-SIM.

Jouni Malinen                                            PGP id EFC895FA

More information about the Hostap mailing list