mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
wireless client: Remove option for WEP
This has not been compiled into our version of wpa_supplicant (if it has been ever) and so there is no danger to disable this without any further ado. Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
committed by
Peter Müller
parent
251f023f46
commit
40124af8de
@@ -2154,7 +2154,6 @@ WARNING: untranslated string: wlan client edit entry = Edit wireless client conf
|
||||
WARNING: untranslated string: wlan client encryption = Encryption
|
||||
WARNING: untranslated string: wlan client encryption eap = EAP
|
||||
WARNING: untranslated string: wlan client encryption none = None
|
||||
WARNING: untranslated string: wlan client encryption wep = WEP
|
||||
WARNING: untranslated string: wlan client encryption wpa = WPA
|
||||
WARNING: untranslated string: wlan client encryption wpa2 = WPA2
|
||||
WARNING: untranslated string: wlan client encryption wpa3 = WPA3
|
||||
|
||||
@@ -1554,7 +1554,6 @@ WARNING: untranslated string: wlan client edit entry = Edit wireless client conf
|
||||
WARNING: untranslated string: wlan client encryption = Encryption
|
||||
WARNING: untranslated string: wlan client encryption eap = EAP
|
||||
WARNING: untranslated string: wlan client encryption none = None
|
||||
WARNING: untranslated string: wlan client encryption wep = WEP
|
||||
WARNING: untranslated string: wlan client encryption wpa = WPA
|
||||
WARNING: untranslated string: wlan client encryption wpa2 = WPA2
|
||||
WARNING: untranslated string: wlan client encryption wpa3 = WPA3
|
||||
|
||||
@@ -1560,7 +1560,6 @@ WARNING: untranslated string: wlan client edit entry = Edit wireless client conf
|
||||
WARNING: untranslated string: wlan client encryption = Encryption
|
||||
WARNING: untranslated string: wlan client encryption eap = EAP
|
||||
WARNING: untranslated string: wlan client encryption none = None
|
||||
WARNING: untranslated string: wlan client encryption wep = WEP
|
||||
WARNING: untranslated string: wlan client encryption wpa = WPA
|
||||
WARNING: untranslated string: wlan client encryption wpa2 = WPA2
|
||||
WARNING: untranslated string: wlan client encryption wpa3 = WPA3
|
||||
|
||||
@@ -1555,7 +1555,6 @@ WARNING: untranslated string: wlan client edit entry = Edit wireless client conf
|
||||
WARNING: untranslated string: wlan client encryption = Encryption
|
||||
WARNING: untranslated string: wlan client encryption eap = EAP
|
||||
WARNING: untranslated string: wlan client encryption none = None
|
||||
WARNING: untranslated string: wlan client encryption wep = WEP
|
||||
WARNING: untranslated string: wlan client encryption wpa = WPA
|
||||
WARNING: untranslated string: wlan client encryption wpa2 = WPA2
|
||||
WARNING: untranslated string: wlan client encryption wpa3 = WPA3
|
||||
|
||||
@@ -942,7 +942,6 @@
|
||||
< 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 encryption wpa3
|
||||
@@ -2876,7 +2875,6 @@
|
||||
< 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 encryption wpa3
|
||||
@@ -3821,7 +3819,6 @@
|
||||
< 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 encryption wpa3
|
||||
|
||||
@@ -318,8 +318,6 @@ END
|
||||
my $encryption_mode = $Lang::tr{'unknown'};
|
||||
if ($config[3] eq "NONE") {
|
||||
$encryption_mode = $Lang::tr{'wlan client encryption none'};
|
||||
} elsif ($config[3] eq "WEP") {
|
||||
$encryption_mode = $Lang::tr{'wlan client encryption wep'};
|
||||
} elsif ($config[3] eq "WPA") {
|
||||
$encryption_mode = $Lang::tr{'wlan client encryption wpa'};
|
||||
} elsif ($config[3] eq "WPA2") {
|
||||
@@ -467,7 +465,6 @@ sub showEditBox() {
|
||||
$selected{'ENCRYPTION'}{'WPA3'} = '';
|
||||
$selected{'ENCRYPTION'}{'WPA2'} = '';
|
||||
$selected{'ENCRYPTION'}{'WPA'} = '';
|
||||
$selected{'ENCRYPTION'}{'WEP'} = '';
|
||||
$selected{'ENCRYPTION'}{$settings{'ENCRYPTION'}} = "selected='selected'";
|
||||
|
||||
$selected{'WPA_MODE'} = ();
|
||||
@@ -511,7 +508,6 @@ sub showEditBox() {
|
||||
<option value="WPA3" $selected{'ENCRYPTION'}{'WPA3'}>$Lang::tr{'wlan client encryption wpa3'}</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>
|
||||
</select>
|
||||
</td>
|
||||
<td colspan="2" width='40%'></td>
|
||||
@@ -838,15 +834,7 @@ sub ValidKeyLength($$) {
|
||||
|
||||
my $key_length = length($key);
|
||||
|
||||
if ($algo eq "WEP") {
|
||||
# Key must be 13 or 26 characters.
|
||||
if (($key_length == 13) || ($key_length == 26)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
return 1;
|
||||
|
||||
} elsif (($algo eq "WPA2") || ($algo eq "WPA")) {
|
||||
if (($algo eq "WPA2") || ($algo eq "WPA")) {
|
||||
# Key must be between 8 and 63 chars.
|
||||
if (($key_length >= 8) && ($key_length <= 63)) {
|
||||
return 0;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
%tr = (
|
||||
%tr = (
|
||||
%tr,
|
||||
|
||||
'24 hours' => '24 Stunden',
|
||||
@@ -2932,7 +2932,6 @@
|
||||
'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',
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
%tr = (
|
||||
%tr = (
|
||||
%tr,
|
||||
|
||||
'24 hours' => '24 Hours',
|
||||
@@ -2997,7 +2997,6 @@
|
||||
'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 encryption wpa3' => 'WPA3',
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
%tr = (
|
||||
%tr = (
|
||||
%tr,
|
||||
|
||||
'Act as' => 'Actuar Como:',
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
%tr = (
|
||||
%tr = (
|
||||
%tr,
|
||||
|
||||
'24 hours' => '24 heures',
|
||||
@@ -2967,7 +2967,6 @@
|
||||
'wlan client encryption' => 'Chiffrement ',
|
||||
'wlan client encryption eap' => 'EAP',
|
||||
'wlan client encryption none' => 'Aucun',
|
||||
'wlan client encryption wep' => 'WEP',
|
||||
'wlan client encryption wpa' => 'WPA',
|
||||
'wlan client encryption wpa2' => 'WPA2',
|
||||
'wlan client encryption wpa3' => 'WPA3',
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
%tr = (
|
||||
%tr = (
|
||||
%tr,
|
||||
|
||||
'Act as' => 'Lavora come:',
|
||||
@@ -2607,7 +2607,6 @@
|
||||
'wlan client edit entry' => 'Edit wireless client configuration',
|
||||
'wlan client encryption' => 'Encryption',
|
||||
'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',
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
%tr = (
|
||||
%tr = (
|
||||
%tr,
|
||||
|
||||
'Act as' => 'Fungeren als:',
|
||||
@@ -2555,7 +2555,6 @@
|
||||
'wlan client edit entry' => 'Wijzig draadloze client configuratie',
|
||||
'wlan client encryption' => 'Encryptie',
|
||||
'wlan client encryption none' => 'Geen',
|
||||
'wlan client encryption wep' => 'WEP',
|
||||
'wlan client encryption wpa' => 'WPA',
|
||||
'wlan client encryption wpa2' => 'WPA2',
|
||||
'wlan client group cipher' => 'Group cipher',
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
%tr = (
|
||||
%tr = (
|
||||
%tr,
|
||||
|
||||
'Act as' => 'Act as:',
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
%tr = (
|
||||
%tr = (
|
||||
%tr,
|
||||
|
||||
'Act as' => 'В качестве:',
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
%tr = (
|
||||
%tr = (
|
||||
%tr,
|
||||
|
||||
'24 hours' => '24 Saat',
|
||||
@@ -2792,7 +2792,6 @@
|
||||
'wlan client encryption' => 'Şifreleme',
|
||||
'wlan client encryption eap' => 'EAP',
|
||||
'wlan client encryption none' => 'Hiçbiri',
|
||||
'wlan client encryption wep' => 'WEP',
|
||||
'wlan client encryption wpa' => 'WPA',
|
||||
'wlan client encryption wpa2' => 'WPA2',
|
||||
'wlan client group cipher' => 'Grup şifreleme',
|
||||
|
||||
Reference in New Issue
Block a user