From d4a0b8d366c814fd67e659cb4f017f76c3d53096 Mon Sep 17 00:00:00 2001 From: Adam Blackburn Date: Tue, 23 Dec 2008 16:55:15 -0600 Subject: [PATCH] Added the wpa-psk template and change the wpa one to wpa passphrase --- encryption/templates/active | 1 + encryption/templates/wpa | 2 +- encryption/templates/wpa-psk | 15 +++++++++++++++ 3 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 encryption/templates/wpa-psk diff --git a/encryption/templates/active b/encryption/templates/active index 3be3271..aee3d84 100644 --- a/encryption/templates/active +++ b/encryption/templates/active @@ -1,4 +1,5 @@ wpa +wpa-psk wep-hex wep-passphrase wep-shared diff --git a/encryption/templates/wpa b/encryption/templates/wpa index c618bcb..20b36a7 100644 --- a/encryption/templates/wpa +++ b/encryption/templates/wpa @@ -1,4 +1,4 @@ -name = WPA 1/2 +name = WPA 1/2 (Passphrase) author = Adam Blackburn version = 1 require key *Key diff --git a/encryption/templates/wpa-psk b/encryption/templates/wpa-psk new file mode 100644 index 0000000..3685610 --- /dev/null +++ b/encryption/templates/wpa-psk @@ -0,0 +1,15 @@ +name = WPA 1/2 (Preshared Key) +author = Adam Blackburn +version = 1 +require apsk *Preshared_Key +----- +ctrl_interface=/var/run/wpa_supplicant +network={ + ssid="$_ESSID" + scan_ssid=$_SCAN + proto=WPA RSN + key_mgmt=WPA-PSK + pairwise=CCMP TKIP + group=CCMP TKIP + psk="$_APSK" +}