console-server: add "set" on cfgcmds

This commit is contained in:
Christian Poessinger 2020-06-19 17:17:52 +02:00
parent 10b3b0a7e9
commit e4974ddea4

View File

@ -107,25 +107,25 @@ times are used to send a single character, and so dividing the signalling
bit-rate by ten results in the overall transmission speed in characters per bit-rate by ten results in the overall transmission speed in characters per
second. This is also the default setting if none of those options are defined. second. This is also the default setting if none of those options are defined.
.. cfgcmd:: service console-server <device> data-bits .. cfgcmd:: set service console-server <device> data-bits
Configure either seven or eight data bits. This defaults to eight data Configure either seven or eight data bits. This defaults to eight data
bits if left unconfigured. bits if left unconfigured.
.. cfgcmd:: service console-server <device> description .. cfgcmd:: set service console-server <device> description
A user friendly description identifying the connected peripheral. A user friendly description identifying the connected peripheral.
.. cfgcmd:: service console-server <device> parity [even | odd | none] .. cfgcmd:: set service console-server <device> parity [even | odd | none]
Set the parity option for the console. If unset this will default to none. Set the parity option for the console. If unset this will default to none.
.. cfgcmd:: service console-server <device> stop-bits .. cfgcmd:: set service console-server <device> stop-bits
Configure either one or two stop bits. This defaults to one stop bits if Configure either one or two stop bits. This defaults to one stop bits if
left unconfigured. left unconfigured.
.. cfgcmd:: service console-server <device> speed <baudrate> .. cfgcmd:: set service console-server <device> speed <baudrate>
.. note:: USB to serial converters will handle most of their work in software .. note:: USB to serial converters will handle most of their work in software
so you should be carefull with the selected baudrate as some times they so you should be carefull with the selected baudrate as some times they
@ -138,7 +138,7 @@ Each individual configured console-server device can be directly exposed to
the outside world. A user can directly connect via SSH to the configured the outside world. A user can directly connect via SSH to the configured
port. port.
.. cfgcmd:: service console-server <device> ssh port <port> .. cfgcmd:: set service console-server <device> ssh port <port>
Accept SSH connections for the given `<device>` on TCP port `<port>`. Accept SSH connections for the given `<device>` on TCP port `<port>`.
After successfull authentication the user will be directly dropped to After successfull authentication the user will be directly dropped to