Worked on HTC Desire
Hi guys,
I made it work without any strong modifications on my Desire/Bravo HTC stock Gingerbread (2.3.3) (but rooted).
Maybe it could work on other android phones.
0) deactivate/turn off wifi
1) as root you have to make the modification in /data/misc/wifi/wpa_supplicant.conf to add Freewifi_secure parameters.
network={
ssid="FreeWifi_secure"
key_mgmt=WPA-EAP IEEE8021X
eap=SIM
priority=8
}
2) Then you have to go to Parameters (Paramètres) -> Security (Sécurité) -> Set password in section credential storage (Définir le mot de passe dans la section stockage des identifiants) and define a password.
3) Make sure you have also check/activate the "Use secure credentials" ("Utiliser des identifiants sécurisés")
Then
4) activate wifi
5) choose to connect to Freewifi_secure (it won't connect to Freewifi_secure right now)
6) Then Add a Wi-Fi network, call it whatever you want but choose under Security: 802.1x Enterprise
7) the phone will then ask for your credential, the password you define in step 2)
8) Don't save the Wi-fi network and Cancel it
Et voilà: you can now connect to Freewifi_secure \o/
-> With further test, it seems that step 6 and 7 are to be done every time you reboot your phone.
-> For the explanation and upon my opinion, since you can't create Freewifi_secure through the GUI, the phone don't "activate" the
"use of secure credentials" (seems to be needed to use EAP SIM). And when you are creating a dummy Wifi_network that is
a 802.1x one, the phone open the access for all wifi networks to the secure credentials.
cheers,
F.