Loopback Testing on Device or Terminal Servers Using Connect
1. Plug the RJ-45 loopback plug into the serial port to be tested. A loopback plug is shipped with every Digi product.
2. From the Windows CMD or a Unix/Linux "root" prompt, telnet to the IP address of the Digi device server.
An example is: telnet 220.127.116.11
Login as root (the default password is dbps).
3. From the command prompt set the port to a printer device type. We will use port 1 in our example:
set port dev=prn range=1
4. Enter connect 1 (one) to connect to the first serial port.
The following message appears:
Set escape character to ^[
5. Start typing characters on your keyboard. The characters you type should display on your PC monitor (once). If you remove the loopback plug from the port and type data on the connect session, you should not see any data on your screen.
Repeat this test if you have other ports to test. To disconnect from the port, type: Ctrl-[ . (Control right square bracket, followed by a period), then [Enter].
Alternatively, this can be tested using a TCP socket by issuing the following command from either the DOS/Unix prompt or the Digi unit command prompt:
telnet (IP_of_Digi_unit) 20##
Where 20## represents the default TCP port number. For port number 1 use 2001, for port number 2 use 2002, port 16 would be 2016, etc... Any data typed in the telnet session will be echoed on the screen. To disconnect from telnet, issue <Ctrl>-] and type quit at the telnet prompt.
Note: If the Digi device has serial DIP switches (i.e. an MEI model), they must be configured for RS-232 or RS-422. The bundled loopback plug will not work if the DIP switches are configured for RS-485.