summaryrefslogtreecommitdiff
path: root/docs/interfaces/wireless.rst
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-11-27 17:20:36 +0100
committerChristian Poessinger <christian@poessinger.com>2019-11-27 17:20:38 +0100
commit6aa3cbb611f74bdf8e44d5527f5138f3122a7497 (patch)
tree009a1fe9447bdd980d5017d49f102e7ccdace03b /docs/interfaces/wireless.rst
parent76bbe2744d7184ee50626d9d7b65f21dad1c7e99 (diff)
downloadvyos-documentation-6aa3cbb611f74bdf8e44d5527f5138f3122a7497.tar.gz
vyos-documentation-6aa3cbb611f74bdf8e44d5527f5138f3122a7497.zip
Refactor "code-block:: sh" to "code-block:: console"
This will add proper new-lines into the rendered PDF. Before if it has been a long line, not all content was preserved in the PDF.
Diffstat (limited to 'docs/interfaces/wireless.rst')
-rw-r--r--docs/interfaces/wireless.rst24
1 files changed, 12 insertions, 12 deletions
diff --git a/docs/interfaces/wireless.rst b/docs/interfaces/wireless.rst
index 1ae64644..f1f9ae80 100644
--- a/docs/interfaces/wireless.rst
+++ b/docs/interfaces/wireless.rst
@@ -45,7 +45,7 @@ The WAP in this example has the following characteristics:
* Use 802.11n protocol
* Wireless channel ``1``
-.. code-block:: sh
+.. code-block:: console
set interfaces wireless wlan0 address '192.0.2.1/24'
set interfaces wireless wlan0 type access-point
@@ -58,7 +58,7 @@ The WAP in this example has the following characteristics:
Resulting in
-.. code-block:: sh
+.. code-block:: console
interfaces {
[...]
@@ -110,7 +110,7 @@ The WAP in this example has the following characteristics:
* Wireless channel ``1``
* RADIUS server at ``192.0.3.10`` with shared-secret ``VyOSPassword``
-.. code-block:: sh
+.. code-block:: console
set interfaces wireless wlan0 address '192.0.2.1/24'
set interfaces wireless wlan0 type access-point
@@ -124,7 +124,7 @@ The WAP in this example has the following characteristics:
Resulting in
-.. code-block:: sh
+.. code-block:: console
interfaces {
[...]
@@ -161,7 +161,7 @@ The example creates a wireless station (commonly referred to as Wi-Fi client)
that accesses the network through the WAP defined in the above example. The
default physical device (``phy0``) is used.
-.. code-block:: sh
+.. code-block:: console
set interfaces wireless wlan0 type station
set interfaces wireless wlan0 address dhcp
@@ -170,7 +170,7 @@ default physical device (``phy0``) is used.
Resulting in
-.. code-block:: sh
+.. code-block:: console
interfaces {
[...]
@@ -193,7 +193,7 @@ Operational Commands
Use this command to view operational status and wireless-specific information
about all wireless interfaces.
-.. code-block:: sh
+.. code-block:: console
vyos@vyos:~$ show interfaces wireless info
Interface Type SSID Channel
@@ -204,7 +204,7 @@ about all wireless interfaces.
Use this command to view operational status and detailes wireless-specific
information about all wireless interfaces.
-.. code-block:: sh
+.. code-block:: console
vyos@vyos:~$ show interfaces wireless detail
wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
@@ -236,7 +236,7 @@ information about all wireless interfaces.
This command shows both status and statistics on the specified wireless interface.
The wireless interface identifier can range from wlan0 to wlan999.
-.. code-block:: sh
+.. code-block:: console
vyos@vyos:~$ show interfaces wireless wlan0
wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
@@ -257,7 +257,7 @@ The wireless interface identifier can range from wlan0 to wlan999.
This command gives a brief status overview of a specified wireless interface.
The wireless interface identifier can range from wlan0 to wlan999.
-.. code-block:: sh
+.. code-block:: console
vyos@vyos:~$ show interfaces wireless wlan0 brief
Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down
@@ -271,7 +271,7 @@ The wireless interface identifier can range from wlan0 to wlan999.
Use this command to view wireless interface queue information.
The wireless interface identifier can range from wlan0 to wlan999.
-.. code-block:: sh
+.. code-block:: console
vyos@vyos:~$ show interfaces wireless wlan0 queue
qdisc pfifo_fast 0: root bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
@@ -289,7 +289,7 @@ in station mode.
hardware. Refer to your driver and wireless hardware documentation for
further details.
-.. code-block:: sh
+.. code-block:: console
vyos@vyos:~$ show interfaces wireless wlan0 scan
Address SSID Channel Signal (dbm)