5-1
5: Using the
MSS
This chapter explains how to use the MSS once it is running. Users can make host-initiated (incoming)
connections and use the host applications and code examples included on the MSS distribution CD-ROM.
Users can also use the MSS interactively to make outgoing connections, manipulate sessions, and view
server and network information with the help of Show commands.
In addition, this chapter explains:
Using the MSS Flash disk and removable ATA flash cards (see
Disk Management on page 5-6
).).
Configuring an MSS-to-MSS encrypted session (see
Encrypted Sessions on page 5-7
).
Setting up two MSS units to emulate a direct serial connection over the LAN (see
Serial Tunnel on
page 5-8
).
Using the MSS as a data pipe between a serial device and multiple hosts on the network (see
Multihost
Mode on page 5-9
).
Making the MSS look like a modem so that it can be used with existing communications software (see
Modem Emulation Mode on page 5-10
).
Using the Lantronix COM Port Redirector software to redirect PC COM ports (see
COM Port
Redirector on page 5-12
).
Incoming Connections
Socket Connections
Each node on a network has a node address, and each node address can allow connections on one or more
sockets. Sometimes these sockets are referred to as ports. TCP/IP connections can be made directly to one
of the MSS serial ports using sockets.
Note:
If a serial port is in use, the socket connection will be refused.
There are two categories of sockets. Well-known sockets are those that have been defined in RFCs
(Requests for Comments); for example, port 23 is used for Telnet connections. There are also custom
sockets that users and developers define for their own specific needs.
There are some important points to remember when making a socket connection:
Port access must be set to either Dynamic or Remote to allow network connection requests. Local
access does not allow a port to receive connection requests from the network. To change the port’s
access type, use the Change Port [Portlist] Access command followed by either Dynamic or Remote.
Note:
The Port and Server keywords are missing from the command names listed in the
MSS
Reference Manual
. For example, Change Server Bootgateway is listed as Change
Bootgateway.
The port must be idle. Use the
Show Ports
command to verify that the port is not in use. To further
ensure that the port will be idle, Telnet to the remote console port rather than attaching a terminal to
one of the serial ports.