30: Configuring Terminal Server
_______________________________________________________________________________________________________
_____________________________________________________________________________________________________
© Virtual Access 2017
GW7304 Series User Manual
Issue: 1.9
Page 288 of 336
30.5
Terminal Server using package options
root@VA_router:~# uci export tservd
package tservd
config tservd 'main'
option log_severity '0'
option debug_rx_tx_enable '1'
option debug_ev_enable '1'
config port
option devName '/dev/ttySC0'
option remote_ip1 '0.0.0.0'
option remote_ip2 '0.0.0.0'
30.6
Terminal Server diagnostics
The tservd process has to be running otherwise diagnostics options for terminal server
will not be available.
30.6.1
Checking Terminal Server process
To check if Terminal Server is running, enter:
root@VA_router:~# ps | grep tservd
1264 root
1032 S tservd
1769 root
1496 S grep tservd
If Terminal Server is running it will be shown with its process ID.
30.6.2
Terminal Server statistics
To see the terminal server statistics, enter:
root@VA_router:~# tserv show stats
TERMINAL 1, Dev: /dev/ttySC0
State: LISTENING
Serial Bytes Rx (0) Tx (0) TxErrs (0)
TCP Packets Rx (0) Tx (0) TxErrs (0) TxBlocked (0)
TCP Bytes Rx (0) Tx (0)
UDP Datagrams Rx (0) Tx (0) TxErrs (0)
UDP Bytes Rx (0) Tx (0)
DSR Up (0) Down (0)