EasyManuals Logo
Home>Digi>Server>Connect EZ Mini

Digi Connect EZ Mini User Manual

Digi Connect EZ Mini
774 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #130 background imageLoading...
Page #130 background image
Serial port Configure PPP dial-in mode
Digi Connect EZ Mini User Guide
130
a. Enable the use of a connection script.
(config)> serial port1 ppp_dialin connect enable true
(config)>
b. Set the name of the script:
(config)> serial port1 ppp_dialin connect script filename
(config)>
Scripts are located in the /etc/config/serial directory. An example script, windows_dun.sh
is provided.
Example windows_dun.sh file:
#!/bin/sh
# Example connect script for connecting from a PC using a Windows dial-
up
# networking connection with built-in standard 33600 bps modem driver
and phone
# number 123.
# The shell's 'read' builtin breaks on newline, so translate incoming
carriage-
# return to newline, and outgoing newline to carriage-return-newline.
stty icrnl onlcr opost
# 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. Save the configuration and apply the change:
(config)> save
Configuration saved.
>
18. Type exit to exit the Admin CLI.
Depending on your device configuration, you may be presented with an Access selection
menu. Type quit to disconnect from the device.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Digi Connect EZ Mini and is the answer not in the manual?

Digi Connect EZ Mini Specifications

General IconGeneral
BrandDigi
ModelConnect EZ Mini
CategoryServer
LanguageEnglish

Related product manuals