summaryrefslogtreecommitdiff
path: root/docs/interfaces/wireless.rst
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-11-10 22:57:12 +0100
committerChristian Poessinger <christian@poessinger.com>2020-11-10 22:57:12 +0100
commitf0ed78b3ad3a7806b0443a2771cdeb6cbd13ba5a (patch)
treec236fa50dbcb4845f85c3f1c9f8eb16120305e9f /docs/interfaces/wireless.rst
parentf6ee81e58268ce1a666f68504f327f49c4402130 (diff)
downloadvyos-documentation-f0ed78b3ad3a7806b0443a2771cdeb6cbd13ba5a.tar.gz
vyos-documentation-f0ed78b3ad3a7806b0443a2771cdeb6cbd13ba5a.zip
interfaces: consolidate vxlan, geneve, wifi, pppoe, wwan to new include command syntax
Diffstat (limited to 'docs/interfaces/wireless.rst')
-rw-r--r--docs/interfaces/wireless.rst26
1 files changed, 21 insertions, 5 deletions
diff --git a/docs/interfaces/wireless.rst b/docs/interfaces/wireless.rst
index 8b1195fa..b146a21b 100644
--- a/docs/interfaces/wireless.rst
+++ b/docs/interfaces/wireless.rst
@@ -1,7 +1,10 @@
+.. include:: ../_include/need_improvement.txt
+
.. _wireless-interface:
+###################
Wireless LAN (WiFi)
--------------------
+###################
:abbr:`WLAN (Wireless LAN)` interface provide 802.11 (a/b/g/n/ac) wireless
support (commonly referred to as Wi-Fi) by means of compatible hardware. If your
@@ -22,17 +25,30 @@ If the system detects an unconfigured wireless device, it will be automatically
added the configuration tree, specifying any detected settings (for example,
its MAC address) and configured to run in monitor mode.
+Configuration
+#############
+
+Common interface configuration
+------------------------------
+
+.. cmdinclude:: ../_include/interface-common-with-dhcp.txt
+ :var0: wireless
+ :var1: wlan0
+
+Wireless specific options
+-------------------------
+
+Configuring Access-Point
+^^^^^^^^^^^^^^^^^^^^^^^^
+
To be able to use the wireless interfaces you will first need to set a
regulatory domain with the country code of your location.
-.. cfgcmd:: set system wifi-regulatory-domain DE
+.. cfgcmd:: set interfaces wireless <interface> country-code <cc>
Configure system wide Wi-Fi regulatory domain. A reboot is required for this
change to be enabled.
-Configuring Access-Point
-^^^^^^^^^^^^^^^^^^^^^^^^
-
The following example creates a WAP. When configuring multiple WAP interfaces,
you must specify unique IP addresses, channels, Network IDs commonly referred
to as :abbr:`SSID (Service Set Identifier)`, and MAC addresses.