Commit Graph

54 Commits

Author SHA1 Message Date
Crist J. Clark
7fc6e2f775 Put a complete set of pppd(8) sample configuration files in
/usr/share/examples/pppd.

Remove the out-of-place pppd(8) configuration files in etc/ppp,
ppp.shells.sample and ppp.deny.

Make the appropriate changes to the build process, etc/Makefile and
etc/mtree/BSD.usr.mtree, so it all works.
2002-01-29 01:10:47 +00:00
Brian Somers
b720900890 Move the interface address setting and default route setting out of
the default section and into the papchap section.

It's really irritating when you run ppp with no arguments and end up
blowing away your default route !
2001-06-21 15:42:26 +00:00
Brian Somers
98d7002b19 Change the 120 second timeout to 180 seconds to reflect the real default 2001-02-22 23:28:12 +00:00
Kris Kennaway
83ac420321 120 seconds is not 3 minutes 2001-02-18 02:11:37 +00:00
Kris Kennaway
8502f3408c Correct typo 2000-11-19 13:09:36 +00:00
Brian Somers
a964c82566 Add a default ident string and do some minor whitespace adjustments 2000-07-19 10:16:29 +00:00
Brian Somers
15ed7d0b16 Add various system usernames (even though I try to avoid pppd!!!)
PR:		19717
Submitted by:	Tony Finch <dot@dotat.at>
2000-07-06 19:05:43 +00:00
Brian Somers
ec6f2e3c51 Add some comments and wrap the dial line nicely 2000-06-08 08:58:03 +00:00
Kris Kennaway
d5865fe838 Add /bin/tcsh for completeness
Submitted by:	knu
2000-05-14 10:21:18 +00:00
Peter Wemm
9b7a44a60e $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
Brian Somers
51f80ae148 Add a default ppp.conf (mode 600).
Originally submitted by: Wayne Self <wself@cdrom.com>

Allow a ppp startup option in rc.conf.

Adjust sysinstall so that it appends to the end of ppp.conf
and uses the generated profile to start ppp in auto mode on
boot.

Submitted by: Josef L. Karthauser <joe@uk.FreeBSD.org>
1999-07-26 10:49:37 +00:00
Brian Somers
2e92443c15 Add /usr/share/examples/ppp directory
Don't install /etc/ppp/ppp.*.example
Remove ppp/ppp.{conf,linkup,linkdown,secret}.sample
1999-02-11 16:30:56 +00:00
Brian Somers
d7264d6e3a Suggest using ``iface clear'' under certain circumstances
in ppp.linkdown.
1998-11-05 23:14:19 +00:00
Brian Somers
8842b72734 Show how to create a secure (ssh) VPN 1998-10-03 13:12:14 +00:00
Brian Somers
e318783765 Add a compuserve example.
Detailed by: Masahiro Sekiguchi <seki@sysrap.cs.fujitsu.co.jp>
1998-09-06 13:55:51 +00:00
Brian Somers
a19eda1f28 Add Id keywords 1998-09-02 01:34:57 +00:00
Brian Somers
30a972f7e3 Show some examples on how to configure callback & CBCP.
Show examples of the (new) fifth field in ppp.secret.
1998-08-07 18:44:31 +00:00
Brian Somers
ae325aeaae Remove redundant comments. 1998-07-18 15:34:39 +00:00
Brian Somers
6cb0199d23 MFMP: Make ppp multilink capable. 1998-05-21 21:45:49 +00:00
Daniel O'Callaghan
2b96268f45 Correct spelling. 1998-04-02 09:28:09 +00:00
Brian Somers
32865140bc Suggest using /var/tmp for local domain `diagnostic' sockets,
rather than making a new directory.  Also, suggest 0600
permissions (mask: 0177).

Dangers noted by: Theo de Raadt <deraadt@cvs.openbsd.org>
1997-12-31 03:58:45 +00:00
Brian Somers
00c5ae6b03 Don't suggest creating sockets in /var/run as we create
sockets as our original uid.  Suggest creating /var/ppp
with perms 1777 instead.

Pointed out by: Masafumi NAKANE <max@wide.ad.jp>
1997-12-30 23:34:35 +00:00
Brian Somers
313572f3e3 Allow (and document) execution of commands from within
our chat script.
You can now even run chat(8) - see ppp.conf.sample.
1997-12-27 07:22:12 +00:00
Brian Somers
0346113c71 Add the ``loop'' example to the right file (oops). 1997-11-18 19:21:47 +00:00
Brian Somers
37fc102209 Add a loopback example. 1997-11-18 18:59:57 +00:00
Brian Somers
bfc6401f6f Some "allow" examples. 1997-11-12 00:52:16 +00:00
Brian Somers
38dc1ef458 Mention IP address label in ppp.linkup.
Add an "examples:" label so that people don't
inadvertently get all the examples with the
"ondemand" label.
1997-11-10 21:27:36 +00:00
Brian Somers
10f2eeb1d5 Suggest that a ``!include ~/.ppp.conf'' may be in order. 1997-11-09 17:54:27 +00:00
Brian Somers
c3b056645f Merge ppp configuration examples.
Add some useful bits & pieces.
1997-11-08 20:58:41 +00:00
Brian Somers
16d4f6d1c0 Mention how to keep the line for a minimum call charge.
Suggested by: Stuart Henderson <stuart@internationalschool.co.uk>
1997-11-07 20:44:12 +00:00
Brian Somers
1637abebb9 Add "delete 0" before "add 0 0..."
Suggested by:
1997-09-21 02:10:41 +00:00
Brian Somers
8f6f98a50b Correct and explain the PAP/CHAP examples. 1997-09-10 00:52:30 +00:00
Brian Somers
dc557d030d Don't add loopback routes in the examples. Ppp
now does this internally by default.
1997-09-08 20:22:39 +00:00
Brian Somers
eba904ef6c Update samples for the changed LQR default. 1997-09-07 01:04:02 +00:00
Brian Somers
85a3d7d441 Fix the bogus routes I introduced in the last commit. 1997-09-01 22:21:18 +00:00
Brian Somers
9f81e05855 Add examples of "!bg", "add 0 0 HISADDR" in ppp.conf
and how to do ppp over tcp/ip.
1997-08-25 01:07:08 +00:00
Brian Somers
e1775301d2 Use "set log", not "set debug".
Grammar police.
1997-06-10 10:04:20 +00:00
Brian Somers
a6568db197 Bring pmdemand example in line with handbook and man
page examples.
1997-05-12 14:07:14 +00:00
Brian Somers
22c094029f Don't use HISADDR in ppp.conf examples as it's not
set up properly 'till ppp.linkup is parsed.

PR:		3114
Submitted by:	Kenneth R. Westerback <krw@tcn.net>
1997-05-08 01:45:59 +00:00
Brian Somers
b44d849854 Update direct-* example to reflect LQR on both sides.
Fix bogus loopback route.

This example shows LQR working on both sides of the loop.
1997-05-08 00:55:42 +00:00
Daniel O'Callaghan
ef0e77e33a Suggested by: David Nugent
Change the name of ppp.disabled to ppp.deny for consistency with
at.deny and friends.
1997-04-16 02:10:22 +00:00
Daniel O'Callaghan
648cce8fd5 List of users who may not use pppd in system password logins, and a
sample list of acceptable shells.
1997-04-15 07:15:15 +00:00
John-Mark Gurney
079be9b76f fix a misspelling of demand...
Submitted-by: Takashi Saeki

Closes PR#2989
1997-03-16 00:59:08 +00:00
Brian Somers
2b672ee9f5 Add examples for a direct serial connection using lqr
Candidate for 2.2.
1997-03-13 21:24:18 +00:00
Brian Somers
3dcdd58733 Make the sample config files more understandable, correcting various
bits of grammar.
Added a decent pmdemand example for dynamic IPs on both sides.
Could this be a 2.2 candidate ?
1997-02-23 14:04:23 +00:00
Peter Wemm
79403fe300 Revert $FreeBSD$ to $Id$ 1997-02-23 09:21:14 +00:00
Jordan K. Hubbard
1130b656e5 Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
Paul Richards
9c57aa7fca Added ocol: ppp to the first two examples so that ppp catually requests
the ppp protocol when it logs in. I'm not sure whether this applies to all
the examples. Are there cases where the ISP assumes ppp is being used ?
1996-11-11 17:27:25 +00:00
Jordan K. Hubbard
fddb6f46b4 Clean up the example files by giving them a unified set of names (which
I don't like, finding them rather redundantly named, but I'm just going
with the flow here).
1996-10-18 03:45:19 +00:00
Andrey A. Chernov
6a076cdd9a Fix several places where interface netmask was in place of route netmask
Fix dialout device name
Add multi-phone example
1996-03-08 09:39:45 +00:00