X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=pppd%2Fpppd.8;fp=pppd%2Fpppd.8;h=7417a36ed2632ae4172a2776b1c4d574c62f8d2e;hp=b0074062097e930bec31532d99401378a4ccc35e;hb=92c5612fdb77e83e49c524ae46110c129e13429e;hpb=4e895b5d9727fbbbf7c50c6ceedea5139da85f5d diff --git a/pppd/pppd.8 b/pppd/pppd.8 index b007406..7417a36 100644 --- a/pppd/pppd.8 +++ b/pppd/pppd.8 @@ -1240,6 +1240,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. @@ -1842,6 +1852,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.