
Chapter 6 – Serial-to-Network Connectivity Using Serial Dial-in
Command Line Interface and Application Examples for Multi-Tech Systems, Inc. IP Modules (S000368F) 86
# set serial s0 auto-dialin-chat enable
# set serial s0 auto-dialin-chat-script 1 "\"SEND PASSWORD\"" "SECRET"
# set serial s0 auto-dialin-chat-script 2 "OK" \"\"
# set serial s0 auto-dialin-delimiter \$
# set serial s0 auto-dialin-prefix "0001"
# set serial s0 stop-bits 1
# set serial s0 baud-rate 115200
# set serial s0 data-bits 8
# set serial s0 parity none
# set serial s0 flow-control rts-cts
# set serial s1 stop-bits 1
# set serial s1 baud-rate 115200
# set serial s1 data-bits 8
# set serial s1 parity none
# set serial s1 flow-control rts-cts
# set serial s1 connect-type modem
# set serial s1 modem dial-number 123
# set serial s1 modem dialing-trig-mode none (See Chapter 4 - Scenario Setup Prerequisites)
# set ppp ppp0 ipcp-mode client-only
# set ppp ppp0 username "IP module"
# set ppp ppp0 password "IP module"
# save
Functionality
After booting, the IP Module initiates a RAW TCP Auto-dial-in session to the configured server, depending on the
configured Auto-dial-in trig mode settings. If chat-script negotiation is enabled, then the data transfer starts only after
successful chat-script negotiation, other wise the data transfer starts right after the connection establishment. Data
from network to serial gets transferred as it is without any modification. Data from serial to network gets filtered
according to the applied filters , and only the data, not matching any of the filters ,will be sent on to network , the rest
of the data is discarded. If at all a timer is enabled, then even the successful data will be discarded until the
elapsation of the configured amount of time, to maintain a gap of atleast the configured amount of time in between
two successfully sent messages. In chat enabled mode, the data with "auto-dialin-delimiter" will be prefixed with
"auto-dialin-prefix", otherwise the data is sent as it is on to the network.
Notes
• Once the PPP link is up with an IP address, auto dial-in session can be probed.
• Simultaneous multiple Dial-in sessions are not allowed.
• Switching between the Command Prompt and the Dial-in session in RAW mode is not possible.
Kommentare zu diesen Handbüchern