summaryrefslogtreecommitdiff
path: root/docs/system/serial-console.rst
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-12-20 19:24:36 +0100
committerChristian Poessinger <christian@poessinger.com>2019-12-20 19:24:36 +0100
commit6580e3f987aa6302b63ed43cfc98da1fb6b4c59c (patch)
tree7a392a2c17e29699fe5f562f996ff0a94bcd4c85 /docs/system/serial-console.rst
parent0e22a8150240aef366b1af29861fd55175ff5582 (diff)
downloadvyos-documentation-6580e3f987aa6302b63ed43cfc98da1fb6b4c59c.tar.gz
vyos-documentation-6580e3f987aa6302b63ed43cfc98da1fb6b4c59c.zip
serial-console: rewrite with new cfgcmd syntax
Diffstat (limited to 'docs/system/serial-console.rst')
-rw-r--r--docs/system/serial-console.rst49
1 files changed, 49 insertions, 0 deletions
diff --git a/docs/system/serial-console.rst b/docs/system/serial-console.rst
new file mode 100644
index 00000000..53322f53
--- /dev/null
+++ b/docs/system/serial-console.rst
@@ -0,0 +1,49 @@
+.. _serial-console:
+
+##############
+Serial Console
+##############
+
+For the average user a serial console has no advantage over a console offered
+by a directly attached keyboard and screen. Serial consoles are much slower,
+taking up to a second to fill a 80 column by 24 line screen. Serial consoles
+generally only support non-proportional ASCII text, with limited support for
+languages other than English.
+
+There are some scenarios where serial consoles are useful. System administration
+of remote computers is usually done using :ref:`ssh`, but there are times when
+access to the console is the only way to diagnose and correct software failures.
+Major upgrades to the installed distribution may also require console access.
+
+
+.. cfgcmd:: set system console device '<device>'
+
+ Defines the specified device as a system console. Available console devices
+ can be (see completion helper):
+
+ * ``ttySN`` - Serial device name
+ * ``ttyUSBX`` - USB Serial device name
+ * ``hvc0`` - Xen console
+
+.. cfgcmd:: set system console device '<device>' speed '<speed>'
+
+ The speed (baudrate) of the console device. Supported values are:
+
+ * ``1200`` - 1200 bps
+ * ``2400`` - 2400 bps
+ * ``4800`` - 4800 bps
+ * ``9600`` - 9600 bps
+ * ``19200`` - 19,200 bps
+ * ``38400`` - 38,400 bps (default for Xen console)
+ * ``57600`` - 57,600 bps
+ * ``115200`` - 115,200 bps (default for serial console)
+
+##############
+Network Console
+##############
+
+TBD.
+
+.. cfgcmd:: set system console network '<netconXX>'
+
+ ... and many more commands ... \ No newline at end of file