EAP SIM on an ubuntu VM

Imyarfather

Newbie
Joined
Jun 21, 2016
Messages
3
Reaction score
0
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 :

Line 1: unknown global field 'cred={'.
Line 1: invalid configuration line 'cred={'.
Line 2: unknown global field 'imsi=none'.
Line 2: invalid configuration line 'imsi=none'.
Line 3: unknown global field '}'.
Line 3: invalid configuration line '}'.
Failed to read or parse configuration '/home/Vigiregi/wpa_supplicant-0.7.3/wpa_supplicant/wpa_supplicant_eap-sim.conf'
Does somebody have an idea? Cordially
 
Back
Top