Re: Question about how to use opensc from wpa_supplicant

Chris Green <[email protected]>
Newsgroups gmane.comp.encryption.opensc.devel
Message-ID <20160803151144.GB20861@esprimo>
>      Now I want to be able to use the information of the card from
>      wpa_supplicant.  The blog/instructions I'm following add the
>      following
>      to the wpa_supplicant configuration file:-
>          network={
>            ssid="FreeWifi_secure"
>            key_mgmt=WPA-EAP IEEE8021X
>            eap=SIM
>            pin="1234"
>            pcsc=""
>          }
>      Is this really enough to make wpa_supplicant get the information
>      from
>      the card using opensc?  Presumably I'd need to run pcscd but is that
>      all?
>      I realise this is a bit off-topic but I can find very little
>      information about this anywhere else so any help (or pointers to
>      help)
>      would be much appreciated.
> 
>    What is your card?

It's a Virgin Mobile SIM card.  The card reader is a Gemalto IdBridge
K30.

>    You just reported the ATR as "Phone SIM card" using
>    [4]http://smartcard-atr.appspot.com/
>    OpenSC does not support SIM cards.

Well it's what pcsc_scan asked me to do!  :-)


>    I don't know if wpa_supplicant supports EAP-SIM using a SIM card.

It seems that it does, the blog here:-
    https://ohnomoregadgets.wordpress.com/2013/08/28/free-wifi-with-eap-sim-on-a-desktop-computer/
describes how to do it using openct.  However openct is deprecated
(and seems to have bugs now, as per the earlier thread) so I was
hoping to use opensc directly.


>    Maybe it would be simpler to use a "FreeWifi" network with login +
>    password instead of the "FreeWifi_secure" network using EAP-SIM.
>    But you need to have a Freebox to get a "FreeWifi" account.
>    For the non-French readers [5]free.fr is a French Internet Service
>    Provider (ADSL + optical fibre) and since some years also a GSM
>    operator. The ADSL boxes are call freebox and they provide a wifi
>    access for all the Free.fr users using login+password if you have a
>    freebox yourself or EAP-SIM if you have a Free.fr SIM card.

Yes, exactly, and I have a Free.fr SIM card.


-- 
Chris Green

------------------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.