diff options
author | brian <brian@FreeBSD.org> | 1997-08-17 20:45:50 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1997-08-17 20:45:50 +0000 |
commit | 48abae6115c5ac6fba0407b546d3c6e31e7f4192 (patch) | |
tree | bfaa38bde7ce619383c5ebf2b70cf87cca128280 /usr.sbin/ppp/ppp.8 | |
parent | 6f340c20e5d94d59afcee4b5d8fbc86d25acd2dd (diff) | |
download | FreeBSD-src-48abae6115c5ac6fba0407b546d3c6e31e7f4192.zip FreeBSD-src-48abae6115c5ac6fba0407b546d3c6e31e7f4192.tar.gz |
Allow the use of a "stopped" timeout via the
"set stopped" directive. If the timeout occurs
it will cause a "Down" event, hanging up the line
if it's still up. This *isn't* part of the FSM
diagram, but I consider it ok as a "higher level
implementation specific timeout" as specified in
the rfc ;-}
Discussed briefly with: joerg
Diffstat (limited to 'usr.sbin/ppp/ppp.8')
-rw-r--r-- | usr.sbin/ppp/ppp.8 | 26 |
1 files changed, 22 insertions, 4 deletions
diff --git a/usr.sbin/ppp/ppp.8 b/usr.sbin/ppp/ppp.8 index 2a92d73..fdf5cd2 100644 --- a/usr.sbin/ppp/ppp.8 +++ b/usr.sbin/ppp/ppp.8 @@ -1,4 +1,4 @@ -.\" $Id: ppp.8,v 1.46 1997/08/10 22:03:20 brian Exp $ +.\" $Id: ppp.8,v 1.47 1997/08/17 20:38:44 brian Exp $ .Dd 20 September 1995 .Os FreeBSD .Dt PPP 8 @@ -506,7 +506,7 @@ is the number of times to try to connect for each outgoing packet that is received. The previous value is unchanged if this parameter is omitted. If a value of zero is specified for .Sq dial_attempts , -.Nm ppp +.Nm will keep trying until a connection is made. .Bd -literal -offset indent set redial 10.3 4 @@ -1190,7 +1190,7 @@ add 0 0 HISADDR HISADDR is a macro meaning the "other side"s IP number, and is available once an IP number has been agreed (using LCP). Now, once a connection is established, -.Nm ppp +.Nm will delete all non-direct interface routes, and add a default route pointing at the peers IP number. You should use the same label as the one used in @@ -1670,6 +1670,21 @@ is taken before starting at the first number again. A value of .Dq random may be used here too. +.It set stopped seconds +If this option is set, +.Nm +will time out after being the the stopped state for the given number of +.Dq seconds . +This option may be useful if you see ppp failing to respond in the +stopped state. Use +.Dq set log +lcp +to make +.Nm +log state transitions. +.Pp +The default value is zero, where ppp doesn't time out in the stopped +state. + .It set server|socket TcpPort|LocalName|none [mask] Normally, when not in interactive mode, .Nm @@ -1778,6 +1793,9 @@ Show the current reconnect values. .It show redial Show the current redial values. +.It show stopped +Show the current stopped timeout. + .It show route Show the current routing tables. @@ -1874,7 +1892,7 @@ This command gives a summary of available alias commands. .It quit|bye [all] Exit -.Nm ppp. +.Nm ppp . If .Nm is in interactive mode or if the |