From a526c2108d6cea19df773c91fce9e3a3bd6e292e Mon Sep 17 00:00:00 2001 From: David Paleino Date: Thu, 15 Sep 2011 12:38:22 +0200 Subject: [PATCH] Add new encryption templates. Taken from http://wicd.net/punbb/viewtopic.php?id=233 --- encryption/templates/active | 3 +++ encryption/templates/wpa-peap | 16 ++++++++++++++++ encryption/templates/wpa2-leap | 18 ++++++++++++++++++ encryption/templates/wpa2-peap | 16 ++++++++++++++++ 4 files changed, 53 insertions(+) create mode 100644 encryption/templates/wpa-peap create mode 100644 encryption/templates/wpa2-leap create mode 100644 encryption/templates/wpa2-peap diff --git a/encryption/templates/active b/encryption/templates/active index aee3d84..fdee912 100644 --- a/encryption/templates/active +++ b/encryption/templates/active @@ -1,5 +1,8 @@ wpa +wpa-peap wpa-psk +wpa2-leap +wpa2-peap wep-hex wep-passphrase wep-shared diff --git a/encryption/templates/wpa-peap b/encryption/templates/wpa-peap new file mode 100644 index 0000000..4851a4f --- /dev/null +++ b/encryption/templates/wpa-peap @@ -0,0 +1,16 @@ +name = WPA-PEAP +author = atiketemola +version = 1 +require identity *Username domain *Domain password *Password +----- +ctrl_interface=/var/run/wpa_supplicant +network={ + ssid="$_ESSID" + proto=WPA + key_mgmt=WPA-EAP + pairwise=CCMP + eap=PEAP + identity="$_DOMAIN\$_IDENTITY" + password="$_PASSWORD" + phase2="auth=MSCHAPv2" +} diff --git a/encryption/templates/wpa2-leap b/encryption/templates/wpa2-leap new file mode 100644 index 0000000..88f203f --- /dev/null +++ b/encryption/templates/wpa2-leap @@ -0,0 +1,18 @@ +name = WPA2-LEAP +author = atiketemola +version = 1 +require username *Username password *Password +----- +ctrl_interface=/var/run/wpa_supplicant +network={ + ssid="$_ESSID" + scan_ssid=$_SCAN + auth_alg=LEAP + key_mgmt=WPA-EAP + proto=WPA2 + pairwise=CCMP TKIP + group=CCMP TKIP + eap=LEAP + identity="$_USERNAME" + password="$_PASSWORD" +} diff --git a/encryption/templates/wpa2-peap b/encryption/templates/wpa2-peap new file mode 100644 index 0000000..403d575 --- /dev/null +++ b/encryption/templates/wpa2-peap @@ -0,0 +1,16 @@ +name = WPA2-PEAP +author = atiketemola +version = 1 +require identity *Username domain *Domain password *Password +----- +ctrl_interface=/var/run/wpa_supplicant +network={ + ssid="$_ESSID" + proto=RSN + key_mgmt=WPA-EAP + pairwise=CCMP + eap=PEAP + identity="$_DOMAIN\$_IDENTITY" + password="$_PASSWORD" + phase2="auth=MSCHAPv2" +}