The
PortServer TS 2/4 delivers standard serial-to-Ethernet connectivity simply and
reliably. They easily address the growing need to connect individual devices to
the network over industry standard Ethernet in many applications.
They are ideal for using your existing serial terminals and printers to connect
directly to your TSX-32 Box via serial-to Ethernet connectivity. This
device eliminates the need for installing complicated and expensive Multi-port
Serial cards directly into the TSX-32 machine.
General Configuration
After the power and network cable is plugged into the PortServer®,
you are going to need to configure it to work on your network.
Most of the configuration options can be done using a
browser or telnet. Click here to download a
PortServer® Quick Start
Guide.
For telnet and browser access the default username is
root and the password is dbps
Assigning an IP address to your PortServer®
Access a PC on the same subnet as the PortServer® the
device is shipped as a DHCP client so it will get an IP
address from a DHCP server on the network.
If you have problems setting the IP address you can use
the CD that came with your PortServer® or you can issue the
following ARP command to set the IP.
arp -s 192.168.1.25 00-40-9d-00-00-00
You will need to substitute your desired IP address and
your PortServers MAC address. The MAC address should
be listed on the PortServer®.
You should now be able to point a browser at your PortServer®.
http://192.168.1.25 (Default User Name: root
Password: dbps)
After a successful login to the Portserver, click on
Configure / Ports. You should see this:
Port
Device
Term Type
Altpin
Flow
Control
Baud
Rate
Autoconnect
Data
Bits
Status
Host
Port
Port 1
Printer
vt100
Off
Software
9600
Off
192.168.1.42
23
8
Port 2
Terminal
vt100
Off
Software
19200
On
192.168.1.25
23
8
A TS/2 will have 2 Ports and a TS/4
will have 4 ports.
We will only be concerned with 2 modes of operation for this
device to work with your TSX-32 system. Terminal and
Printer Modes.
In the Terminal Mode you would attach a serial terminal or a
PC running communication software to the PortServer®, the PortServer®
then makes a telnet connection into the TSX-32 system.
In the Printer Mode you attach a printer to the PortServer®
and declare a reverse telnet line which is associated with a
print queue. When the PortServer® receives a telnet connection
at the IP Address and Port Number associated with a printer
line, the data received by that Telnet
connection is simply sent to the printer.
Configuration for Terminal Mode
In our example above you will notice Port 2 is
configured for Terminal. If you click on Port 2 you will
see the following configuration options:
Port 2 Configuration
Use this menu to configure port settings for the PortServer
TS 2.
Note that a reboot is required if the device type is changed and
the serial port is currently in use.
Choose Submit to commit configuration changes.
Choose Factory default to reset the port settings to
defaults. All configuration changes will be lost.
Choose Clone to apply this port's configuration to
other ports. (This option is available on multi-port devices
only.)
Choose Advanced to configure advanced settings for the
port.
Device type:
Baud rate:
Terminal type:
Data bits:
Flow control:
Parity:
Stop bits:
The configuration options you see here need to match the
configuration of your Serial Terminal.
Submit the needed changes and then click on
.
You will see the following configuration options:
Port 2 Advanced Configuration
Use the menu below to configure the advanced port settings
for the PortServer TS 2.
When you have configured the advanced options, choose Submit.
The important options here are the options in
the Auto Connect Configuration:
Enable AutoConnect needs to be checked.
AutoConnect Host will be IP address of the
TSX-32 System that we want to connect to.
At this point your serial terminal should
automatically make a Telnet connection to the TSX-32 system.
Configuration for Printer Mode
In our example above you will notice Port 1 is
configured for Printer. If you click on Port 1 you will
see the following configuration options:
Port 1 Configuration
Use this menu to configure port settings for the
PortServer TS 2.
Note that a reboot is required if the device type is
changed and the serial port is currently in use.
Choose Submit to commit configuration
changes.
Choose Factory default to reset the port
settings to defaults. All configuration changes
will be lost.
Choose Clone to apply this port's
configuration to other ports. (This option is
available on multi-port devices only.)
Choose Advanced to configure advanced
settings for the port.
Device type:
Baud rate:
Terminal type:
Data bits:
Flow control:
Parity:
Stop bits:
These
configuration options will need to match the configuration
options of your Serial Printer.
PortServer® Configuration Options:
From the Web Interface of the PortServer®,
click on Configure / Network. You should see
the following configuration options:
Network Configuration
Choose Submit when you have completed your
configuration.
IP address:
Subnet mask:
Default gateway:
Name server:
Domain:
My name:
Base socket:
We are interested in the Field Base
socket: With this set to 3000,
the TCP port number for the PortServer® port 1 is 3001 and
port 2 is 3002. Hence, with our
unit set to 192.168.1.42, we created the following reverse
telnet line in the TSX32.GEN file: