Maemo5 & WPA2 EAP TTLS+GTC

Maemo5 & WPA2 EAP TTLS+GTC

Pali Rohár
Karma: 1276
2012-12-01 12:23 UTC
Hello,

I needed to connect to WiFi WPA2 network which using EAP/TTLS+GTC
authentification. Maemo5 has for these settings chechboxes in
Control Panel, but it does not remember password for TTLS+GTC
authentification. It is really annoing that user must enter
password every time.

I found which Maemo application is responsible for EAP
authentification. It is daemon /usr/bin/eapd which is in Nokia
non-free proprietary package osso-wlan-security. So fixing this
bug is not possible :-(

But I found string "EAP_GTC_passcode" in that daemon, so it
should read password from some configuration. I stored wifi GTC
password to gconf and it worked.

So problem is that Maemo Control Panel Connections GUI does not
have password field for TTLS+GTC authentification and eapd daemon
does not store password automatically.

*Here is manual solution how to store password for EAP/TTLS+GTC*

1. Find gconf dir for wifi network:

This shell script will print all wifi networks with gconf dir:

for line in `gconftool --all-dirs /system/osso/connectivity/IAP`;
do gconftool -g $line/name; echo $line; echo; done

2. Set/Change password for wifi network specified by gconf dir:

replace <dir> with gconf dir from step 1 and <password> for real

gconftool -s '<dir>/EAP_GTC_passcode' -t string '<password>'

--
Pali Rohár
pali.rohar@gmail.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEABECAAYFAlC59sAACgkQi/DJPQPkQ1KXJQCfWobAWsI0zvFo6MhW2410/XNH
seUAnikI14o1xaN75e9TsD9wOEj0uu9g
=Dw1x
-----END PGP SIGNATURE-----

  •  Reply