EasyManua.ls Logo

Digi IX10

Digi IX10
996 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
Loading...
Serial port Configure PPP dial-in mode
IX10 User Guide
214
b. Enable override to override the default PPP configuration and only use the custom
configuration file:
(config)> serial port1 ppp_dialin custom override true
(config)>
If override is not enabled, the custom PPP configuration file is used in addition to the
default configuration.
c. Paste or type the configuration data in the format of a pppd options file:
(config)> serial port1 ppp_dialin custom config_file data
(config)>
where data are one or more pppd command line options. Because the options are passed
directly to the pppd command line, they should all be entered on a single line. For
example:
(config)> serial port1 ppp_dialin custom config_file "debug lcp-echo-
interval 10 lcp-echo-failure 2"
(config)>
15. (Optional) Configure a script that will be run to prepare the link before PPP negotiations are
started:
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.

Table of Contents

Related product manuals