]> git.ipfire.org Git - people/ms/network.git/commitdiff
wireless: Add support for 802.1X authentication
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 19 Aug 2017 09:15:21 +0000 (09:15 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 19 Aug 2017 09:15:21 +0000 (09:15 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/functions/functions.wireless-networks

index e48919f7dd82c128a47aba0d8c6904bde40d1219..bba894ee5c585a8347ad0fb8ef9fe92a27660511 100644 (file)
@@ -21,7 +21,7 @@
 
 WIRELESS_NETWORK_SUPPORTED_PSK_MODES="WPA2-PSK-SHA256 WPA2-PSK WPA-PSK-SHA256 WPA-PSK"
 
-WIRELESS_NETWORK_SUPPORTED_MODES="${WIRELESS_NETWORK_SUPPORTED_PSK_MODES} NONE"
+WIRELESS_NETWORK_SUPPORTED_MODES="${WIRELESS_NETWORK_SUPPORTED_PSK_MODES} 802.1X NONE"
 
 WIRELESS_NETWORK_CONFIG_SETTINGS="EAP_MODES ENCRYPTION_MODES PRIORITY PSK SSID"
 
@@ -423,6 +423,11 @@ wireless_network_to_wpa_supplicant() {
                                done
                                ;;
 
+                       # 802.1X
+                       802.1X)
+                               list_append_unique key_mgmt     "IEEE8021X"
+                               ;;
+
                        # No encryption. DANGEROUS!
                        NONE)
                                list_append_unique auth_alg "OPEN"