Modded from syn2cat.
Save this as "/etc/wicd/encryption/templates/peap-mschapv2" and add the filename to "/etc/wicd/encryption/templates/active".
name = PEAP with MSCHAPv2 author = buZz version = 2 require anon_identity *Anonymous_Username identity *Identity password *Password optional ca_cert *Path_to_CA_Cert cert_subject *Certificate_Subject ----- ctrl_interface=/var/run/wpa_supplicant network={ ssid="$_ESSID" scan_ssid=$_SCAN proto=RSN key_mgmt=WPA-EAP pairwise=CCMP eap=PEAP phase1="peaplabel=0" phase2="auth=MSCHAPV2" anonymous_identity="$_ANON_IDENTITY" identity="$_IDENTITY" password="$_PASSWORD" ca_cert="$_CA_CERT" subject_match="$_CERT_SUBJECT"
}