Deleted Added
full compact
ppp.conf.sample (77171) ppp.conf.sample (79086)
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# $FreeBSD: head/share/examples/ppp/ppp.conf.sample 77171 2001-05-25 12:11:02Z brian $
7# $FreeBSD: head/share/examples/ppp/ppp.conf.sample 79086 2001-07-02 12:23:28Z brian $
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 label. Blank lines and characters
14# after a ``#'' are ignored (a literal ``#'' must be escaped with a ``\''
15# or quoted with ""). All commands inside sections that do not begin
16# with ``!'' (e.g., ``!include'') *must* be indented by at least one
17# space or tab or they will not be recognized!
18#
19# Lines beginning with "!include" will ``include'' another file. You
20# may want to ``!include ~/.ppp.conf'' for backwards compatibility.
21#
22
23# Default setup. Always executed when PPP is invoked.
24# This section is *not* pre-loaded by the ``load'' or ``dial'' commands.
25#
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 label. Blank lines and characters
14# after a ``#'' are ignored (a literal ``#'' must be escaped with a ``\''
15# or quoted with ""). All commands inside sections that do not begin
16# with ``!'' (e.g., ``!include'') *must* be indented by at least one
17# space or tab or they will not be recognized!
18#
19# Lines beginning with "!include" will ``include'' another file. You
20# may want to ``!include ~/.ppp.conf'' for backwards compatibility.
21#
22
23# Default setup. Always executed when PPP is invoked.
24# This section is *not* pre-loaded by the ``load'' or ``dial'' commands.
25#
26# This is the best place to specify your modem device, it's DTR rate,
26# This is the best place to specify your modem device, its DTR rate,
27# your dial script and any logging specification. Logging specs should
28# be done first so that the results of subsequent commands are logged.
29#
30default:
31 set log Phase Chat LCP IPCP CCP tun command
32 set device /dev/cuaa1
33 set speed 115200
34 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT \

--- 15 unchanged lines hidden (view full) ---

50# can't predict what their IP will be either, take a wild guess at
51# some IPs that you can't currently route to. Ppp can change this
52# when the link comes up.
53#
54# The /0 bit in "set ifaddr" says that we insist on 0 bits of the
55# specified IP actually being correct, therefore, the other side can assign
56# any IP number.
57#
27# your dial script and any logging specification. Logging specs should
28# be done first so that the results of subsequent commands are logged.
29#
30default:
31 set log Phase Chat LCP IPCP CCP tun command
32 set device /dev/cuaa1
33 set speed 115200
34 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT \

--- 15 unchanged lines hidden (view full) ---

50# can't predict what their IP will be either, take a wild guess at
51# some IPs that you can't currently route to. Ppp can change this
52# when the link comes up.
53#
54# The /0 bit in "set ifaddr" says that we insist on 0 bits of the
55# specified IP actually being correct, therefore, the other side can assign
56# any IP number.
57#
58# The forth arg to "set ifaddr" makes us send "0.0.0.0" as our requested
58# The fourth arg to "set ifaddr" makes us send "0.0.0.0" as our requested
59# IP number, forcing the peer to make the decision. This is necessary
60# when negotiating with some (broken) ppp implementations.
61#
62# This entry also works with static IP numbers or when not in -auto mode.
63# The ``add'' line adds a `sticky' default route that will be updated if
64# and when any of the IP numbers are changed in IPCP negotiations.
65# The "set ifaddr" is required in -auto mode only.
66# It's better to put the ``add'' line in ppp.linkup when not in -auto mode.

--- 353 unchanged lines hidden (view full) ---

420#
421# If you wish to allow any user in the passwd database ppp access, you
422# can ``enable passwdauth'', but this will only work with PAP.
423#
424# When the peer authenticates itself, we use ppp.secret for verification
425# (although refer to the ``set radius'' command below for an alternative).
426#
427# Note: We may supply a third field in ppp.secret specifying the IP
59# IP number, forcing the peer to make the decision. This is necessary
60# when negotiating with some (broken) ppp implementations.
61#
62# This entry also works with static IP numbers or when not in -auto mode.
63# The ``add'' line adds a `sticky' default route that will be updated if
64# and when any of the IP numbers are changed in IPCP negotiations.
65# The "set ifaddr" is required in -auto mode only.
66# It's better to put the ``add'' line in ppp.linkup when not in -auto mode.

--- 353 unchanged lines hidden (view full) ---

420#
421# If you wish to allow any user in the passwd database ppp access, you
422# can ``enable passwdauth'', but this will only work with PAP.
423#
424# When the peer authenticates itself, we use ppp.secret for verification
425# (although refer to the ``set radius'' command below for an alternative).
426#
427# Note: We may supply a third field in ppp.secret specifying the IP
428# address for that user, a forth field to specify the
428# address for that user, a fourth field to specify the
429# ppp.link{up,down} label to use and a fifth field to specify
430# callback characteristics.
431#
432# The easiest way to allow transparent LAN access to your dialin users
433# is to assign them a number from your local LAN and tell ppp to make a
434# ``proxy'' arp entry for them. In this example, we have a local LAN
435# with IP numbers 10.0.0.1 - 10.0.0.99, and we assign numbers to our
436# ppp clients between 10.0.0.100 and 10.0.0.199. It is possible to

--- 323 unchanged lines hidden ---
429# ppp.link{up,down} label to use and a fifth field to specify
430# callback characteristics.
431#
432# The easiest way to allow transparent LAN access to your dialin users
433# is to assign them a number from your local LAN and tell ppp to make a
434# ``proxy'' arp entry for them. In this example, we have a local LAN
435# with IP numbers 10.0.0.1 - 10.0.0.99, and we assign numbers to our
436# ppp clients between 10.0.0.100 and 10.0.0.199. It is possible to

--- 323 unchanged lines hidden ---