summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1997-11-18 19:21:47 +0000
committerbrian <brian@FreeBSD.org>1997-11-18 19:21:47 +0000
commitf4b1f058021510e6f6aab166c1756480544128b0 (patch)
treecb5d73bbef30a9b1f49ee73b4368339cd69ecb99 /etc
parenta8bf32410892165429f0391cd25b335e45d0784e (diff)
downloadFreeBSD-src-f4b1f058021510e6f6aab166c1756480544128b0.zip
FreeBSD-src-f4b1f058021510e6f6aab166c1756480544128b0.tar.gz
Add the ``loop'' example to the right file (oops).
Diffstat (limited to 'etc')
-rw-r--r--etc/ppp/ppp.conf.sample27
-rw-r--r--etc/ppp/ppp.linkup.sample27
2 files changed, 27 insertions, 27 deletions
diff --git a/etc/ppp/ppp.conf.sample b/etc/ppp/ppp.conf.sample
index 3466d6f..379a85f 100644
--- a/etc/ppp/ppp.conf.sample
+++ b/etc/ppp/ppp.conf.sample
@@ -4,7 +4,7 @@
#
# Originally written by Toshiharu OHNO
#
-# $Id: ppp.conf.sample,v 1.23 1997/11/10 21:27:36 brian Exp $
+# $Id: ppp.conf.sample,v 1.24 1997/11/12 00:52:16 brian Exp $
#
#################################################################
@@ -288,3 +288,28 @@ tcp-client:
tcp-server:
set escape 0xff
set ifaddr 10.0.4.1 10.0.5.1 255.255.255.0
+
+# If you want to test ppp, do it through a loopback:
+#
+# Requires a line in /etc/services:
+# ppploop 6671/tcp # loopback ppp daemon
+#
+# and a line in /etc/inetd.conf:
+# ppploop stream tcp nowait root /usr/sbin/ppp ppp -direct loop-in
+#
+loop:
+ set timeout 0
+ set log phase chat connect lcp ipcp command
+ set device localhost:ppploop
+ set dial
+ set login
+ set escape 0xff
+ set ifaddr 127.0.0.2 127.0.0.3
+ set openmode passive
+ set server /tmp/loop ""
+
+loop-in:
+ set timeout 0
+ set log phase chat connect lcp ipcp command
+ set escape 0xff
+ allow mode direct
diff --git a/etc/ppp/ppp.linkup.sample b/etc/ppp/ppp.linkup.sample
index ce584dc..b3e4f63 100644
--- a/etc/ppp/ppp.linkup.sample
+++ b/etc/ppp/ppp.linkup.sample
@@ -12,7 +12,7 @@
# 3) If no label has been found, use MYADDR if it exists.
#
#
-# $Id: ppp.linkup.sample,v 1.11 1997/11/08 20:58:41 brian Exp $
+# $Id: ppp.linkup.sample,v 1.12 1997/11/18 18:59:57 brian Exp $
#
#########################################################################
@@ -53,28 +53,3 @@ pmdemand:
#
min5minutes:
!bg sh -c "sleep 240; pppctl -p mypassword 3000 set timeout 60"
-
-# If you want to test ppp, do it through a loopback:
-#
-# Requires a line in /etc/services:
-# ppploop 6671/tcp # loopback ppp daemon
-#
-# and a line in /etc/inetd.conf:
-# ppploop stream tcp nowait root /usr/sbin/ppp ppp -direct loop-in
-#
-loop:
- set timeout 0
- set log phase chat connect lcp ipcp command
- set device localhost:ppploop
- set dial
- set login
- set escape 0xff
- set ifaddr 127.0.0.2 127.0.0.3
- set openmode passive
- set server /tmp/loop ""
-
-loop-in:
- set timeout 0
- set log phase chat connect lcp ipcp command
- set escape 0xff
- allow mode direct
OpenPOWER on IntegriCloud