40: Configuring terminal package
_______________________________________________________________________________________________________
_______________________________________________________________________________________________________
© Virtual Access 2018
GW2020 Series User Manual
Issue: 2.1
Page 419 of 423
40
Configuring terminal package
Terminal package is used to automatically add entries for getty to inittab for extra
incoming console/terminal connections.
40.1
Configuration packages used
Package
Sections
terminal
terminal
40.2
Configuring terminal package using the web interface
Terminal package is not available to configure using the web interface.
Web Field/UCI/Package Option
Description
Web: n/a
UCI: terminal.console.enabled
Opt: enabled
Enables Terminal on the router.
0
Disabled.
1
Enabled.
Web: n/a
UCI: terminal.console.device
Opt: device
String value point at the tty device in /dev folder.
None
Default.
<string>
Device name.( e.g. ttySC0 to use serial
port 0)
Web: n/a
UCI: terminal.console.speed
Opt: speed
Set the speed of serial connection.
115200
Default.
<range>
Supported port speed.
Web: n/a
UCI: terminal.console.type
Opt: type
String value represents supported terminal emulation mode.
vt100
Default.
<string>
Supported terminal type.
Web: n/a
UCI: terminal.console.flowcontrol
Opt: flowcontrol
Enables hardware flow control RTS/CTS.
0
Disabled.
1
Enabled.
Table 140: Information table for terminal settings
40.3
Configuring terminal package using UCI
root@VA_router:~# uci show terminal
terminal.ttySC0=terminal
terminal.ttySC0.enabled=1
terminal.ttySC0.device=ttySC0
terminal.ttySC0.speed=115200
terminal.ttySC0.type=vt100
terminal.ttySC0.flowcontrol=1