Scenario 1 – manual serial dial-in – N-Tron 102PC-SE User Manual

Page 33

Advertising
background image

(Revised 2010-11-15)

33

Scenario 1 – Manual Serial Dial-in


Login in to the Command prompt from the serial side.

Invoke # telnet <ip-address> <port> at the command prompt. Once the session is opened successfully, there can be two-way traffic
between the serial device and the remote server.

You can switch from Command Prompt to Dial-in session using restore session command.

You can switch from Dial-in session to Command Prompt using <escape-monitor-string>.
























Manual Dial-in Feature Through the Command Shell


Commands to Setup Manual Dial-In with the 102PC-SE

# set ip eth0 dhcp-client disable
# set ip eth0 ip-address 192.168.2.1
# set serial s0 baud-rate 115200
# set serial s0 data-bits 8
# set serial s0 parity none
# set serial s0 stop-bits 1
# set serial s0 flow-control rts-cts
# save

Once the above configuration is saved on the 102PC-SE, login to the 102PC-SE through the serial port. At the command shell invoke:

# telnet 192.168.2.10 23

The telnet client on board in the 102PC-SE establishes a virtual serial tunnel between the serial device and the Telnet Server.

Notes:
1.

You can not open more than one dial-in session.

2.

The dial-in session is closed when the telnet session is closed.

3.

When escape-monitor is enabled, care should be taken during file transfer that the escapemonitor-

ring is not part of the data.
4.
The manual dial-in is supported for Telnet ONLY and not for UDP.

Advertising