summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-11-20 07:43:59 +0100
committerChristian Poessinger <christian@poessinger.com>2019-11-20 07:43:59 +0100
commitcfaa84339fba06ae45ce8685a01e975898cc7c2f (patch)
tree2776cfb0fabb695fd685fe1b1e1a15ee5abac5df /docs
parentdb7ece47f00cd0edaf4b2a8b87c6b7cdc6056f56 (diff)
downloadvyos-documentation-cfaa84339fba06ae45ce8685a01e975898cc7c2f.tar.gz
vyos-documentation-cfaa84339fba06ae45ce8685a01e975898cc7c2f.zip
wireless: add operational commands
Diffstat (limited to 'docs')
-rw-r--r--docs/interfaces/wireless.rst36
1 files changed, 33 insertions, 3 deletions
diff --git a/docs/interfaces/wireless.rst b/docs/interfaces/wireless.rst
index 29c4ae4c..406e6685 100644
--- a/docs/interfaces/wireless.rst
+++ b/docs/interfaces/wireless.rst
@@ -12,7 +12,7 @@ There are three modes of operation for a wireless interface:
* :abbr:`WAP (Wireless Access-Point)` provides network access to connecting
stations if the physical hardware supports acting as a WAP
-
+
* A station acts as a Wi-Fi client accessing the network through an available
WAP
@@ -28,7 +28,7 @@ regulatory domain with the country code of your locaion.
.. option:: set system wifi-regulatory-domain DE
Configure system wide Wi-Fi regulatory domain. A reboot is required for this
- change to be enabled.
+ change to be enabled.
Configuring Access-Point
^^^^^^^^^^^^^^^^^^^^^^^^
@@ -116,4 +116,34 @@ Resulting in
}
ssid TEST
type station
- } \ No newline at end of file
+ }
+
+Operational Commands
+^^^^^^^^^^^^^^^^^^^^
+
+.. option:: show interfaces wireless info
+
+Use this command to view operational status and wireless-specific information
+about all wireless interfaces.
+
+.. code-block:: sh
+
+ vyos@vyos:~$ show interfaces wireless info
+ Interface Type SSID Channel
+ mon.wlan0 monitor ? ?
+ wlan0 AP testing 3
+
+.. option:: show interfaces wireless detail
+
+Use this command to view operational status and detailes wireless-specific
+information about all wireless interfaces.
+
+.. code-block:: sh
+
+ vyos@vyos:~$ show interfaces wireless detail
+ wlan0: <NO?CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN0
+ link/ether 00:21:91:d1:18:ca brd ff:ff:ff:ff:ff:ff
+ RX: bytes packets errors dropped overrun mcast
+ 0 0 0 0 0 0
+ TX: bytes packets errors dropped carrier collisions
+ 0 0 0 0 0 0 \ No newline at end of file