gnu: Add kafs-client
[jackhill/guix/guix.git] / gnu / packages / patches / wicd-wpa2-ttls.patch
CommitLineData
915363a3
LC
1Add a template for WPA2-TTLS, which is notably used by Eduroam.
2
3--- a/encryption/templates/active
4+++ b/encryption/templates/active
5@@ -4,6 +4,7 @@ wpa-psk
6 wpa-psk-hex
7 wpa2-leap
8 wpa2-peap
9+wpa2-ttls
10 wep-hex
11 wep-passphrase
12 wep-shared
13diff --git a/encryption/templates/wpa2-ttls b/encryption/templates/wpa2-ttls
14new file mode 100644
15index 0000000..4f66a1e
16--- /dev/null
17+++ b/encryption/templates/wpa2-ttls
18@@ -0,0 +1,20 @@
19+name = WPA2-TTLS (used notably by Eduroam)
20+author = various contributors
21+version = 1
22+require identity *Identity anonymous_identity *Anonymous_identity password *Password ca_cert *Path_to_CA_Cert
23+protected password *Password
24+-----
25+ctrl_interface=/var/run/wpa_supplicant
26+network={
27+ ssid="$_ESSID"
28+ scan_ssid=$_SCAN
29+ proto=WPA2
30+ key_mgmt=WPA-EAP
31+ group=CCMP TKIP
32+ eap=TTLS
33+ identity="$_IDENTITY"
34+ password="$_PASSWORD"
35+ anonymous_identity="$_ANONYMOUS_IDENTITY"
36+ ca_cert="$_CA_CERT"
37+ phase2="auth=PAP"
38+}