aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/ppp/ppp/provider
diff options
context:
space:
mode:
authorHongxu Jia <hongxu.jia@windriver.com>2014-03-03 16:27:30 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-03-05 15:24:05 +0000
commitd05b1d06b5b8b84c2a40639ad28e31cd683f89a4 (patch)
tree11f46091a9ba4313266433a53433370ba912d95c /meta/recipes-connectivity/ppp/ppp/provider
parent3c234df240a11903ef3588a2c078dcbce4ca1719 (diff)
downloadopenembedded-core-d05b1d06b5b8b84c2a40639ad28e31cd683f89a4.tar.gz
ppp: upgrade to 2.4.6
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/ppp/ppp/provider')
-rw-r--r--meta/recipes-connectivity/ppp/ppp/provider35
1 files changed, 35 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/ppp/ppp/provider b/meta/recipes-connectivity/ppp/ppp/provider
new file mode 100644
index 0000000000..e74d71a8eb
--- /dev/null
+++ b/meta/recipes-connectivity/ppp/ppp/provider
@@ -0,0 +1,35 @@
+# example configuration for a dialup connection authenticated with PAP or CHAP
+#
+# This is the default configuration used by pon(1) and poff(1).
+# See the manual page pppd(8) for information on all the options.
+
+# MUST CHANGE: replace myusername@realm with the PPP login name given to
+# your by your provider.
+# There should be a matching entry with the password in /etc/ppp/pap-secrets
+# and/or /etc/ppp/chap-secrets.
+user "myusername@realm"
+
+# MUST CHANGE: replace ******** with the phone number of your provider.
+# The /etc/chatscripts/pap chat script may be modified to change the
+# modem initialization string.
+connect "/usr/sbin/chat -v -f /etc/chatscripts/pap -T ********"
+
+# Serial device to which the modem is connected.
+/dev/modem
+
+# Speed of the serial line.
+115200
+
+# Assumes that your IP address is allocated dynamically by the ISP.
+noipdefault
+# Try to get the name server addresses from the ISP.
+usepeerdns
+# Use this connection as the default route.
+defaultroute
+
+# Makes pppd "dial again" when the connection is lost.
+persist
+
+# Do not ask the remote to authenticate.
+noauth
+