summaryrefslogtreecommitdiff
path: root/docs/configuration
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-08-19 16:43:17 +0200
committerChristian Breunig <christian@breunig.cc>2023-08-19 16:43:17 +0200
commitf6001985016a9a4c989fe16aa3d953a3a846a4cd (patch)
treedc1eea5f6750cc6066587141290204cf549a10ab /docs/configuration
parentabd405b91e20786409fc5d9e2163940b9bcdfc90 (diff)
downloadvyos-documentation-f6001985016a9a4c989fe16aa3d953a3a846a4cd.tar.gz
vyos-documentation-f6001985016a9a4c989fe16aa3d953a3a846a4cd.zip
wifi: fix CLI nodes for country-code definition
Diffstat (limited to 'docs/configuration')
-rw-r--r--docs/configuration/interfaces/wireless.rst9
1 files changed, 4 insertions, 5 deletions
diff --git a/docs/configuration/interfaces/wireless.rst b/docs/configuration/interfaces/wireless.rst
index c321f208..e853a1ec 100644
--- a/docs/configuration/interfaces/wireless.rst
+++ b/docs/configuration/interfaces/wireless.rst
@@ -308,6 +308,7 @@ default physical device (``phy0``) is used.
set interfaces wireless wlan0 type station
set interfaces wireless wlan0 address dhcp
+ set interfaces wireless wlan0 country-code de
set interfaces wireless wlan0 ssid Test
set interfaces wireless wlan0 security wpa passphrase '12345678'
@@ -319,6 +320,7 @@ Resulting in
[...]
wireless wlan0 {
address dhcp
+ country-code de
security {
wpa {
passphrase "12345678"
@@ -354,6 +356,7 @@ The WAP in this example has the following characteristics:
.. code-block:: none
set interfaces wireless wlan0 address '192.168.2.1/24'
+ set interfaces wireless wlan0 country-code de
set interfaces wireless wlan0 type access-point
set interfaces wireless wlan0 channel 1
set interfaces wireless wlan0 mode n
@@ -371,6 +374,7 @@ Resulting in
[...]
wireless wlan0 {
address 192.168.2.1/24
+ country-code de
channel 1
mode n
security {
@@ -389,11 +393,6 @@ Resulting in
type access-point
}
}
- system {
- [...]
- wifi-regulatory-domain DE
- }
-
VLAN
====