[QtMoko] Wireless connention to eduroam
Giacomo 'giotti' Mariani
giacomomariani at yahoo.it
Mon Mar 11 11:03:19 CET 2013
Dear Radeck, all,
I use to connect to eduroam wireless network in Europe and I'm not
able to do this from the GUI, su I wrote a simple script to achieve this
(even if it does not work everytime...):
#!/bin/bash
rm /var/lib/wpa_supplicant/eth0
killall wpa_supplicant
om wifi power 1
sllep 2
om wifi maxperf eth0 1
sleep 2
wpa_supplicant -Dwext -ieth0 -c/etc/wpa_supplicant/wpa_supplicant-eduroam.conf -B
sleep 30
dhclient eth0
where
# cat /etc/wpa_supplicant/wpa_supplicant-eduroam.conf
ctrl_interface=/var/lib/wpa_supplicant
ctrl_interface_group=0
eapol_version=1
fast_reauth=1
ap_scan=1
network={
ssid="eduroam"
proto=WPA2 WPA RSN
key_mgmt=WPA-EAP
eap=TTLS
identity="user"
password="pass"
#phase2="auth=Any"
phase2="auth=PAP"
}
Now my question: which is the best way to create an icon to launch it?
A second one: have you got any suggestion on how to improve it?
Best regards,
Giacomo
--
##############################################################
giacomo 'giotti' mariani
gpg --keyserver pool.sks-keyservers.net --recv-key 0x99bfa859
O< ASCII ribbon campaign: stop HTML mail
www.asciiribbon.org
##############################################################
More information about the community
mailing list