## save this as /etc/wicd/encryption/templates/peap-aes
------------------------ CUT HERE -----------------------------------
name = PEAP with AES/MSCHAPV2
author = solarus Thanks to Fralaltro
version = 1
require identity *Identity password *Password
optional ca_cert *Path_to_CA_Cert
-----
ctrl_interface=/var/run/wpa_supplicant
network={
ssid="$_ESSID"
scan_ssid=$_SCAN
proto=RSN
key_mgmt=WPA-EAP
pairwise=CCMP
group=CCMP
eap=PEAP
identity="$_IDENTITY"
password="$_PASSWORD"
ca_cert="$_CA_CERT"
phase1="peaplabel=0"
phase2="auth=MSCHAPV2"
}
---------------------------- TO HERE --------------------------------
## edit /etc/wicd/encryption/templates/active
## and add this line at the end
peap-aes
## then do a sudo /etc/rc.d/wicd restart
## or sudo /etc/init.d/wicd restart
## depending on distrubution etc