Fix several places where interface netmask was in place of route netmask

Fix dialout device name
Add multi-phone example
This commit is contained in:
Andrey A. Chernov 1996-03-08 09:39:45 +00:00
parent 1dff3fc565
commit 6a076cdd9a
2 changed files with 14 additions and 8 deletions

View File

@ -4,14 +4,14 @@
#
# Written by Toshiharu OHNO
#
# $Id: ppp.conf.sample,v 1.3 1995/04/22 17:14:21 amurai Exp $
# $Id: ppp.conf.sample,v 1.4 1996/01/31 15:03:05 mpp Exp $
#
#################################################################
#
# Default setup. Executed always when PPP is invoked.
#
default:
set device /dev/cua01
set device /dev/cuaa1
set speed 38400
disable lqr
deny lqr
@ -36,6 +36,12 @@ simplesite:
set login "TIMEOUT 5 login:-\\r-login: ppp word: ppp"
set timeout 120
#
# Multi-phone example
#
multiphone:
set phone 12345678:12345679:12345670:12345671
set login "TIMEOUT 5 login:-\\r-login: ppp word: ppp"
#
# If peer requires to use CHAP, don't forget to supply authname and authkey.
#
# If you'd like to use CHAP to authentication peer, comment out the line
@ -76,8 +82,8 @@ ondemand:
set phone 1234567
set login "TIMEOUT 5 login:-\\r-login: ppp word: ppp"
set timeout 120
set ifaddr 192.244.185.226 192.244.176.44
add 0 255.255.255.0 192.244.176.44
set ifaddr 192.244.185.226 192.244.176.44 255.255.255.0
add 0 0 192.244.176.44
#
# Another on demand example
# If peer assign some IP address for us, and we can't predict it
@ -87,8 +93,8 @@ pmdemend:
set phone 1234567
set login "TIMEOUT 5 login:-\\r-login: ppp word: ppp"
set timeout 120
set ifaddr 0 192.244.176.44
add 0 255.255.255.0 192.244.176.44
set ifaddr 0 192.244.176.44 255.255.255.0
add 0 0 192.244.176.44
#
# Example to validate incoming user with CHAP
# Invod as ``ppp -direct users'' from login script. User's system name

View File

@ -14,7 +14,7 @@
#
# 3) If given label name is not found, then label MYADDR is searched.
#
# $Id: ppp.linkup.sample,v 1.1.1.1 1995/01/31 06:24:33 amurai Exp $
# $Id: ppp.linkup.sample,v 1.2 1996/01/31 15:03:06 mpp Exp $
#
#########################################################################
#
@ -22,7 +22,7 @@
# to 192.244.176.0 network.
#
#192.244.176.32:
# add 192.244.176.0 255.255.255.0 HISADDR
# add 192.244.176.0 0 HISADDR
#
# If we are invoked with an argument ``iij-demand'', then
# delete existing route entry and add peer as default gateway.