summaryrefslogtreecommitdiffstats
path: root/etc/ppp
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1997-05-08 00:55:42 +0000
committerbrian <brian@FreeBSD.org>1997-05-08 00:55:42 +0000
commit6cbcb88eb891aff59966e4317e1dc42874b20ad4 (patch)
treefcc6fe69e60f5eefeb897f3be52313eddc7b9b67 /etc/ppp
parentfe847bc135896d1420850ca4d10ecfdbd102322f (diff)
downloadFreeBSD-src-6cbcb88eb891aff59966e4317e1dc42874b20ad4.zip
FreeBSD-src-6cbcb88eb891aff59966e4317e1dc42874b20ad4.tar.gz
Update direct-* example to reflect LQR on both sides.
Fix bogus loopback route. This example shows LQR working on both sides of the loop.
Diffstat (limited to 'etc/ppp')
-rw-r--r--etc/ppp/ppp.conf.sample17
1 files changed, 7 insertions, 10 deletions
diff --git a/etc/ppp/ppp.conf.sample b/etc/ppp/ppp.conf.sample
index dd585ae..0567e64 100644
--- a/etc/ppp/ppp.conf.sample
+++ b/etc/ppp/ppp.conf.sample
@@ -4,7 +4,7 @@
#
# Written by Toshiharu OHNO
#
-# $Id: ppp.conf.sample,v 1.10 1997/03/13 21:24:18 brian Exp $
+# $Id: ppp.conf.sample,v 1.11 1997/03/16 00:59:08 jmg Exp $
#
#################################################################
@@ -108,10 +108,9 @@ pmdemand:
set openmode active
# Examples to connect using a null-modem cable from one machine to another.
-# The important thing here is to get the lqr packets going properly.
-# We disable them on the client side and enable them on the server side.
-# Without them enabled on the server side, we can't tell if the line's
-# dropped - there should always be carrier on a direct connection.
+# The important thing here is to allow the lqr packets on both sides.
+# Without them enabled, we can't tell if the line's dropped - there
+# should always be carrier on a direct connection.
# Here, the server sends lqr's every 10 seconds and quits if three in a
# row fail.
#
@@ -121,19 +120,17 @@ direct-client:
set dial ""
set line /dev/cuaa0
set sp 115200
- disable lqr
set timeout 900
- set debug Phase
+ set debug Phase Chat LQM
set login "TIMEOUT 5 -\\r-login:-\\r-login: ppp word: ppp HELLO"
set ifaddr 10.0.4.2 10.0.4.1
- add 10.0.4.2 0 127.0.0.1
+ add 10.0.4.2 255.255.255.255 127.0.0.1
direct-server:
set timeout 900 10 3
set debug Phase LQM
- enable lqr
set ifaddr 10.0.4.1 10.0.4.2
- add 10.0.4.1 0 127.0.0.1
+ add 10.0.4.1 255.255.255.255 127.0.0.1
# Example to validate incoming user with CHAP
# Invoke as ``ppp -direct users'' from login script. User's system name
OpenPOWER on IntegriCloud