diff options
| author | Christian Poessinger <christian@poessinger.com> | 2019-11-20 07:43:59 +0100 | 
|---|---|---|
| committer | Christian Poessinger <christian@poessinger.com> | 2019-11-20 07:43:59 +0100 | 
| commit | cfaa84339fba06ae45ce8685a01e975898cc7c2f (patch) | |
| tree | 2776cfb0fabb695fd685fe1b1e1a15ee5abac5df | |
| parent | db7ece47f00cd0edaf4b2a8b87c6b7cdc6056f56 (diff) | |
| download | vyos-documentation-cfaa84339fba06ae45ce8685a01e975898cc7c2f.tar.gz vyos-documentation-cfaa84339fba06ae45ce8685a01e975898cc7c2f.zip | |
wireless: add operational commands
| -rwxr-xr-x | docker/entrypoint.sh | 1 | ||||
| -rw-r--r-- | docs/interfaces/wireless.rst | 36 | 
2 files changed, 34 insertions, 3 deletions
| diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh index 8db41103..d9cbc33c 100755 --- a/docker/entrypoint.sh +++ b/docker/entrypoint.sh @@ -1,5 +1,6 @@  #!/bin/bash  set -e +exec "$@"  USER_NAME="vyos_bld"  NEW_UID=$(stat -c "%u" .) 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 | 
