summaryrefslogtreecommitdiff
path: root/smoketest/config-tests
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2024-06-17 17:31:40 +0200
committerGitHub <noreply@github.com>2024-06-17 17:31:40 +0200
commit444728ba6256fa7d39bedf9c4be83c098a9cc1ae (patch)
treef7e3168df466976acfdea9467711899b39c6907d /smoketest/config-tests
parent2224890a5be141daf9dd5613de0ebb81bb706db0 (diff)
parent9e22ab6b2aee48029d3455f65880e45c558cf1da (diff)
downloadvyos-1x-444728ba6256fa7d39bedf9c4be83c098a9cc1ae.tar.gz
vyos-1x-444728ba6256fa7d39bedf9c4be83c098a9cc1ae.zip
Merge pull request #3656 from c-po/wireless-regdomain
wireless: T6318: move country-code to a system wide configuration
Diffstat (limited to 'smoketest/config-tests')
-rw-r--r--smoketest/config-tests/wireless-basic25
1 files changed, 25 insertions, 0 deletions
diff --git a/smoketest/config-tests/wireless-basic b/smoketest/config-tests/wireless-basic
new file mode 100644
index 000000000..5d7bc8aaa
--- /dev/null
+++ b/smoketest/config-tests/wireless-basic
@@ -0,0 +1,25 @@
+set interfaces ethernet eth0 duplex 'auto'
+set interfaces ethernet eth0 speed 'auto'
+set interfaces ethernet eth1 duplex 'auto'
+set interfaces ethernet eth1 speed 'auto'
+set interfaces wireless wlan0 address '192.168.0.1/24'
+set interfaces wireless wlan0 channel '1'
+set interfaces wireless wlan0 mode 'n'
+set interfaces wireless wlan0 security wpa cipher 'CCMP'
+set interfaces wireless wlan0 security wpa mode 'wpa2'
+set interfaces wireless wlan0 security wpa passphrase '12345678'
+set interfaces wireless wlan0 ssid 'VyOS'
+set interfaces wireless wlan0 type 'access-point'
+set interfaces wireless wlan1 address '192.168.1.1/24'
+set interfaces wireless wlan1 channel '2'
+set interfaces wireless wlan1 mode 'n'
+set interfaces wireless wlan1 ssid 'VyOS-PUBLIC'
+set interfaces wireless wlan1 type 'access-point'
+set system config-management commit-revisions '200'
+set system console device ttyS0 speed 115200
+set system domain-name 'dev.vyos.net'
+set system host-name 'WR1'
+set system login user vyos authentication encrypted-password '$6$O5gJRlDYQpj$MtrCV9lxMnZPMbcxlU7.FI793MImNHznxGoMFgm3Q6QP3vfKJyOSRCt3Ka/GzFQyW1yZS4NS616NLHaIPPFHc0'
+set system wireless country-code 'es'
+set system syslog global facility all level 'info'
+set system syslog global facility local7 level 'debug'