summaryrefslogtreecommitdiffstats
path: root/etc/ppp
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1996-03-08 09:39:45 +0000
committerache <ache@FreeBSD.org>1996-03-08 09:39:45 +0000
commita1df29bee2d98c1722253f84f110a38555b0dd7d (patch)
tree5196b103b6b38281e2e20e0292cb39d49fff0d8a /etc/ppp
parent60108c50eda0b8364cdd265fad8bf523a1a4d49f (diff)
downloadFreeBSD-src-a1df29bee2d98c1722253f84f110a38555b0dd7d.zip
FreeBSD-src-a1df29bee2d98c1722253f84f110a38555b0dd7d.tar.gz
Fix several places where interface netmask was in place of route netmask
Fix dialout device name Add multi-phone example
Diffstat (limited to 'etc/ppp')
-rw-r--r--etc/ppp/ppp.conf.sample18
-rw-r--r--etc/ppp/ppp.linkup.sample4
2 files changed, 14 insertions, 8 deletions
diff --git a/etc/ppp/ppp.conf.sample b/etc/ppp/ppp.conf.sample
index c878c03..98a090b 100644
--- a/etc/ppp/ppp.conf.sample
+++ b/etc/ppp/ppp.conf.sample
@@ -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
diff --git a/etc/ppp/ppp.linkup.sample b/etc/ppp/ppp.linkup.sample
index f7eea12..88e7cbe 100644
--- a/etc/ppp/ppp.linkup.sample
+++ b/etc/ppp/ppp.linkup.sample
@@ -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.
OpenPOWER on IntegriCloud