diff options
author | brian <brian@cvs.openbsd.org> | 1999-06-08 11:58:47 +0000 |
---|---|---|
committer | brian <brian@cvs.openbsd.org> | 1999-06-08 11:58:47 +0000 |
commit | 5c1dec9826c0993ebd71372931533d665212669d (patch) | |
tree | 3b6d84b1f6622ad67660ecdbb5e39018a1d251f5 | |
parent | afc3c82e5110063087dd09b7b593b04c2833d6bd (diff) |
Make the ``load'', ``dial'' and ``open'' commands a big clearer.
Requested by: Michael Heitmeier <MICHAEL_HEITMEIER@HP-Germany-om12.om.hp.com>
-rw-r--r-- | usr.sbin/ppp/ppp/ppp.8 | 76 |
1 files changed, 50 insertions, 26 deletions
diff --git a/usr.sbin/ppp/ppp/ppp.8 b/usr.sbin/ppp/ppp/ppp.8 index 374a4ec92cb..f42d9b642ee 100644 --- a/usr.sbin/ppp/ppp/ppp.8 +++ b/usr.sbin/ppp/ppp/ppp.8 @@ -1,4 +1,4 @@ -.\" $Id: ppp.8,v 1.47 1999/06/05 22:17:51 aaron Exp $ +.\" $Id: ppp.8,v 1.48 1999/06/08 11:58:46 brian Exp $ .Dd 20 September 1995 .nr XX \w'\fC00' .Os @@ -274,7 +274,7 @@ will bring the link back up any time it's dropped for any reason. This is a no-op, and gives the same behaviour as if none of the above flags have been specified. .Nm -loads any systems specified on the command line then provides an +loads any sections specified on the command line then provides an interactive prompt. .It Fl alias This flag doesn't control @@ -296,11 +296,9 @@ LAN. Refer to for details. .El .Pp -Additionally, one or more systems may be specified on the command line. -A -.Sq system -is a configuration entry in -.Pa /etc/ppp/ppp.conf . +Additionally, one or more configuration entries +.Pq as specified in Pa /etc/ppp/ppp.conf +may be specified on the command line. .Nm will read the .Dq default @@ -701,9 +699,28 @@ load a section from the .Pa /etc/ppp/ppp.conf file: .Bd -literal -offset indent -PPP ON awfulhak> load MyISP +ppp ON awfulhak> load MyISP .Ed .Pp +Note, no action is taken by +.Nm +after a section is loaded, whether it's the result of passing a label on +the command line or using the +.Dq load +command. Only the commands specified for that label in the configuration +file are executed. However, when invoking +.Nm +with the +.Fl background , +.Fl ddial , +or +.Fl dedicated +switches, the link mode tells +.Nm +to establish a connection. Refer to the +.Dq set mode +command below for further details. +.Pp Once the connection is made, the .Sq ppp portion of the prompt will change to @@ -3005,14 +3022,14 @@ command is used .Pq note the trailing Dq \&! , .Nm will not complain if the route does not already exist. -.It dial|call Op Ar label -When used with no argument, this command is the same as the -.Dq open -command. When one or more -.Ar label -is specified, a -.Dq load -will be done first. +.It dial|call Op Ar label Ns Xo +.No ... +.Xc +This command is the equivalent of +.Dq load label +followed by +.Dq open , +and is provided for backwards compatibility. .It down Op Ar lcp|ccp Bring the relevant layer down ungracefully, as if the underlying layer had become unavailable. It's not considered polite to use this command on @@ -3135,7 +3152,7 @@ is executed on all links. .No ... .Xc Load the given -.Ar label(s) +.Ar label Ns No (s) from the .Pa ppp.conf file. If @@ -3143,22 +3160,29 @@ file. If is not given, the .Ar default label is used. +.Pp +Unless the +.Ar label +section uses the +.Dq set mode , +.Dq open +or +.Dq dial +commands, +.Nm +will not attempt to make an immediate connection. .It open Op lcp|ccp|ipcp This is the opposite of the .Dq close -command. Using -.Dq open -with no arguments is the same as using -.Dq dial -with no arguments, where all closed links are brought up (some auto -links may not come up based on the +command. All closed links are immediately brought up (although some auto +links may not come up depending on what .Dq set autoload -command) using the current configuration. +command has been used). .Pp If the .Dq lcp -while the LCP layer is already open, LCP will be renegotiated. This -allows various LCP options to be changed, after which +argument is used while the LCP layer is already open, LCP will be +renegotiated. This allows various LCP options to be changed, after which .Dq open lcp can be used to put them into effect. After renegotiating LCP, any agreed authentication will also take place. |