ppp.conf.sample (46103) | ppp.conf.sample (47634) |
---|---|
1################################################################# 2# 3# PPP Sample Configuration File 4# 5# Originally written by Toshiharu OHNO 6# | 1################################################################# 2# 3# PPP Sample Configuration File 4# 5# Originally written by Toshiharu OHNO 6# |
7# $Id: ppp.conf.sample,v 1.3 1999/03/28 00:22:44 brian Exp $ | 7# $Id: ppp.conf.sample,v 1.4 1999/04/27 00:25:22 brian Exp $ |
8# 9################################################################# 10 11# This file is separated into sections. Each section is named with 12# a label starting in column 0 and followed directly by a ``:''. The 13# section continues until the next section. Blank lines and lines 14# beginning with ``#'' are ignored. 15# --- 15 unchanged lines hidden (view full) --- 31 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT \ 32 OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT" 33 34# Client side PPP 35# 36# Although the PPP protocol is a peer to peer protocol, we normally 37# consider the side that initiates the connection as the client and 38# the side that receives the connection as the server. Authentication | 8# 9################################################################# 10 11# This file is separated into sections. Each section is named with 12# a label starting in column 0 and followed directly by a ``:''. The 13# section continues until the next section. Blank lines and lines 14# beginning with ``#'' are ignored. 15# --- 15 unchanged lines hidden (view full) --- 31 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT \ 32 OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT" 33 34# Client side PPP 35# 36# Although the PPP protocol is a peer to peer protocol, we normally 37# consider the side that initiates the connection as the client and 38# the side that receives the connection as the server. Authentication |
39# is required by the server either using a unix-style login proceedure | 39# is required by the server either using a unix-style login procedure |
40# or by demanding PAP or CHAP authentication from the client. 41# 42 43# An on demand example where we have dynamic IP addresses and wish to 44# use a unix-style login script: 45# 46# If the peer assigns us an arbitrary IP (most ISPs do this) and we 47# can't predict what their IP will be either, take a wild guess at --- 28 unchanged lines hidden (view full) --- 76 set phone 1234567 77 set login "ABORT NO\\sCARRIER TIMEOUT 5 ogin:--ogin: ppp word: ppp" 78 set timeout 120 79 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 80 add default HISADDR 81 enable dns 82 83# If you want to use PAP or CHAP instead of using a unix-style login | 40# or by demanding PAP or CHAP authentication from the client. 41# 42 43# An on demand example where we have dynamic IP addresses and wish to 44# use a unix-style login script: 45# 46# If the peer assigns us an arbitrary IP (most ISPs do this) and we 47# can't predict what their IP will be either, take a wild guess at --- 28 unchanged lines hidden (view full) --- 76 set phone 1234567 77 set login "ABORT NO\\sCARRIER TIMEOUT 5 ogin:--ogin: ppp word: ppp" 78 set timeout 120 79 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 80 add default HISADDR 81 enable dns 82 83# If you want to use PAP or CHAP instead of using a unix-style login |
84# proceedure, do the following. Note, the peer suggests whether we | 84# procedure, do the following. Note, the peer suggests whether we |
85# should send PAP or CHAP. By default, we send whatever we're asked for. 86# 87# You *MUST* customise ``MyName'' and ``MyKey'' below. 88# 89PAPorCHAPpmdemand: 90 set phone 1234567 91 set login 92 set authname MyName --- 412 unchanged lines hidden --- | 85# should send PAP or CHAP. By default, we send whatever we're asked for. 86# 87# You *MUST* customise ``MyName'' and ``MyKey'' below. 88# 89PAPorCHAPpmdemand: 90 set phone 1234567 91 set login 92 set authname MyName --- 412 unchanged lines hidden --- |