724-746-5500 | blackbox.com
724-746-5500 | blackbox.com
Page 5
Linux Virtual COM user manual
Quick Start Guide
Quick Start Guide
The following instructions assume that you are using a computer running Linux
®
x86 and a TCP/IP-based device server that both
meet system requirements.
The example in these instructions creates two new TTY devices to access serial devices on two serial servers:
• The first server (at 10.0.0.240) only supports raw TCP access.
• The second server (at 10.0.0.250) supports the Telnet with RFC 2217 extensions and requires a user login.
TTYredirector software is available from selected manufacturers of serial servers.
1. Unpack and Install:
A. If the TTYredirector software is in a .zip file, unzip it to obtain the .bin file.
B. Run the distribution file:
$ sh ttyredirector_404.bin
C. Change to the directory that was created:
$ cd ttyredirector_oem-4.0.4
D. su to root.
E. Install using the RPM kit if your system supports RPM packaging
# rpm -i ttyredirector_oem-4.0.4-1.i386.rpm
Install using the shell kit for other systems
# sh ttyredirector_oem-4.0.4-install.bin
F. If you are running Debian (Ubuntu) or another Linux distribution that does not have the /etc/rc.d/init.d direc-
tory, you must use the following commands (as root) to start and stop the TTYredirector daemon:
# /usr/local/sbin/ttyredirectord --start
and
# /usr/local/sbin/ttyredirectord --stop
2. Enter a License Key:
Enter the license key with the trconfig command:
$ trconfig -licensekey xxxx-xxxx-xxxx-xxxx-xxxx
license key AIAA-MAQQ-ACBQ-MIZX-TFJA
3. Add the New TTY Devices:
A. Use the trconfig command to create two new TTY devices:
$ trconfig -addtty mytty0,mytty1
B. Default settings are in effect for these new TTY devices. They can not be used until they are configured.
4. Configure the First TTY device:
A. For mytty0 use the IP address and TCP port number for the first device server:
$ trconfig -tty mytty0 -server 10.0.50.100 -port 4660
Commentaires sur ces manuels