Digi LR54 User Manual page 236

Hide thumbs Also See for LR54:
Table of Contents

Advertisement

Serial port
If Automatic, CHAP, or PAP are selected, type the Username and Password used to
authenticate the remote peer.
13. For Metric, set the priority of routes associated with this interface. If there are multiple active
routes that match a destination, then the route with the lowest metric will be used.
14. For Zone, select the firewall zone for this interface. This can be used by packet filtering rules
and access control lists to restrict network traffic on this interface.
15. (Optional) Configure the serial port to use a custom PPP configuration file:
a. Click to expand Custom PPP configuration.
b. Click Enable to enable the use of a custom PPP configuration file.
c. Click Override to override the default PPP configuration and only use the custom
configuration file.
If Override is not enabled, the custom PPP configuration file is used in addition to the
default configuration.
d. For Configuration file, paste or type the configuration data in the format of a pppd
options file.
16. (Optional) Configure a script that will be run to prepare the link before PPP negotiations are
started:
a. Click to expand Connect script.
b. Click Enable to enable the use of a connection script.
c. For Connect script filename, type the name of the script. 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
LR54 User Guide
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
;;
Configure PPP dial-in mode
236

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tx64

Table of Contents