Serial port Configure PPP dial-in mode
Digi Connect IT® 4 User Guide
234
# Read input from the serial port, one line at a time.
while read -r line; do
case "$line" in
ATDT123)
echo "CONNECT" # instruct the peer to start PPP
exit 0 # start up the local PPP session
;;
AT*)
echo "OK" # passively accept any other AT command
;;
esac
done
17. Click Apply to save the configuration and apply the change.
Command line
1. Select the device in Remote Manager and click Actions > Open Console, or log into the
Connect IT 4 local command line as a user with full Admin access rights.
Depending on your device configuration, you may be presented with an Access selection
menu. Type admin to access the Admin CLI.
2. At the command line, type config to enter configuration mode:
> config
(config)>
3. The serial port is enabled by default. To disable:
(config)> serial port1 enable false
(config)>
4. Set the mode:
(config)> serial port1 mode ppp_dialin
(config)>
5. (Optional) Set a label that will be used when referring to this port.
(config)> serial port1 label label
(config)>
6. Set the baud rate used by the device to which you want to connect:
(config)> serial port1 baudrate rate
(config)>
7. Set the type of flow control used by the device to which you want to connect:
(config)> serial port1 flow value
(config)>