User`s manual
724-746-5500 | blackbox.com
Page 6
Linux Virtual COM user manual
724-746-5500 | blackbox.com
Quick Start Guide
B. The software does not support username/password authentication. Please do not enable –auth username
option.
C. The software only supports Telnet protocol and RFC 2217 extensions, so you need to enable it.
In the WebUI, you will need to enable Virtual COM also. For mytty0, we will specify additional baud rate and flow control
settings for the server to initialize with these settings each time. It is necessary to set the serial settings here for the server
to run properly. Sample command:
$ trconfig -tty mytty0 -protocol telnet -speed 38400 -inflow rts -outflow cts
NOTE: The default command demonstrates how to enable Telnet extension and change baud rate to 38400 and enables hard-
ware flow control (RTS/CTS).
Table 1 shows a list of trconfig serial options (for more commands, type trconfig –help).
Table 1. trconfig serial options.
Option Accepted Values Function
-protocol telnet Enables Telnet extension (required)
-speed Any integer Sets the baud rate (required)
-length 5, 6, 7, 8 Sets the data bits (default is 8)
-stop 1.1.5.2 Sets the stop bit (default is 1)
-inflow rts/dtr/xonoff/none Sets the inbound flow control (default is none)
-outflow cts/dsr/xonoff/none Sets the outbound flow control (default is none)
5. Check the Configuration of the New TTY Devices:
A. Use a trquery command to see their settings:
$ trquery -tty ALL
tty: mytty0
server: 10.0.50.100
port: 4660
...
B. Use an ls command to see the new devices in /dev directory, which are automatically linked to Unix98 pty
devices:
$ ls -l /dev/mytty*
lrwxrwxrwx 1 root root 10 Jan 12 21:31 /dev/mytty0->/dev/pts/1
6. Begin Using the New TTY Devices:
A. Your applications can now open, read, and write the devices /dev/mytty0 to use the devices on the Black Box
serial servers.
B. To see the activity on these TTY devices, use the trtrace command:
$ trtrace
C. To send the trace data to a file:
$ trtrace -f tracefile.txt