summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/ppp/ppp-2.4.5/pap
diff options
context:
space:
mode:
authorRoy.Li <rongqing.li@windriver.com>2013-06-07 10:43:48 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-06-11 15:38:01 +0100
commitb4ad8ff0d70d1dc952181da404a5ad6c6d4c8d74 (patch)
tree9ea2e550f98c70f4fe15dd1eb37586cec55ac80c /meta/recipes-connectivity/ppp/ppp-2.4.5/pap
parente486242db83297701803866bea971a2f1a1135fe (diff)
downloadpoky-b4ad8ff0d70d1dc952181da404a5ad6c6d4c8d74.tar.gz
PPP: add default configuration file and fix hard-coded CFLAGS
1. Add three ppp configuration files, make "/etc/init.d/ppp start" be able to work with little change. provider and pap are adopted from Ubuntu. ppp_on_boot is adopted from http://www.wlug.org.nz. 2. Use build system CFLAGS when compiling (From OE-Core rev: 6ab8adf980f90040d3a24dd9c0f12dc04d7aadeb) Signed-off-by: Roy.Li <rongqing.li@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/ppp/ppp-2.4.5/pap')
-rw-r--r--meta/recipes-connectivity/ppp/ppp-2.4.5/pap22
1 files changed, 22 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/ppp/ppp-2.4.5/pap b/meta/recipes-connectivity/ppp/ppp-2.4.5/pap
new file mode 100644
index 0000000000..093c32607a
--- /dev/null
+++ b/meta/recipes-connectivity/ppp/ppp-2.4.5/pap
@@ -0,0 +1,22 @@
1# You can use this script unmodified to connect to sites which allow
2# authentication via PAP, CHAP and similar protocols.
3# This script can be shared among different pppd peer configurations.
4# To use it, add something like this to your /etc/ppp/peers/ file:
5#
6# connect "/usr/sbin/chat -v -f /etc/chatscripts/pap -T PHONE-NUMBER"
7# user YOUR-USERNAME-IN-PAP-SECRETS
8# noauth
9
10# Uncomment the following line to see the connect speed.
11# It will be logged to stderr or to the file specified with the -r chat option.
12#REPORT CONNECT
13
14ABORT BUSY
15ABORT VOICE
16ABORT "NO CARRIER"
17ABORT "NO DIALTONE"
18ABORT "NO DIAL TONE"
19"" ATZ
20OK ATDT\T
21CONNECT ""
22