]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
wlan client: Allow configuration of EAP-PEAP and EAP-TTLS on web user interface
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 5 May 2017 10:17:06 +0000 (11:17 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 5 May 2017 10:17:06 +0000 (11:17 +0100)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
13 files changed:
doc/language_issues.de
doc/language_issues.en
doc/language_issues.es
doc/language_issues.fr
doc/language_issues.it
doc/language_issues.nl
doc/language_issues.pl
doc/language_issues.ru
doc/language_issues.tr
doc/language_missings
html/cgi-bin/wirelessclient.cgi
langs/de/cgi-bin/de.pl
langs/en/cgi-bin/en.pl

index 48d7f6a1c156aa60afbfdffe2e03d35fb50ead01..b9f7747581f0f00a7a9d15de50191349c9f70c91 100644 (file)
@@ -205,8 +205,6 @@ WARNING: translation string unused: extrahd
 WARNING: translation string unused: extrahd unable to read
 WARNING: translation string unused: extrahd unable to write
 WARNING: translation string unused: filename
-WARNING: translation string unused: firewall graphs
-WARNING: translation string unused: firewall log viewer
 WARNING: translation string unused: firmware
 WARNING: translation string unused: firmware upload
 WARNING: translation string unused: force update
index f2b6eb7b4aa68fde7a0d14594b5bd96d842fba85..f2f6ab7d3d90154afd2e4e6fe56f02ed0b832eff 100644 (file)
@@ -228,8 +228,6 @@ WARNING: translation string unused: extrahd
 WARNING: translation string unused: extrahd unable to read
 WARNING: translation string unused: extrahd unable to write
 WARNING: translation string unused: filename
-WARNING: translation string unused: firewall graphs
-WARNING: translation string unused: firewall log viewer
 WARNING: translation string unused: firmware
 WARNING: translation string unused: firmware upload
 WARNING: translation string unused: force update
index 09dae68d4cb8d2103d152f553a3b89d18e9b4cc8..b0a3adbca21425f12d74caa2a9faa786ebc9fd7f 100644 (file)
@@ -766,6 +766,12 @@ WARNING: untranslated string: fireinfo why descr2
 WARNING: untranslated string: fireinfo why enable
 WARNING: untranslated string: fireinfo why read more
 WARNING: untranslated string: fireinfo your profile id
+WARNING: untranslated string: firewall graph country
+WARNING: untranslated string: firewall graph ip
+WARNING: untranslated string: firewall graph port
+WARNING: untranslated string: firewall log country
+WARNING: untranslated string: firewall log ip
+WARNING: untranslated string: firewall log port
 WARNING: untranslated string: firewall logs country
 WARNING: untranslated string: firewall rules
 WARNING: untranslated string: first
@@ -1158,25 +1164,34 @@ WARNING: untranslated string: vpn weak
 WARNING: untranslated string: wlan client
 WARNING: untranslated string: wlan client advanced settings
 WARNING: untranslated string: wlan client and
+WARNING: untranslated string: wlan client anonymous identity
+WARNING: untranslated string: wlan client auth auto
+WARNING: untranslated string: wlan client auth peap
+WARNING: untranslated string: wlan client auth ttls
+WARNING: untranslated string: wlan client authentication settings
 WARNING: untranslated string: wlan client bssid
 WARNING: untranslated string: wlan client ccmp
 WARNING: untranslated string: wlan client configuration
 WARNING: untranslated string: wlan client disconnected
 WARNING: untranslated string: wlan client duplicate ssid
+WARNING: untranslated string: wlan client eap authentication method
 WARNING: untranslated string: wlan client edit entry
 WARNING: untranslated string: wlan client encryption
+WARNING: untranslated string: wlan client encryption eap
 WARNING: untranslated string: wlan client encryption none
 WARNING: untranslated string: wlan client encryption wep
 WARNING: untranslated string: wlan client encryption wpa
 WARNING: untranslated string: wlan client encryption wpa2
 WARNING: untranslated string: wlan client group cipher
 WARNING: untranslated string: wlan client group key algorithm
+WARNING: untranslated string: wlan client identity
 WARNING: untranslated string: wlan client invalid key length
 WARNING: untranslated string: wlan client new entry
 WARNING: untranslated string: wlan client new network
 WARNING: untranslated string: wlan client pairwise cipher
 WARNING: untranslated string: wlan client pairwise key algorithm
 WARNING: untranslated string: wlan client pairwise key group key
+WARNING: untranslated string: wlan client password
 WARNING: untranslated string: wlan client psk
 WARNING: untranslated string: wlan client ssid
 WARNING: untranslated string: wlan client tkip
index 1f4f9c35799fbb78eff973896e60a8692921f8e4..0407d0e57923346d12d18030289ecae5f16a0c0c 100644 (file)
@@ -776,6 +776,12 @@ WARNING: untranslated string: fireinfo why descr2
 WARNING: untranslated string: fireinfo why enable
 WARNING: untranslated string: fireinfo why read more
 WARNING: untranslated string: fireinfo your profile id
+WARNING: untranslated string: firewall graph country
+WARNING: untranslated string: firewall graph ip
+WARNING: untranslated string: firewall graph port
+WARNING: untranslated string: firewall log country
+WARNING: untranslated string: firewall log ip
+WARNING: untranslated string: firewall log port
 WARNING: untranslated string: firewall logs country
 WARNING: untranslated string: firewall rules
 WARNING: untranslated string: first
@@ -1175,25 +1181,34 @@ WARNING: untranslated string: vpn weak
 WARNING: untranslated string: wlan client
 WARNING: untranslated string: wlan client advanced settings
 WARNING: untranslated string: wlan client and
+WARNING: untranslated string: wlan client anonymous identity
+WARNING: untranslated string: wlan client auth auto
+WARNING: untranslated string: wlan client auth peap
+WARNING: untranslated string: wlan client auth ttls
+WARNING: untranslated string: wlan client authentication settings
 WARNING: untranslated string: wlan client bssid
 WARNING: untranslated string: wlan client ccmp
 WARNING: untranslated string: wlan client configuration
 WARNING: untranslated string: wlan client disconnected
 WARNING: untranslated string: wlan client duplicate ssid
+WARNING: untranslated string: wlan client eap authentication method
 WARNING: untranslated string: wlan client edit entry
 WARNING: untranslated string: wlan client encryption
+WARNING: untranslated string: wlan client encryption eap
 WARNING: untranslated string: wlan client encryption none
 WARNING: untranslated string: wlan client encryption wep
 WARNING: untranslated string: wlan client encryption wpa
 WARNING: untranslated string: wlan client encryption wpa2
 WARNING: untranslated string: wlan client group cipher
 WARNING: untranslated string: wlan client group key algorithm
+WARNING: untranslated string: wlan client identity
 WARNING: untranslated string: wlan client invalid key length
 WARNING: untranslated string: wlan client new entry
 WARNING: untranslated string: wlan client new network
 WARNING: untranslated string: wlan client pairwise cipher
 WARNING: untranslated string: wlan client pairwise key algorithm
 WARNING: untranslated string: wlan client pairwise key group key
+WARNING: untranslated string: wlan client password
 WARNING: untranslated string: wlan client psk
 WARNING: untranslated string: wlan client ssid
 WARNING: untranslated string: wlan client tkip
index 6b5639c0fd3ebd2c1b464f648e43f70e3d1ff524..8964ff9eff04d3d27a9560e3d91880bc2a0b8599 100644 (file)
@@ -731,6 +731,12 @@ WARNING: untranslated string: email settings
 WARNING: untranslated string: email testmail
 WARNING: untranslated string: email tls
 WARNING: untranslated string: email usemail
+WARNING: untranslated string: firewall graph country
+WARNING: untranslated string: firewall graph ip
+WARNING: untranslated string: firewall graph port
+WARNING: untranslated string: firewall log country
+WARNING: untranslated string: firewall log ip
+WARNING: untranslated string: firewall log port
 WARNING: untranslated string: fwdfw err concon
 WARNING: untranslated string: fwdfw err ratecon
 WARNING: untranslated string: fwdfw limitconcon
@@ -830,3 +836,12 @@ WARNING: untranslated string: vpn statistic n2n
 WARNING: untranslated string: vpn statistic rw
 WARNING: untranslated string: vpn statistics n2n
 WARNING: untranslated string: vpn weak
+WARNING: untranslated string: wlan client anonymous identity
+WARNING: untranslated string: wlan client auth auto
+WARNING: untranslated string: wlan client auth peap
+WARNING: untranslated string: wlan client auth ttls
+WARNING: untranslated string: wlan client authentication settings
+WARNING: untranslated string: wlan client eap authentication method
+WARNING: untranslated string: wlan client encryption eap
+WARNING: untranslated string: wlan client identity
+WARNING: untranslated string: wlan client password
index 30744829da60efb9c106e92cdfcc3cd7c8bbcc7e..b9f935c743dc92fa89205ed4c75b1757a52258f3 100644 (file)
@@ -743,6 +743,12 @@ WARNING: untranslated string: email settings
 WARNING: untranslated string: email testmail
 WARNING: untranslated string: email tls
 WARNING: untranslated string: email usemail
+WARNING: untranslated string: firewall graph country
+WARNING: untranslated string: firewall graph ip
+WARNING: untranslated string: firewall graph port
+WARNING: untranslated string: firewall log country
+WARNING: untranslated string: firewall log ip
+WARNING: untranslated string: firewall log port
 WARNING: untranslated string: firewall logs country
 WARNING: untranslated string: fwdfw err concon
 WARNING: untranslated string: fwdfw err ratecon
@@ -878,3 +884,12 @@ WARNING: untranslated string: vpn statistic n2n
 WARNING: untranslated string: vpn statistic rw
 WARNING: untranslated string: vpn statistics n2n
 WARNING: untranslated string: vpn weak
+WARNING: untranslated string: wlan client anonymous identity
+WARNING: untranslated string: wlan client auth auto
+WARNING: untranslated string: wlan client auth peap
+WARNING: untranslated string: wlan client auth ttls
+WARNING: untranslated string: wlan client authentication settings
+WARNING: untranslated string: wlan client eap authentication method
+WARNING: untranslated string: wlan client encryption eap
+WARNING: untranslated string: wlan client identity
+WARNING: untranslated string: wlan client password
index 09dae68d4cb8d2103d152f553a3b89d18e9b4cc8..b0a3adbca21425f12d74caa2a9faa786ebc9fd7f 100644 (file)
@@ -766,6 +766,12 @@ WARNING: untranslated string: fireinfo why descr2
 WARNING: untranslated string: fireinfo why enable
 WARNING: untranslated string: fireinfo why read more
 WARNING: untranslated string: fireinfo your profile id
+WARNING: untranslated string: firewall graph country
+WARNING: untranslated string: firewall graph ip
+WARNING: untranslated string: firewall graph port
+WARNING: untranslated string: firewall log country
+WARNING: untranslated string: firewall log ip
+WARNING: untranslated string: firewall log port
 WARNING: untranslated string: firewall logs country
 WARNING: untranslated string: firewall rules
 WARNING: untranslated string: first
@@ -1158,25 +1164,34 @@ WARNING: untranslated string: vpn weak
 WARNING: untranslated string: wlan client
 WARNING: untranslated string: wlan client advanced settings
 WARNING: untranslated string: wlan client and
+WARNING: untranslated string: wlan client anonymous identity
+WARNING: untranslated string: wlan client auth auto
+WARNING: untranslated string: wlan client auth peap
+WARNING: untranslated string: wlan client auth ttls
+WARNING: untranslated string: wlan client authentication settings
 WARNING: untranslated string: wlan client bssid
 WARNING: untranslated string: wlan client ccmp
 WARNING: untranslated string: wlan client configuration
 WARNING: untranslated string: wlan client disconnected
 WARNING: untranslated string: wlan client duplicate ssid
+WARNING: untranslated string: wlan client eap authentication method
 WARNING: untranslated string: wlan client edit entry
 WARNING: untranslated string: wlan client encryption
+WARNING: untranslated string: wlan client encryption eap
 WARNING: untranslated string: wlan client encryption none
 WARNING: untranslated string: wlan client encryption wep
 WARNING: untranslated string: wlan client encryption wpa
 WARNING: untranslated string: wlan client encryption wpa2
 WARNING: untranslated string: wlan client group cipher
 WARNING: untranslated string: wlan client group key algorithm
+WARNING: untranslated string: wlan client identity
 WARNING: untranslated string: wlan client invalid key length
 WARNING: untranslated string: wlan client new entry
 WARNING: untranslated string: wlan client new network
 WARNING: untranslated string: wlan client pairwise cipher
 WARNING: untranslated string: wlan client pairwise key algorithm
 WARNING: untranslated string: wlan client pairwise key group key
+WARNING: untranslated string: wlan client password
 WARNING: untranslated string: wlan client psk
 WARNING: untranslated string: wlan client ssid
 WARNING: untranslated string: wlan client tkip
index f4944db94f003b83373b5d9c70d3ac46763c8912..83c2170fb9c73b0774d8573de7891859b8a11295 100644 (file)
@@ -760,6 +760,12 @@ WARNING: untranslated string: extrahd maybe the device is in use
 WARNING: untranslated string: extrahd to
 WARNING: untranslated string: extrahd to root
 WARNING: untranslated string: extrahd you cant mount
+WARNING: untranslated string: firewall graph country
+WARNING: untranslated string: firewall graph ip
+WARNING: untranslated string: firewall graph port
+WARNING: untranslated string: firewall log country
+WARNING: untranslated string: firewall log ip
+WARNING: untranslated string: firewall log port
 WARNING: untranslated string: firewall logs country
 WARNING: untranslated string: firewall rules
 WARNING: untranslated string: first
@@ -1153,25 +1159,34 @@ WARNING: untranslated string: vpn weak
 WARNING: untranslated string: wlan client
 WARNING: untranslated string: wlan client advanced settings
 WARNING: untranslated string: wlan client and
+WARNING: untranslated string: wlan client anonymous identity
+WARNING: untranslated string: wlan client auth auto
+WARNING: untranslated string: wlan client auth peap
+WARNING: untranslated string: wlan client auth ttls
+WARNING: untranslated string: wlan client authentication settings
 WARNING: untranslated string: wlan client bssid
 WARNING: untranslated string: wlan client ccmp
 WARNING: untranslated string: wlan client configuration
 WARNING: untranslated string: wlan client disconnected
 WARNING: untranslated string: wlan client duplicate ssid
+WARNING: untranslated string: wlan client eap authentication method
 WARNING: untranslated string: wlan client edit entry
 WARNING: untranslated string: wlan client encryption
+WARNING: untranslated string: wlan client encryption eap
 WARNING: untranslated string: wlan client encryption none
 WARNING: untranslated string: wlan client encryption wep
 WARNING: untranslated string: wlan client encryption wpa
 WARNING: untranslated string: wlan client encryption wpa2
 WARNING: untranslated string: wlan client group cipher
 WARNING: untranslated string: wlan client group key algorithm
+WARNING: untranslated string: wlan client identity
 WARNING: untranslated string: wlan client invalid key length
 WARNING: untranslated string: wlan client new entry
 WARNING: untranslated string: wlan client new network
 WARNING: untranslated string: wlan client pairwise cipher
 WARNING: untranslated string: wlan client pairwise key algorithm
 WARNING: untranslated string: wlan client pairwise key group key
+WARNING: untranslated string: wlan client password
 WARNING: untranslated string: wlan client psk
 WARNING: untranslated string: wlan client ssid
 WARNING: untranslated string: wlan client tkip
index ac7a82dc1cbd252d4bd57254ef8752c998002483..e268462c8260a8bb26f6114673a6d7d346997538 100644 (file)
@@ -707,6 +707,12 @@ WARNING: untranslated string: Scan for Songs
 WARNING: untranslated string: application layer gateways
 WARNING: untranslated string: bytes
 WARNING: untranslated string: dnssec disabled warning
+WARNING: untranslated string: firewall graph country
+WARNING: untranslated string: firewall graph ip
+WARNING: untranslated string: firewall graph port
+WARNING: untranslated string: firewall log country
+WARNING: untranslated string: firewall log ip
+WARNING: untranslated string: firewall log port
 WARNING: untranslated string: fwhost cust geoipgrp
 WARNING: untranslated string: fwhost err hostip
 WARNING: untranslated string: guardian
@@ -761,3 +767,12 @@ WARNING: untranslated string: vpn start action route
 WARNING: untranslated string: vpn start action start
 WARNING: untranslated string: vpn statistics n2n
 WARNING: untranslated string: vpn weak
+WARNING: untranslated string: wlan client anonymous identity
+WARNING: untranslated string: wlan client auth auto
+WARNING: untranslated string: wlan client auth peap
+WARNING: untranslated string: wlan client auth ttls
+WARNING: untranslated string: wlan client authentication settings
+WARNING: untranslated string: wlan client eap authentication method
+WARNING: untranslated string: wlan client encryption eap
+WARNING: untranslated string: wlan client identity
+WARNING: untranslated string: wlan client password
index 72fe0759419a2312f7bbfb81f59500ab961055fd..a2f2fed9ae4f13928ee59ed6fed73be1e3ea458d 100644 (file)
 < fireinfo why enable
 < fireinfo why read more
 < fireinfo your profile id
+< firewall graph country
+< firewall graph ip
+< firewall graph port
+< firewall log country
+< firewall log ip
+< firewall log port
 < firewall logs country
 < firewall rules
 < first
 < wlan client
 < wlan client advanced settings
 < wlan client and
+< wlan client anonymous identity
+< wlan client auth auto
+< wlan client authentication settings
+< wlan client auth peap
+< wlan client auth ttls
 < wlan client bssid
 < wlan client ccmp
 < wlan client configuration
 < wlan client disconnected
 < wlan client duplicate ssid
+< wlan client eap authentication method
 < wlan client edit entry
 < wlan client encryption
+< wlan client encryption eap
 < wlan client encryption none
 < wlan client encryption wep
 < wlan client encryption wpa
 < wlan client encryption wpa2
 < wlan client group cipher
 < wlan client group key algorithm
+< wlan client identity
 < wlan client invalid key length
 < wlan client new entry
 < wlan client new network
 < wlan client pairwise cipher
 < wlan client pairwise key algorithm
 < wlan client pairwise key group key
+< wlan client password
 < wlan client psk
 < wlan clients
 < wlan client ssid
 < fireinfo why enable
 < fireinfo why read more
 < fireinfo your profile id
+< firewall graph country
+< firewall graph ip
+< firewall graph port
+< firewall log country
+< firewall log ip
+< firewall log port
 < firewall logs country
 < firewall rules
 < first
 < wlan client
 < wlan client advanced settings
 < wlan client and
+< wlan client anonymous identity
+< wlan client auth auto
+< wlan client authentication settings
+< wlan client auth peap
+< wlan client auth ttls
 < wlan client bssid
 < wlan client ccmp
 < wlan client configuration
 < wlan client disconnected
 < wlan client duplicate ssid
+< wlan client eap authentication method
 < wlan client edit entry
 < wlan client encryption
+< wlan client encryption eap
 < wlan client encryption none
 < wlan client encryption wep
 < wlan client encryption wpa
 < wlan client encryption wpa2
 < wlan client group cipher
 < wlan client group key algorithm
+< wlan client identity
 < wlan client invalid key length
 < wlan client new entry
 < wlan client new network
 < wlan client pairwise cipher
 < wlan client pairwise key algorithm
 < wlan client pairwise key group key
+< wlan client password
 < wlan client psk
 < wlan clients
 < wlan client ssid
 < extrahd unable to read
 < extrahd unable to write
 < extrahd you cant mount
+< firewall graph country
+< firewall graph ip
+< firewall graph port
+< firewall log country
+< firewall log ip
+< firewall log port
 < firewall logs country
 < firewall rules
 < first
 < wlan client
 < wlan client advanced settings
 < wlan client and
+< wlan client anonymous identity
+< wlan client auth auto
+< wlan client authentication settings
+< wlan client auth peap
+< wlan client auth ttls
 < wlan client bssid
 < wlan client ccmp
 < wlan client configuration
 < wlan client disconnected
 < wlan client duplicate ssid
+< wlan client eap authentication method
 < wlan client edit entry
 < wlan client encryption
+< wlan client encryption eap
 < wlan client encryption none
 < wlan client encryption wep
 < wlan client encryption wpa
 < wlan client encryption wpa2
 < wlan client group cipher
 < wlan client group key algorithm
+< wlan client identity
 < wlan client invalid key length
 < wlan client new entry
 < wlan client new network
 < wlan client pairwise cipher
 < wlan client pairwise key algorithm
 < wlan client pairwise key group key
+< wlan client password
 < wlan client psk
 < wlan clients
 < wlan client ssid
 < extrahd unable to read
 < extrahd unable to write
 < extrahd you cant mount
+< firewall graph country
+< firewall graph ip
+< firewall graph port
+< firewall log country
+< firewall log ip
+< firewall log port
 < firewall logs country
 < firewall rules
 < first
 < wlan client
 < wlan client advanced settings
 < wlan client and
+< wlan client anonymous identity
+< wlan client auth auto
+< wlan client authentication settings
+< wlan client auth peap
+< wlan client auth ttls
 < wlan client bssid
 < wlan client ccmp
 < wlan client configuration
 < wlan client disconnected
 < wlan client duplicate ssid
+< wlan client eap authentication method
 < wlan client edit entry
 < wlan client encryption
+< wlan client encryption eap
 < wlan client encryption none
 < wlan client encryption wep
 < wlan client encryption wpa
 < wlan client encryption wpa2
 < wlan client group cipher
 < wlan client group key algorithm
+< wlan client identity
 < wlan client invalid key length
 < wlan client new entry
 < wlan client new network
 < wlan client pairwise cipher
 < wlan client pairwise key algorithm
 < wlan client pairwise key group key
+< wlan client password
 < wlan client psk
 < wlan clients
 < wlan client ssid
index a2d0273df502810e1636d5e9813b849998551f95..70ab10a568045623dce6687ed4aeea2e7397ddca 100644 (file)
@@ -19,8 +19,8 @@
 #                                                                             #
 ###############################################################################
 
-# DEVICE,ENABLED,MODE,WPA_MODE,SSID,PSK,PRIO
-# wlan0,on,WPA2,,Use This One Mum,ThisIsTheKey,2
+# DEVICE,ENABLED,MODE,WPA_MODE,SSID,PSK,PRIO,AUTH,ANONYMOUS,IDENTITY,PASSWORD
+# wlan0,on,WPA2,,Use This One Mum,ThisIsTheKey,2,TTLS,anonymous,username,password
 
 use strict;
 
@@ -132,6 +132,10 @@ if ($settings{'ACTION'} eq $Lang::tr{'add'}) {
                push(@config, $settings{'SSID'});
                push(@config, $settings{'PSK'});
                push(@config, $settings{'PRIO'});
+               push(@config, $settings{'AUTH'});
+               push(@config, $settings{'ANONYMOUS'});
+               push(@config, $settings{'IDENTITY'});
+               push(@config, $settings{'PASSWORD'});
 
                # Add the new configuration and write all the stuff to the configuration file.
                my $line = join(',', @config) . "\n";
@@ -164,6 +168,10 @@ if ($settings{'ACTION'} eq $Lang::tr{'edit'}) {
                        $settings{'SSID'}       = $config[5];
                        $settings{'PSK'}        = $config[6];
                        $settings{'PRIO'}       = $config[7];
+                       $settings{'AUTH'}       = $config[8];
+                       $settings{'ANONYMOUS'}  = $config[9];
+                       $settings{'IDENTITY'}   = $config[10];
+                       $settings{'PASSWORD'}   = $config[11];
                }
        }
 }
@@ -181,12 +189,16 @@ if ($settings{'ACTION'} eq $Lang::tr{'update'}) {
                        if ($config[0] eq $settings{'ID'}) {
                                # Update all configuration settings.
                                # ID and INTERFACE cannot be changed.
-                               $config[2] = $settings{'ENABLED'};
-                               $config[3] = $settings{'ENCRYPTION'};
-                               $config[4] = $settings{'WPA_MODE'};
-                               $config[5] = $settings{'SSID'};
-                               $config[6] = $settings{'PSK'};
-                               $config[7] = $settings{'PRIO'};
+                               $config[2]  = $settings{'ENABLED'};
+                               $config[3]  = $settings{'ENCRYPTION'};
+                               $config[4]  = $settings{'WPA_MODE'};
+                               $config[5]  = $settings{'SSID'};
+                               $config[6]  = $settings{'PSK'};
+                               $config[7]  = $settings{'PRIO'};
+                               $config[8]  = $settings{'AUTH'};
+                               $config[9]  = $settings{'ANONYMOUS'};
+                               $config[10] = $settings{'IDENTITY'};
+                               $config[11] = $settings{'PASSWORD'};
 
                                $line = join(',', @config);
                        }
@@ -312,9 +324,34 @@ END
                        $encryption_mode = $Lang::tr{'wlan client encryption wpa'};
                } elsif ($config[3] eq "WPA2") {
                        $encryption_mode = $Lang::tr{'wlan client encryption wpa2'};
+               } elsif ($config[3] eq "EAP") {
+                       $encryption_mode = $Lang::tr{'wlan client encryption eap'};
                }
 
-               if (($config[3] eq "WPA") || ($config[3] eq "WPA2")) {
+               if ($config[3] eq "EAP") {
+                       if ($config[8] eq "PEAP") {
+                               $encryption_mode .= " ($Lang::tr{'wlan client auth peap'})";
+                       } elsif ($config[8] eq "TTLS") {
+                               $encryption_mode .= " ($Lang::tr{'wlan client auth ttls'})";
+                       } else {
+                               $encryption_mode .= " ($Lang::tr{'wlan client auth auto'})";
+                       }
+
+                       $encryption_mode .= "<hr>";
+
+                       if ($config[10]) {
+                               $encryption_mode .= "<strong>$Lang::tr{'wlan client identity'}</strong>: ";
+                               $encryption_mode .= $config[10];
+                       }
+
+                       # Anonymous identity
+                       if ($config[9]) {
+                               $encryption_mode .= "<br>";
+                               $encryption_mode .= "<strong>$Lang::tr{'wlan client anonymous identity'}</strong>: ";
+                               $encryption_mode .= $config[9];
+                       }
+
+               } elsif (($config[3] eq "WPA") || ($config[3] eq "WPA2")) {
                        my $wpa_pairwise = "$Lang::tr{'wlan client ccmp'} $Lang::tr{'wlan client and'} $Lang::tr{'wlan client tkip'}";
                        my $wpa_group = "$Lang::tr{'wlan client ccmp'} $Lang::tr{'wlan client and'} $Lang::tr{'wlan client tkip'}";
 
@@ -437,6 +474,12 @@ sub showEditBox() {
        $selected{'WPA_MODE'}{'TKIP-TKIP'} = '';
        $selected{'WPA_MODE'}{$settings{'WPA_MODE'}} = "selected='selected'";
 
+       $selected{'AUTH'} = ();
+       $selected{'AUTH'}{''} = '';
+       $selected{'AUTH'}{'PEAP'} = '';
+       $selected{'AUTH'}{'TTLS'} = '';
+       $selected{'AUTH'}{$settings{'AUTH'}} = "selected='selected'";
+
        $selected{'PRIO'} = ();
        $selected{'PRIO'}{'0'} = '';
        $selected{'PRIO'}{'1'} = '';
@@ -461,6 +504,7 @@ sub showEditBox() {
                                        <td width='40%'>
                                                <select name='ENCRYPTION'>
                                                        <option value="NONE" $selected{'ENCRYPTION'}{'NONE'}>$Lang::tr{'wlan client encryption none'}</option>
+                                                       <option value="EAP"  $selected{'ENCRYPTION'}{'EAP'}>$Lang::tr{'wlan client encryption eap'}</option>
                                                        <option value="WPA2" $selected{'ENCRYPTION'}{'WPA2'}>$Lang::tr{'wlan client encryption wpa2'}</option>
                                                        <option value="WPA"  $selected{'ENCRYPTION'}{'WPA'}>$Lang::tr{'wlan client encryption wpa'}</option>
                                                        <option value="WEP"  $selected{'ENCRYPTION'}{'WEP'}>$Lang::tr{'wlan client encryption wep'}</option>                                                    
@@ -477,6 +521,57 @@ sub showEditBox() {
 
                        <br>
                        <hr>
+
+                       <strong>
+                               $Lang::tr{'wlan client authentication settings'}:
+                       </strong>
+
+                       <table width='100%'>
+                               <tr>
+                                       <td class='base' width='20%'>
+                                               $Lang::tr{'wlan client eap authentication method'}:
+                                       </td>
+                                       <td width='40%'>
+                                               <select name='AUTH'>
+                                                       <option value="" $selected{'AUTH'}{''}>$Lang::tr{'wlan client auth auto'}</option>
+                                                       <option value="PEAP" $selected{'AUTH'}{'PEAP'}>$Lang::tr{'wlan client auth peap'}</option>
+                                                       <option value="TTLS" $selected{'AUTH'}{'TTLS'}>$Lang::tr{'wlan client auth ttls'}</option>
+                                               </select>
+                                       </td>
+                                       <td colspan="2" width='40%'></td>
+                               </tr>
+                               <tr>
+                                       <td class='base' width='20%'>
+                                               $Lang::tr{'wlan client anonymous identity'}:
+                                       </td>
+                                       <td width='40%'>
+                                               <input type="text" name="ANONYMOUS" value="$settings{"ANONYMOUS"}" size="25" />
+                                       </td>
+                                       <td colspan="2" width='40%'></td>
+                               </tr>
+                               <tr>
+                                       <td class='base' width='20%'>
+                                               $Lang::tr{'wlan client identity'}:
+                                       </td>
+                                       <td width='40%'>
+                                               <input type="text" name="IDENTITY" value="$settings{"IDENTITY"}" size="25" />
+                                       </td>
+                                       <td colspan="2" width='40%'></td>
+                               </tr>
+                               <tr>
+                                       <td class='base' width='20%'>
+                                               $Lang::tr{'wlan client password'}:
+                                       </td>
+                                       <td width='40%'>
+                                               <input type="password" name="PASSWORD" value="$settings{"PASSWORD"}" size="25" />
+                                       </td>
+                                       <td colspan="2" width='40%'></td>
+                               </tr>
+                       </table>
+
+                       <br>
+                       <hr>
+
                        
                        <strong>
                                $Lang::tr{'wlan client advanced settings'}:
index 6443abe7ea9f1247707abd3b342269bfb0206a16..c65a64ba679bec50b35e2fc0955543c70782dc87 100644 (file)
 'wlan client' => 'WLAN-Client',
 'wlan client advanced settings' => 'Erweiterte Einstellungen',
 'wlan client and' => 'und',
+'wlan client anonymous identity' => 'Anonyme Identität',
+'wlan client auth auto' => 'Auto',
+'wlan client auth peap' => 'PEAP',
+'wlan client auth ttls' => 'TTLS',
+'wlan client authentication settings' => 'Authentifizierungseinstellungen',
 'wlan client bssid' => 'BSSID',
 'wlan client ccmp' => 'CCMP',
 'wlan client configuration' => 'WLAN-Client-Konfiguration',
 'wlan client disconnected' => 'Nicht verbunden',
 'wlan client duplicate ssid' => 'Doppelte SSID',
+'wlan client eap authentication method' => 'EAP-Authentifizierungsmethode',
 'wlan client edit entry' => 'Verbindung bearbeiten',
 'wlan client encryption' => 'Verschlüsselung',
+'wlan client encryption eap' => 'EAP',
 'wlan client encryption none' => 'Keine',
 'wlan client encryption wep' => 'WEP',
 'wlan client encryption wpa' => 'WPA',
 'wlan client encryption wpa2' => 'WPA2',
 'wlan client group cipher' => 'Gruppenchiffre',
 'wlan client group key algorithm' => 'GKA',
+'wlan client identity' => 'Identität',
 'wlan client invalid key length' => 'Ungültige Schlüssellänge.',
 'wlan client new entry' => 'Neue WLAN-Client-Konfiguration erstellen',
 'wlan client new network' => 'Neues Netzwerk',
 'wlan client pairwise cipher' => 'Paarweise Chiffre',
 'wlan client pairwise key algorithm' => 'PKA',
 'wlan client pairwise key group key' => 'Paarweise-/Gruppenschlüssel',
+'wlan client password' => 'Passwort',
 'wlan client psk' => 'Schlüssel',
 'wlan client ssid' => 'SSID',
 'wlan client tkip' => 'TKIP',
index 4c62471f717ea2a9d9164560e43a3d81a514e8bb..71a283cc53e594390a84cfb8617895460fb8ded1 100644 (file)
 'wlan client' => 'Wireless client',
 'wlan client advanced settings' => 'Advanced settings',
 'wlan client and' => 'and',
+'wlan client anonymous identity' => 'Anonymous Identity',
+'wlan client auth auto' => 'Auto',
+'wlan client auth peap' => 'PEAP',
+'wlan client auth ttls' => 'TTLS',
+'wlan client authentication settings' => 'Authentication Settings',
 'wlan client bssid' => 'BSSID',
 'wlan client ccmp' => 'CCMP',
 'wlan client configuration' => 'Wireless Client Configuration',
 'wlan client disconnected' => 'Disconnected',
 'wlan client duplicate ssid' => 'Duplicate SSID',
+'wlan client eap authentication method' => 'EAP Authentication Method',
 'wlan client edit entry' => 'Edit wireless client configuration',
 'wlan client encryption' => 'Encryption',
+'wlan client encryption eap' => 'EAP',
 'wlan client encryption none' => 'None',
 'wlan client encryption wep' => 'WEP',
 'wlan client encryption wpa' => 'WPA',
 'wlan client encryption wpa2' => 'WPA2',
 'wlan client group cipher' => 'Group cipher',
 'wlan client group key algorithm' => 'GKA',
+'wlan client identity' => 'Identity',
 'wlan client invalid key length' => 'Invalid key length.',
 'wlan client new entry' => 'Create new wireless client configuration',
 'wlan client new network' => 'New network',
 'wlan client pairwise cipher' => 'Pairwise cipher',
 'wlan client pairwise key algorithm' => 'PKA',
 'wlan client pairwise key group key' => 'Pairwise key/group key',
+'wlan client password' => 'Password',
 'wlan client psk' => 'Pre-shared key',
 'wlan client ssid' => 'SSID',
 'wlan client tkip' => 'TKIP',