diff options
author | Mike Frysinger <vapier@gentoo.org> | 2020-01-03 17:19:40 +0100 |
---|---|---|
committer | Michael Everitt <gentoo@veremit.xyz> | 2021-07-12 04:22:17 +0100 |
commit | 182f4caedee9ea797656359d8b0594c3abd5f24b (patch) | |
tree | 89a662e41944ba4879953a42ebac0b26bc40389d /pppd/pppd.8 | |
parent | 8ebe7550b2a4525afcf3adee3411250fb32be769 (diff) | |
download | ppp-182f4caedee9ea797656359d8b0594c3abd5f24b.tar.gz |
Add option to ask peer for WINS address
Signed-off-by: Michael Everitt <gentoo@veremit.xyz>
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'pppd/pppd.8')
-rw-r--r-- | pppd/pppd.8 | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/pppd/pppd.8 b/pppd/pppd.8 index 36156d6..b5790d9 100644 --- a/pppd/pppd.8 +++ b/pppd/pppd.8 @@ -1199,6 +1199,16 @@ 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. .TP +.B usepeerwins +Ask the peer for up to 2 WINS server addresses. The addresses supplied +by the peer (if any) are passed to the /etc/ppp/ip\-up script in the +environment variables WINS1 and WINS2, and the environment variable +USEPEERWINS will be set to 1. +.LP +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 user \fIname Sets the name used for authenticating the local system to the peer to \fIname\fR. @@ -1793,6 +1803,15 @@ option was given). If the peer supplies DNS server addresses, this variable is set to the second DNS server address supplied (whether or not the usepeerdns option was given). +.TP +.B WINS1 +If the peer supplies WINS server addresses, this variable is set to the +first WINS server address supplied. +.TP +.B WINS2 +If the peer supplies WINS server addresses, this variable is set to the +second WINS server address supplied. +.P .P Pppd invokes the following scripts, if they exist. It is not an error if they don't exist. |