X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;ds=sidebyside;f=pppd%2Fpppd.8;h=60932c2f6c81faeeb34306a4dbb6ada52e3ddd01;hb=HEAD;hp=903d69419f8de540531efc75abd06f4b85e3ce74;hpb=e1266c76d1ad39f98f11676e34f180f78c5a510c;p=ppp.git diff --git a/pppd/pppd.8 b/pppd/pppd.8 index 903d694..3a787a0 100644 --- a/pppd/pppd.8 +++ b/pppd/pppd.8 @@ -5,7 +5,7 @@ .\" IP indented paragraph .\" TP hanging label .\" -.\" Copyright (c) 1993-2003 Paul Mackerras +.\" Copyright (c) 1993-2024 Paul Mackerras .\" .\" Permission to use, copy, modify, and distribute this software for any .\" purpose with or without fee is hereby granted, provided that the above @@ -475,7 +475,8 @@ exclude the password string from the log. This is the default. Specifies how many seconds to wait before re-initiating the link after it terminates. This option only has any effect if the \fIpersist\fR or \fIdemand\fR option is used. The holdoff period is not applied if -the link was terminated because it was idle. +the link was terminated because it was idle, connect time expired, +modem hangup or user request. .TP .B idle \fIn Specifies that pppd should disconnect if the link is idle for \fIn\fR @@ -759,6 +760,13 @@ will be used as the name to send to the peer when authenticating the local system to the peer. (Note that pppd does not append the domain name to \fIname\fR.) .TP +.B netmask \fImask +Set the IPV4 network mask on the PPP interface to the given +\fImask\fR, which can be given in dotted-quad notation or as a single +hexadecimal number preceded by 0x. This option is not normally +needed because the PPP interface is a point-to-point connection, but +in some specialized circumstances it can be useful. +.TP .B noaccomp Disable Address/Control compression in both directions (send and receive). @@ -1193,7 +1201,8 @@ by the peer (if any) are passed to the /etc/ppp/ip\-up script in the environment variables DNS1 and DNS2, and the environment variable USEPEERDNS will be set to 1. In addition, pppd will create an /etc/ppp/resolv.conf file containing one or two nameserver lines with -the address(es) supplied by the peer. +the address(es) supplied by the peer (unless the \fInoresolvconf\fR +option is given). .TP .B usepeerwins Ask the peer for up to 2 WINS server addresses. The addresses supplied @@ -1205,6 +1214,9 @@ Please note that some modems (like the Huawei E220) requires this option in order to avoid a race condition that results in the incorrect DNS servers being assigned. .TP +.B noresolvconf +Do not create the /etc/ppp/resolv.conf file. +.TP .B user \fIname Sets the name used for authenticating the local system to the peer to \fIname\fR. @@ -1769,6 +1781,12 @@ set when IPV6CP has come up. The authenticated name of the peer. This is only set if the peer authenticates itself. .TP +.B REMOTENUMBER +The remote's number as provided to pppd by the remotenumber option. The +meaning of this varies based on the type of connection, xl2tpd for example can +either provide the dialing number AVP or the remote's IP address. pppoe-server +typically provides the MAC address. +.TP .B SPEED The baud rate of the tty device. .TP @@ -1816,6 +1834,11 @@ first WINS server address supplied. .B WINS2 If the peer supplies WINS server addresses, this variable is set to the second WINS server address supplied. +.TP +.B ACNAME +If the pppoe plugin is used to establish a connection to an access +concentrator (AC), this variable is set to the name of the AC, as +supplied by the AC. .P .P Pppd invokes the following scripts, if they exist. It is not an error