After some more ICQ sessions with Caster, this seems to be a stable solution:
1. connect to your own network with the same ssid as the enterprise network you want to connect to (e.g. "eduroam")
2. do all the stuff described at:
http://frakira.fi.muni.cz/~antos/201...e-and-eduroam/
3. replace the wpa_config.sh from the previous step with this code
Code:
#!/bin/sh
sleep 6
id="`wpa_cli list_networks | grep SSID | cut -f1 | sed -n '1p'`"
exec="`wpa_cli << EOF
set_network $id ssid \"SSID\"
set_network $id scan_ssid 1
set_network $id key_mgmt WPA-EAP
set_network $id pairwise TKIP
set_network $id group TKIP
set_network $id eap PEAP
set_network $id identity \"LOGIN\"
set_network $id password \"PASSWORD\"
set_network $id phase1 \"peaplabel=0\"
set_network $id phase2 \"auth=MSCHAPV2\"
set_network $id ca_cert \"CERTIFICATE\"
enable_network $id
quit
EOF
`"
echo $exec
#!/usr/bin/perl
Don't forget to change the LOGIN, PASSWORD and SSID (twice in the script).