
39: Configuring Terminal Server
_______________________________________________________________________________________________________
_______________________________________________________________________________________________________
© Virtual Access 2018
GW2020 Series User Manual
Issue: 2.1
Page 416 of 423
39.6.2.3
TCP connection re-initiation
When a TCP session goes down in the connected state, the terminal server immediately
restarts listening for a new TCP connection from a remote peer.
39.6.3
DSR signal behaviour in UDP mode
39.6.3.1
UDP session setup at startup
If you have set option
tcp_always_on1
, or DSR state is UP, the UDP session is setup
immediately on startup.
If you have set option
tcp_always_on0
, and DSR is DOWN, the terminal server waits for
a DSR UP signal. When DSR UP is detected, the UDP session is setup.
39.6.3.2
UDP session clearing
A UDP session is normally never cleared, but if it is closed by the network sub-system, it
gets re-setup after a hand off timeout.
A DSR signal DOWN event does not clear UDP session in the connected state.
39.6.3.3
UDP session reset
After UDP session clearing the terminal server takes action to resetup a UDP session
after a hand off timeout.
If you have set option
tcp_always_on1
, or DSR state is UP, the UDP session is setup.
If you have set option
tcp_always_on0
, and DSR is DOWN, the terminal server waits for
a DSR UP signal and then it resets up the UDP session.
39.7
Terminal Server diagnostics
The tservd process has to be running otherwise diagnostics options for terminal server
will not be available.
39.7.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.
39.7.2
Terminal Server statistics
To see Terminal Server statistics, enter:
root@VA_router:~# tserv show stats
TERMINAL 1, Dev: /dev/ttySC0
State: LISTENING