mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-26 16:18:31 +00:00
Update direct-* example to reflect LQR on both sides.
Fix bogus loopback route. This example shows LQR working on both sides of the loop.
This commit is contained in:
parent
601f8fe9fb
commit
b44d849854
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=25565
@ -4,7 +4,7 @@
|
|||||||
#
|
#
|
||||||
# Written by Toshiharu OHNO
|
# 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
|
set openmode active
|
||||||
|
|
||||||
# Examples to connect using a null-modem cable from one machine to another.
|
# 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.
|
# The important thing here is to allow the lqr packets on both sides.
|
||||||
# We disable them on the client side and enable them on the server side.
|
# Without them enabled, we can't tell if the line's dropped - there
|
||||||
# Without them enabled on the server side, we can't tell if the line's
|
# should always be carrier on a direct connection.
|
||||||
# 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
|
# Here, the server sends lqr's every 10 seconds and quits if three in a
|
||||||
# row fail.
|
# row fail.
|
||||||
#
|
#
|
||||||
@ -121,19 +120,17 @@ direct-client:
|
|||||||
set dial ""
|
set dial ""
|
||||||
set line /dev/cuaa0
|
set line /dev/cuaa0
|
||||||
set sp 115200
|
set sp 115200
|
||||||
disable lqr
|
|
||||||
set timeout 900
|
set timeout 900
|
||||||
set debug Phase
|
set debug Phase Chat LQM
|
||||||
set login "TIMEOUT 5 -\\r-login:-\\r-login: ppp word: ppp HELLO"
|
set login "TIMEOUT 5 -\\r-login:-\\r-login: ppp word: ppp HELLO"
|
||||||
set ifaddr 10.0.4.2 10.0.4.1
|
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:
|
direct-server:
|
||||||
set timeout 900 10 3
|
set timeout 900 10 3
|
||||||
set debug Phase LQM
|
set debug Phase LQM
|
||||||
enable lqr
|
|
||||||
set ifaddr 10.0.4.1 10.0.4.2
|
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
|
# Example to validate incoming user with CHAP
|
||||||
# Invoke as ``ppp -direct users'' from login script. User's system name
|
# Invoke as ``ppp -direct users'' from login script. User's system name
|
||||||
|
Loading…
Reference in New Issue
Block a user