diff options
author | ache <ache@FreeBSD.org> | 1996-03-08 09:39:45 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1996-03-08 09:39:45 +0000 |
commit | a1df29bee2d98c1722253f84f110a38555b0dd7d (patch) | |
tree | 5196b103b6b38281e2e20e0292cb39d49fff0d8a /etc/ppp/ppp.conf.sample | |
parent | 60108c50eda0b8364cdd265fad8bf523a1a4d49f (diff) | |
download | FreeBSD-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/ppp.conf.sample')
-rw-r--r-- | etc/ppp/ppp.conf.sample | 18 |
1 files changed, 12 insertions, 6 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 |