42: Configuring Terminal Server
_______________________________________________________________________________________________________
_______________________________________________________________________________________________________
© Virtual Access 2018
GW1000 Series User Manual
Issue: 2.3
Page 453 of 463
Web: TCP Always on
UCI: tservd.@port[0].tcp_always_on
Opt: tcp_always_on
Keep TCP session always connected. Only displayed if Transport
Mode is TCP and client mode is enabled.
0
Disabled. TCP connection / UDP session is
initiated on detecting high state on the DSR
interface signal.
1
Enabled. If it disconnects in the established
state the TCP connection / UDP session is re-
initiated.
Web: Close TCP on DSR
UCI:
tservd.@port[0].close_tcp_on_dsr
Opt: close_tcp_on_dsr
Close TCP session on detection of DSR signal low. Only displayed
if Transport Mode is TCP and client mode is enabled.
0
Disabled. Detecting DSR down does not affect
the TCP connection.
1
Enabled. Detecting DSR down closes the
established TCP connection.
Web: Reconnect Time (ms)
UCI: tservd.@port[0].disc_time_ms
Opt: disc_time_ms
Time in milliseconds to start reconnecting after setting DTR low.
5000
5 seconds.
Range
0 – 10000
Web: UDP Keepalive Interval
UCI: tservd.@port[0].udpKaIntervalMs
Opt: udpKaIntervalMs
Defines time in milliseconds to send UDP keepalives (empty UDP
packets) when no data to send. Only displayed if transport mode
is UDP.
0
Disabled.
Range
0-65535
Web: UDP Keepalive Count
UCI: tservd.@port[0].udpKaCount
Opt: udpKaCount
Defines the maximum number of remote UDP keepalives not
received before UDP stream is considered broken. Only displayed
if transport mode is UDP.
3
Range
0-65535
Web: local UDP Port
UCI: tservd.@port[0].udpLocalPort
Opt: udpLocalPort
Local UDP port used by terminal server. Only displayed if
transport mode is UDP.
0
Range
0-65535
Web: remote UDP Port
UCI: tservd.@port[0].udpRemotePort
Opt: udpRemotePort
Remote UDP port used by terminal server. Only displayed if
transport mode is UDP.
0
Range
0-65535
Table 156: Information table for port settings network section
42.4
Terminal Server using UCI
root@VA_router:~# uci show tservd
tservd.main=tservd
tservd.main.log_severity=0
tservd.main.debug_rx_tx_enable=1
tservd.main.debug_ev_enable=1
tservd.@port[0]=port
tservd.@port[0].devName=/dev/ttySC0
tservd.@port[0].remote_ip1=0.0.0.0
tservd.@port[0].remote_ip2=0.0.0.0