User guide

Configuring a User for Autoconnection: Command Line
Chapter 9 Configuring Autoconnection 49
Configuring a User for Autoconnection: Command Line
This section describes how to configure a user for autoconnection.
Procedure
This procedure deals with autoconnection features only. It assumes that you have or will configure
The port for modem connections (see Chapter 5) or terminal connections (see Chapter 6)
Other user attributes (see the set user command in the Digi One/PortServer TS Command Reference)
To configure a user to automatically connect to a host, supply a set user command that specifies the following:
set user name=user-name ports=ports autoconnect=on autohost=ip-address
autoport=tcp-port defaultaccess=autoconnect outgoing=on
where
user-name is the name of the user
ports is the ports this user can use
ip-address is the IP address of the host to which the user will be connected
tcp-port is the TCP port to use for connections
Note: Outgoing must be on for a user to use autoconnection
Example
In this example, a user is configured for autoconnection using telnet to the host specified. Because the password
field is not specified, the default (password=on) requires that the user supply a password before the connection is
made.
set user name=user4 autoconnect=on autohost=199.193.150.10 autoport=23
defaultaccess=autoconnect outgoing=on
Configuring TCP Socket Communication
TCP socket communication enables serial devices to communicate with each other over an Ethernet network as
though they were connected by a serial cable.
This section describes how to use the web interface to configure this Digi device for the following:
Inbound connections, that is, connections that are initiated by the device on the other side of the network
Outbound connection, that is, connections that are initiated by the device connected to the serial port
Procedure for Configuring Inbound Socket Communication
1. Access the web interface by entering the Digi One/PortServer TS 2/4 IP address in a browsers URL window.
2. Log in to the Digi One/PortServer TS 2/4 as root. The default password is dbps.
3. From the main menu, choose Configure > Port.
4. From the Port configuration screen, set the Device type to Printer, adjust other serial port communication
parameters as required by the connected device, and then choose Submit.
5. Choose Advanced, check Binary Mode and then choose Submit.
Procedure for Configuring Outbound Socket Communication
1. Access the web interface by entering the Digi One/PortServer TS 2/4 IP address in a browsers URL window.
2. Log in to the Digi One/PortServer TS 2/4 as root. The default password is dbps.