mirror of
https://github.com/vyos/vyos-documentation.git
synced 2025-10-26 08:41:46 +01:00
wifi: fix CLI nodes for country-code definition
This commit is contained in:
parent
abd405b91e
commit
f600198501
@ -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
|
||||
====
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user