summaryrefslogtreecommitdiff
path: root/interface-definitions/interfaces_wireless.xml.in
diff options
context:
space:
mode:
authorChristopher <root@teritum.dev>2024-06-10 19:52:48 +0100
committerChristian Breunig <christian@breunig.cc>2024-07-05 08:48:31 +0200
commitfc4263021acb72d2d8afb165922d9cb7e11b2bf1 (patch)
treec0c3ae2a07264f02c5d339323ffe14e4a8f01e90 /interface-definitions/interfaces_wireless.xml.in
parent9cddfd9fde5504cd5e42ed75560f21619aca646b (diff)
downloadvyos-1x-fc4263021acb72d2d8afb165922d9cb7e11b2bf1.tar.gz
vyos-1x-fc4263021acb72d2d8afb165922d9cb7e11b2bf1.zip
wireless: T6496: support for EAP-MSCHAPv2 client over wifi
fix: attempt to fix indentation on `wpa_supplicant.conf.j2` fix: attempt to fix indentation on `wpa_supplicant.conf.j2` fix: incorrect bssid mapping fix: use the correct jinja templating (I think) fix: “remote blank space fix: attempt to fix the formatting in j2 fix: attempt to fix the formatting in j2 feat: rename enterprise username and password + add checks in conf mode. fix: move around `bssid` config option on `wpa_supplicant.conf.j2` and fix the security config part fix: fix indentation on `wpa_supplicant.conf.j2`
Diffstat (limited to 'interface-definitions/interfaces_wireless.xml.in')
-rw-r--r--interface-definitions/interfaces_wireless.xml.in16
1 files changed, 13 insertions, 3 deletions
diff --git a/interface-definitions/interfaces_wireless.xml.in b/interface-definitions/interfaces_wireless.xml.in
index 0a62b3255..dd2ae02bc 100644
--- a/interface-definitions/interfaces_wireless.xml.in
+++ b/interface-definitions/interfaces_wireless.xml.in
@@ -723,6 +723,15 @@
<help>Wireless security settings</help>
</properties>
<children>
+ <leafNode name="bssid">
+ <properties>
+ <help>Basic Service Set Identifier (BSSID)</help>
+ <constraint>
+ <regex>([0-9a-fA-F]{2}:){5}[0-9a-fA-F]{2}</regex>
+ </constraint>
+ <constraintErrorMessage>Invalid BSSID</constraintErrorMessage>
+ </properties>
+ </leafNode>
<node name="station-address">
<properties>
<help>Station MAC address based authentication</help>
@@ -899,15 +908,16 @@
</properties>
<defaultValue>wpa+wpa2</defaultValue>
</leafNode>
+ #include <include/generic-username.xml.i>
<leafNode name="passphrase">
<properties>
- <help>WPA personal shared pass phrase. If you are using special characters in the WPA passphrase then single quotes are required.</help>
+ <help>WPA passphrase. If you are using special characters in the WPA passphrase then single quotes are required.</help>
<valueHelp>
<format>txt</format>
- <description>Passphrase of at least 8 but not more than 63 printable characters</description>
+ <description>Passphrase of at least 8 but not more than 63 printable characters for WPA-Personal and any passphrase for WPA-Enterprise</description>
</valueHelp>
<constraint>
- <regex>.{8,63}</regex>
+ <regex>.*</regex>
</constraint>
<constraintErrorMessage>Invalid WPA pass phrase, must be 8 to 63 printable characters!</constraintErrorMessage>
</properties>