40: Configuring terminal package
_______________________________________________________________________________________________________
_______________________________________________________________________________________________________
© Virtual Access 2018
GW2020 Series User Manual
Issue: 2.1
Page 420 of 423
40.4
Configuring terminal using package options
root@VA_router:~# uci export terminal
package terminal
config terminal 'ttySC0'
option enabled '0'
option device 'ttySC0'
option speed '115200'
option type 'vt100'
option flowcontrol '1'
40.5
Terminal diagnostics
40.5.1
Checking terminal entry in inittab
To check if terminal configuration is running, enter the following commands and confirm
the line referring to the device name is present and looks similar to the last line below:
root@VA_router:~# cat /etc/inittab
::sysinit:/etc/init.d/rcS S boot
::shutdown:/etc/init.d/rcS K stop
ttyLTQ0::askfirst:getty -L 115200 ttyLTQ0 vt100
ttyLTQ1::askfirst:getty -L 115200 ttyLTQ1 vt100
ttySC0::respawn:getty -h -L 115200 ttySC0 vt100