summaryrefslogtreecommitdiffstats
path: root/c/src/tests/samples/pppd/ppp.conf
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2003-04-29 02:04:26 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2003-04-29 02:04:26 +0000
commit478bb1e63d1ddecd7579a0628f3f54cc4f5afa7f (patch)
tree4ee5bb16317d68971808b4758b796cfc53338395 /c/src/tests/samples/pppd/ppp.conf
parent2003-04-18 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-478bb1e63d1ddecd7579a0628f3f54cc4f5afa7f.tar.bz2
2003-04-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
Adding pppd: * pppd/Makefile-user: New, copied over from libnetworking/pppd/example. * pppd/README: New, copied over from libnetworking/pppd/example. * pppd/init.c: New, copied over from libnetworking/pppd/example. * pppd/netconfig.h: New, copied over from libnetworking/pppd/example. * pppd/ppp.conf: New, copied over from libnetworking/pppd/example. * pppd/pppdapp.c: New, copied over from libnetworking/pppd/example. * pppd/system.h: New, copied over from libnetworking/pppd/example. * pppd/pppd.options: New, copied over from libnetworking/pppd/example. * pppd/Makefile.am: New, converted to automake from Makefile-user. * pppd/.cvsignore: New.
Diffstat (limited to 'c/src/tests/samples/pppd/ppp.conf')
-rw-r--r--c/src/tests/samples/pppd/ppp.conf27
1 files changed, 27 insertions, 0 deletions
diff --git a/c/src/tests/samples/pppd/ppp.conf b/c/src/tests/samples/pppd/ppp.conf
new file mode 100644
index 0000000000..094b1946a8
--- /dev/null
+++ b/c/src/tests/samples/pppd/ppp.conf
@@ -0,0 +1,27 @@
+
+#
+# Example configuration file for setting up a ppp server
+# using a null-modem serial cable:
+#
+# Tested using ppp on OpenBSD 2.9
+# - just follow instructions in man page for accepting
+# ppp connections over the serial port
+# - if pap and/or chap is enabled, you must have a ppp.secret
+# file which will be used for user authentication
+# - found useful to turn on syslog for ppp
+#
+
+default:
+ set log Phase Chat LQM LCP IPCP CCP command
+ set device /dev/cua00
+ set speed 57600
+ set ctsrts on
+ set dial ""
+
+openbsd-server:
+ set timeout 0
+ set ifaddr 192.168.2.100 192.168.2.123
+ enable dns
+ allow users
+ enable chap
+ enable pap