Include Page |
---|
| KBCOMMON:KB-CSSstyle |
---|
| KBCOMMON:KB-CSSstyle |
---|
|
...
General Description
Configuration of CHARON-VAX serial lines is performed in 3 steps:
...
CHARON-VAX console ports can be configured to connect to an external terminal via the host system COM/TTY port or can be connected via TCP/IP.
rts
Parameter | rts[<line>] |
---|
Type | Text string |
---|
Value | - "On" - assert RTS (Request To Send) signal
- "Off" - clear RTS signal (default)
- "DTR" - assert RTS signal as soon as DTR signal is asserted ( Applicable only for QUART )
|
---|
...
Parameter | line |
---|
Type | Text string |
---|
Value | A defined TTY port on host system: - "/dev/tty<N>" - virtual serial lines
- "/dev/ttyS<N>" - onboard serial lines
- "/dev/ttyUSB<N>" - modem or usb serial lines adapters
- "/dev/tty<XXX>" - proprietary (depending on a driver) devices such as DIGI or MOXA cards- proprietary (depending on a driver) devices such as DIGI or MOXA cards
Warning |
---|
If a virtual console "/dev/tty<N>" is going to be used, it must be freed from all the processes running on it at first. Refer to your OS documentation for details, also some description on how to do it is available here. |
Warning |
---|
A specific account for running CHARON ("charon") does not allow usage of virtual consoles "/dev/tty<N> " as CHARON consoles. If you plan to map CHARON console or serial lines to "/dev/tty<N> " use only "root" account for CHARON running. |
|
---|
baud
Parameter | baud |
---|
Type | Numeric |
---|
Value | Forces the baud rate of the corresponding TTY port to a specified value.The variety of supported values depends on the underlying physical communication resource (TTY port). The most widely used values are: 300, 1200, 9600, 19200, 38400. Example:
|
---|
...
Parameter | log_file_size |
---|
Type | Text string |
---|
Value | If log rotation is enabled, the log_file_size parameter determines the log file size threshold at which the log is automatically rotated. - "unlimited" or "0" (default) - the feature is disabled
- "default" - default size is used (4Mb)
- <size>[KMG] - size of the current log file in bytes with additional multipliers:
K - Kilobyte - multiply by 1024 M - Megabyte - multiply by 1024*1024 G - Gigabyte - multiply by 1024*1024*1024
Examples: set OPA0 log_file_size="default" |
set OPA0 log_file_size=10M
|
Minimum log file size is 64K, maximum is 1G. Setting size less then 64K effectively makes the log file unlimited. |
---|
...
...
log_flush_period
Parameter | log_flush_period |
---|
Type | Numeric |
---|
Value | Defines a period of flushing log to disk. Default period is 60 seconds (it means that every minute log file is flushed to disk) Example: set OPA0 log_flush_period=30
|
|
---|
...
...
Include Page |
---|
| KBCOMMON:DOC-GoToToc |
---|
| KBCOMMON:DOC-GoToToc |
---|
|
operator_console
break_on, stop_on
...
"ttyY" notation specifics
...
- Linux virtual tty (switchable by alt+F1 - atl+F12 on a text console) – are represented as "/dev/tty<N>" where N is from 0 to 11. Those tty devices must be free from the Linux "getty/mgetty" and similar programs (specified in "/etc/inittab")
- Onboard serial lines are represented as "/dev/ttyS<N>" where N is a number. For example "/dev/ttyS1"
- Proprietary (depending on a driver) devices are represented as "/dev/tty<XXX>" where XXX is a complex letter/number notation. For example "/dev/ttyR01" is the first port of a MOXA card and "/dev/ttyaa" stands for the first port of a DIGI card.
...
Linking serial controller port to host connection
...