diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2001-08-16 20:42:09 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2001-08-16 20:42:09 +0000 |
commit | 2f1b9304ac4ba89a2dcb6047cb584a5603a33987 (patch) | |
tree | f2339e3f2230b73ee4818d55d4154795e712d803 /cpukit/pppd/example/ppp.conf | |
parent | 2001-08-16 Mike Siers <mikes@poliac.com> (diff) | |
download | rtems-2f1b9304ac4ba89a2dcb6047cb584a5603a33987.tar.bz2 |
2001-08-16 Mike Siers <mikes@poliac.com>
* Update of PPPD to 2.3.11 from 2.3.5 and addition of an example
application. Mike's notes on the modifications:
- renamed error() function because of namespace problems
- removed calls to the exit() funciton
- removed extra files from the pppd source directory
- defined pppd task constant values in rtemspppd.h
- modifyied example code to get actual tick per second value
- placed the pppd 2.3.11 man page file (pppd.8) into the pppd
directory
* pppd/cbcp.c, pppd/cbcp.h, pppd/main.c, pppd/ppp_tty.c,
pppd/pppmain.c, pppd/rtems-ppp.c, pppd/rtems-ppp.c: Deleted.
* pppd/pppd.8, pppd/rtemsmain.c, pppd/rtemspppd.c, pppd/rtemspppd.h,
pppd/sys-rtems.c, pppd/utils.c, pppd/example/Makefile,
pppd/example/README, pppd/example/init.c, pppd/example/netconfig.h,
pppd/example/ppp.conf, pppd/example/pppdapp.c, pppd/example/system.h:
New files.
* modem/ppp_tty.c, net/if_ppp.h, pppd/Makefile.am, pppd/README,
pppd/STATUS, pppd/auth.c, pppd/ccp.c, pppd/ccp.h, pppd/chap.c,
pppd/chap.h, pppd/chap_ms.c, pppd/chap_ms.h, pppd/chat.c,
pppd/demand.c, pppd/fsm.c, pppd/fsm.h, pppd/ipcp.c, pppd/ipcp.h,
pppd/ipxcp.c, pppd/ipxcp.h, pppd/lcp.c, pppd/lcp.h, pppd/magic.c,
pppd/magic.h, pppd/options.c, pppd/patchlevel.h,
pppd/pathnames.h, pppd/pppd.h, pppd/upap.c, pppd/upap.h: Modified.
Diffstat (limited to 'cpukit/pppd/example/ppp.conf')
-rw-r--r-- | cpukit/pppd/example/ppp.conf | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/cpukit/pppd/example/ppp.conf b/cpukit/pppd/example/ppp.conf new file mode 100644 index 0000000000..094b1946a8 --- /dev/null +++ b/cpukit/pppd/example/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 |