Serial Tunnel between CoBos device server and an MSS

How do I set up a serial tunnel between a CoBos device server such as a UDS, CoBox, XPort, xPico, SDS or XPress-DR and an MSS?


Before we can setup the serial tunnel we need to determine which of the units is going to initiate or start the TCP socket connection. We will call this unit the master. The other unit, which will accept the incoming TCP socket connection will be the slave.

To have a reliable serial tunnel we need to assign both units a static (fixed) IP-address. Both IP-addresses should be part of the same IP-range. In this example we will assign the following IP-addresses:

UDS1100: 192.168.1.92/255.255.255.0 with local port number 10001.
MSS4: 192.168.1.93/255.255.255.0

Also the serial setting on both device servers must match.

Click on any of the thumbnails below to display the graphic full-size in a separate window


Situation 1: MSS4 = Master and UDS = Slave

Image

In this case the MSS4 will setup the connection and the UDS will listen:

MSS4 setup:

  1. Open a java-enabled webbrowser and enter the IP-address of the MSS4.
  2. Select Port Properties
  3. Enter Username and Password (default: root/system).
  4. Select the port that you want to use for the serial tunnel.
  5. Enable Autostart with No Characters
  6. Enter in the Dedicated Host/IPaddress field the IP-address and local port number of the slave 192.168.1.93:10001
  7. Select Update Port Settings

Image

UDS setup:

Leave it to its default settings with the exception of its IP-address:

Image


Situation 2: UDS = Master and MSS4 = Slave

Image

In this case the UDS1100 will setup the connection and the MSS4 will listen:

UDS1100 setup:

  1. Open a java-enabled webbrowser and enter the IP-address of the UDS1100.
  2. Click on OK if the Username/Password message pops up.
  3. Select menu option Connection
  4. Select in the Active Connect field option With Any Character or Auto Start
  5. Enter in the Endpoint Configuration fields the following:
    1. RemotePort: 3001 (Port1)
    2. Remote Host: 192.168.1.93
  6. Click on OK button
  7. Click on Apply Settings

Image

MSS4 setup:

Leave it to its default settings with the exception of its IP-address.

Image



[Originally Published On: 10/27/2005 04:40 PM]