1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

EAP SIM on an ubuntu VM

Discussion in 'General Programming Chat' started by Imyarfather, Jun 21, 2016.

  1. Imyarfather

    Imyarfather Newbie

    Joined:
    Jun 21, 2016
    Messages:
    3
    Likes Received:
    0
    Gender:
    Male
    Hi all ! I'm trying to make the eap sim protocole work on a virtual machin ubuntu to connect my pc to freewifi_secure in France. I used a sim reader by Dekart manufacturer and I first had couple problem to make it recognized by the pcscd package (I had to return to ubuntu 10.04 32 bits). Then, I installed the wpa_supplicant without problems thanks to this link : https://www.ab9il.net/linuxwireless/wpa_supplicant.html
    In the file .config created when I installed this supplicant, I delete the # in the left of
    Code:
    CONFIG_EAP_SIM=y
    and
    Code:
    CONFIG_PCSC=y
    . I finally created a other configuration file named "wpa_supplicant_eap-sim.conf" that I placed on the wpa_supplicant directory and In which I pasted this code :
    Code:
      cred={
      imsi="none"
    }
    network={
      ssid="FreeWifi_secure"
      key_mgmt=WPA-EAP IEEE8021X
      eap=SIM
      pin="1234"
      pcsc=""
    } 
    But when I run the following command to initialise the connection :
    Code:
     iwconfig wlan0 essid "FreeWifi_secure" && ./wpa_supplicant -i wlan0 -c wpa_supplicant_eap-sim.conf 
    the terminal give me this message :

    Does somebody have an idea? Cordially
     
  2. Imyarfather

    Imyarfather Newbie

    Joined:
    Jun 21, 2016
    Messages:
    3
    Likes Received:
    0
    Gender:
    Male
    Nobody knows? o_O