User manual

26: Terminal Server
_______________________________________________________________________________________________________
config tservd port1
# enables this port
option enable 1
# serial device name
option devName '/dev/ttySC1'
….. other options follow ….
26.5 Terminal Server operation
26.5.1 General
The Terminal Server package consists of two binaries:
tservd Terminal Server deamon, full path at /usr/sbin/tservd
tserv Terminal Server command line interface, path at /usr/sbin/tserv
26.5.2 Starting Terminal Server
By default, if Terminal Server is enabled in /etc/config/tservd, it is started on
boot up automatically. To start Terminal Server manually, enter:
/usr/sbin/tservd
26.5.3 Checking the status of Terminal Server
To check if Terminal Server is running, enter:
ps | grep tservd.
If Terminal Server is running there it will be shown with its process ID, in the
following example, the process ID (PID) is 1264:
Figure 88: Output from the command line ps | grep tservd
Alternatively, run: /usr/bin/tserv show stats
If the Terminal Server is running, this command will show the status of each
session. If the Terminal Server is not loaded it will return an error.
_______________________________________________________________________________________________________
© Virtual Access 2015
GW1000 Series User Manual
Issue: 2.4 Page 194 of 255