| mvBase
Tech Tip: |
#
mv134 |
| Pertinent
Release(s): |
All |
| Pertinent
Windows O/S: |
All |
How
to setup Auto-Connect on the Digi Network Terminal Server II
This
document is a simple guide as to how set up a port on a Digi
Portserver II Network Terminal Server to auto-connect to a host
using 'telnet'. It also describes how this auto-connection can
take effect, without manual intervention from a terminal
keyboard. Please be aware, that if a disconnect is issued to
the mvBase line using this port from mvBase, then the connection
will terminate. To reconnect the connection, instead
of having to stop and restart the mvBase workstation, manual
intervention is required, in the form of a terminal power reset,
disconnection/reconnection of the cable between the device and
the Digi, or any input from a keyboard connected to the terminal
on this port.
This
is achieved by defining the Digi port type to be an 'Inbound
Modem' even when the device being attached is a Terminal (or
some other DTE-like device) and not a modem (a DCE device).
We
first must set up a user that will be the telnet user name from
the point of view of the telnet server on the host system:
Each
port on the Digi needs to have a user name and user id (UID)
specified for it. These may be unique or they may be all the
same. When connecting to an mvBase Telnet server the UID is
ignored, but the User Name is displayed as the 'client name'.
Now
set the port configuration information:
- Set
port range=2 uid=2 auto=on dest=hostipaddr dport=tcpportno
dev=min
| |
User
name |
-
name that will appear in listlines as the telnet username |
| |
Range |
-
digi port number or range of ports |
| |
Uid |
-
as the digi runs a Unix O/S then it needs a uid, (although
this is ignored) |
| |
Dest |
-
mvTELNET server IP address |
| |
Dport |
-
mvTELNET server tcp/ip port number |
| |
Dev |
-
device type (min = Modem Inbound) |
And
finally the flow control information to allow the DCD signal
from the modem to the Digi to be detected correctly:
- Set
flow range=2 altpin=on
| |
altpin=on |
- swaps DCD and DSR signla lines as DCD does
not normally appear on the 8 pin RJ45. |
Below
is the Recommended Terminal Cabling:
The
recommended cable type is CAT 5 grade 8 wire cable, using RJ45
connectors.
| Signal |
Digi
Portserver II RJ 45 8 Pin |
'Modem'
DB-25 |
Signal |
| Data
Carrier Detect |
1 |
4 |
Request
to Send |
| Request
to Send |
2 |
5 |
Clear
to Send |
| Shield
Ground |
3 |
Shell |
Shield
Ground |
| Transmitted
Data |
4 |
3 |
Received
Data |
| Received
Data |
5 |
2 |
Transmitted
Data |
| Signal
Ground |
6 |
7 |
Signal
Ground |
| Clear
to Send |
7 |
20 |
Data
Terminal Ready |
| Data
Terminal Ready |
8 |
8
(also wire to pin 6) |
Data
Carrier Detect (and Data Set Ready) |
|