?? pppd.8
字號:
.B dryrunWith the \fBdryrun\fR option, pppd will print out all the optionvalues which have been set and then exit, after parsing the commandline and options files and checking the option values, but beforeinitiating the link. The option values are logged at level info, andalso printed to standard output unless the device on standard outputis the device that pppd would be using to communicate with the peer..TP.B dumpWith the \fBdump\fR option, pppd will print out all the option valueswhich have been set. This option is like the \fBdryrun\fR optionexcept that pppd proceeds as normal rather than exiting..TP.B endpoint \fI<epdisc>Sets the endpoint discriminator sent by the local machine to the peerduring multilink negotiation to \fI<epdisc>\fR. The default is to usethe MAC address of the first ethernet interface on the system, if any,otherwise the IPv4 address corresponding to the hostname, if any,provided it is not in the multicast or locally-assigned IP addressranges, or the localhost address. The endpoint discriminator can bethe string \fBnull\fR or of the form \fItype\fR:\fIvalue\fR, wheretype is a decimal number or one of the strings \fBlocal\fR, \fBIP\fR,\fBMAC\fR, \fBmagic\fR, or \fBphone\fR. The value is an IP address indotted-decimal notation for the \fBIP\fR type, or a string of bytes inhexadecimal, separated by periods or colons for the other types. Forthe MAC type, the value may also be the name of an ethernet or similarnetwork interface. This option is currently only available underLinux..TP.B hide-passwordWhen logging the contents of PAP packets, this option causes pppd toexclude the password string from the log. This is the default..TP.B holdoff \fInSpecifies how many seconds to wait before re-initiating the link afterit terminates. This option only has any effect if the \fIpersist\fRor \fIdemand\fR option is used. The holdoff period is not applied ifthe link was terminated because it was idle..TP.B idle \fInSpecifies that pppd should disconnect if the link is idle for \fIn\fRseconds. The link is idle when no data packets (i.e. IP packets) arebeing sent or received. Note: it is not advisable to use this optionwith the \fIpersist\fR option without the \fIdemand\fR option.If the \fBactive-filter\fRoption is given, data packets which are rejected by the specifiedactivity filter also count as the link being idle..TP.B ipcp-accept-localWith this option, pppd will accept the peer's idea of our local IPaddress, even if the local IP address was specified in an option..TP.B ipcp-accept-remoteWith this option, pppd will accept the peer's idea of its (remote) IPaddress, even if the remote IP address was specified in an option..TP.B ipcp-max-configure \fInSet the maximum number of IPCP configure-request transmissions to\fIn\fR (default 10)..TP.B ipcp-max-failure \fInSet the maximum number of IPCP configure-NAKs returned before startingto send configure-Rejects instead to \fIn\fR (default 10)..TP.B ipcp-max-terminate \fInSet the maximum number of IPCP terminate-request transmissions to\fIn\fR (default 3)..TP.B ipcp-restart \fInSet the IPCP restart interval (retransmission timeout) to \fIn\fRseconds (default 3)..TP.B ipparam \fIstringProvides an extra parameter to the ip-up and ip-down scripts. If thisoption is given, the \fIstring\fR supplied is given as the 6thparameter to those scripts..TP.B ipv6cp-max-configure \fInSet the maximum number of IPv6CP configure-request transmissions to\fIn\fR (default 10)..TP.B ipv6cp-max-failure \fInSet the maximum number of IPv6CP configure-NAKs returned before startingto send configure-Rejects instead to \fIn\fR (default 10)..TP.B ipv6cp-max-terminate \fInSet the maximum number of IPv6CP terminate-request transmissions to\fIn\fR (default 3)..TP.B ipv6cp-restart \fInSet the IPv6CP restart interval (retransmission timeout) to \fIn\fRseconds (default 3)..TP.B ipxEnable the IPXCP and IPX protocols. This option is presently onlysupported under Linux, and only if your kernel has been configured toinclude IPX support..TP.B ipx-network \fInSet the IPX network number in the IPXCP configure request frame to\fIn\fR, a hexadecimal number (without a leading 0x). There is novalid default. If this option is not specified, the network number isobtained from the peer. If the peer does not have the network number,the IPX protocol will not be started..TP.B ipx-node \fIn\fB:\fImSet the IPX node numbers. The two node numbers are separated from eachother with a colon character. The first number \fIn\fR is the localnode number. The second number \fIm\fR is the peer's node number. Eachnode number is a hexadecimal number, at most 10 digits long. The nodenumbers on the ipx-network must be unique. There is no validdefault. If this option is not specified then the node numbers areobtained from the peer..TP.B ipx-router-name \fI<string>Set the name of the router. This is a string and is sent to the peeras information data..TP.B ipx-routing \fInSet the routing protocol to be received by this option. More than oneinstance of \fIipx-routing\fR may be specified. The '\fInone\fR'option (0) may be specified as the only instance of ipx-routing. Thevalues may be \fI0\fR for \fINONE\fR, \fI2\fR for \fIRIP/SAP\fR, and\fI4\fR for \fINLSP\fR..TP.B ipxcp-accept-localAccept the peer's NAK for the node number specified in the ipx-nodeoption. If a node number was specified, and non-zero, the default isto insist that the value be used. If you include this option then youwill permit the peer to override the entry of the node number..TP.B ipxcp-accept-networkAccept the peer's NAK for the network number specified in theipx-network option. If a network number was specified, and non-zero, thedefault is to insist that the value be used. If you include thisoption then you will permit the peer to override the entry of the nodenumber..TP.B ipxcp-accept-remoteUse the peer's network number specified in the configure requestframe. If a node number was specified for the peer and this option wasnot specified, the peer will be forced to use the value which you havespecified..TP.B ipxcp-max-configure \fInSet the maximum number of IPXCP configure request frames which thesystem will send to \fIn\fR. The default is 10..TP.B ipxcp-max-failure \fInSet the maximum number of IPXCP NAK frames which the local system willsend before it rejects the options. The default value is 3..TP.B ipxcp-max-terminate \fInSet the maximum nuber of IPXCP terminate request frames before thelocal system considers that the peer is not listening to them. Thedefault value is 3..TP.B kdebug \fInEnable debugging code in the kernel-level PPP driver. The argumentvalues depend on the specific kernel driver, but in general a value of1 will enable general kernel debug messages. (Note that thesemessages are usually only useful for debugging the kernel driveritself.) For the Linux 2.2.x kernel driver, the value is a sum ofbits: 1 toenable general debug messages, 2 to request that the contents ofreceived packets be printed, and 4 to request that the contents oftransmitted packets be printed. On most systems, messages printed bythe kernel are logged by syslog(1) to a file as directed in the/etc/syslog.conf configuration file..TP.B ktuneEnables pppd to alter kernel settings as appropriate. Under Linux,pppd will enable IP forwarding (i.e. set /proc/sys/net/ipv4/ip_forwardto 1) if the \fIproxyarp\fR option is used, and will enable thedynamic IP address option (i.e. set /proc/sys/net/ipv4/ip_dynaddr to1) in demand mode if the local address changes..TP.B lcp-echo-failure \fInIf this option is given, pppd will presume the peer to be deadif \fIn\fR LCP echo-requests are sent without receiving a valid LCPecho-reply. If this happens, pppd will terminate theconnection. Use of this option requires a non-zero value for the\fIlcp-echo-interval\fR parameter. This option can be used to enablepppd to terminate after the physical connection has been broken(e.g., the modem has hung up) in situations where no hardware modemcontrol lines are available..TP.B lcp-echo-interval \fInIf this option is given, pppd will send an LCP echo-request frame tothe peer every \fIn\fR seconds. Normally the peer should respond tothe echo-request by sending an echo-reply. This option can be usedwith the \fIlcp-echo-failure\fR option to detect that the peer is nolonger connected..TP.B lcp-max-configure \fInSet the maximum number of LCP configure-request transmissions to\fIn\fR (default 10)..TP.B lcp-max-failure \fInSet the maximum number of LCP configure-NAKs returned before startingto send configure-Rejects instead to \fIn\fR (default 10)..TP.B lcp-max-terminate \fInSet the maximum number of LCP terminate-request transmissions to\fIn\fR (default 3)..TP.B lcp-restart \fInSet the LCP restart interval (retransmission timeout) to \fIn\fRseconds (default 3)..TP.B linkname \fIname\fRSets the logical name of the link to \fIname\fR. Pppd will create afile named \fBppp-\fIname\fB.pid\fR in /var/run (or /etc/ppp on somesystems) containing its process ID. This can be useful in determiningwhich instance of pppd is responsible for the link to a given peersystem. This is a privileged option..TP.B localDon't use the modem control lines. With this option, pppd will ignorethe state of the CD (Carrier Detect) signal from the modem and willnot change the state of the DTR (Data Terminal Ready) signal..TP.B logfd \fInSend log messages to file descriptor \fIn\fR. Pppd will send logmessages to at most one file or file descriptor (as well as sendingthe log messages to syslog), so this option and the \fBlogfile\fRoption are mutually exclusive. The default is for pppd to send logmessages to stdout (file descriptor 1), unless the serial port isalready open on stdout..TP.B logfile \fIfilenameAppend log messages to the file \fIfilename\fR (as well as sending thelog messages to syslog). The file is opened with the privileges ofthe user who invoked pppd, in append mode..TP.B loginUse the system password database for authenticating the peer usingPAP, and record the user in the system wtmp file. Note that the peermust have an entry in the /etc/ppp/pap-secrets file as well as thesystem password database to be allowed access..TP.B maxconnect \fInTerminate the connection when it has been available for networktraffic for \fIn\fR seconds (i.e. \fIn\fR seconds after the firstnetwork control protocol comes up)..TP.B maxfail \fInTerminate after \fIn\fR consecutive failed connection attempts. Avalue of 0 means no limit. The default value is 10..TP.B modemUse the modem control lines. This option is the default. With thisoption, pppd will wait for the CD (Carrier Detect) signal from themodem to be asserted when opening the serial device (unless a connectscript is specified), and it will drop the DTR (Data Terminal Ready)signal briefly when the connection is terminated and before executingthe connect script. On Ultrix, this option implies hardware flowcontrol, as for the \fIcrtscts\fR option..TP.B mpEnables the use of PPP multilink; this is an alias for the `multilink'option. This option is currently only available under Linux..TP.B mpshortseqEnables the use of short (12-bit) sequence numbers in multilinkheaders, as opposed to 24-bit sequence numbers. This option is onlyavailable under Linux, and only has any effect if multilink isenabled (see the multilink option)..TP.B mrru \fInSets the Maximum Reconstructed Receive Unit to \fIn\fR. The MRRU isthe maximum size for a received packet on a multilink bundle, and isanalogous to the MRU for the individual links. This option iscurrently only available under Linux, and only has any effect ifmultilink is enabled (see the multilink option)..TP.B ms-dns \fI<addr>If pppd is acting as a server for Microsoft Windows clients, thisoption allows pppd to supply one or two DNS (Domain Name Server)addresses to the clients. The first instance of this option specifiesthe primary DNS address; the second instance (if given) specifies thesecondary DNS address. (This option was present in some olderversions of pppd under the name \fBdns-addr\fR.).TP.B ms-wins \fI<addr>If pppd is acting as a server for Microsoft Windows or "Samba"clients, this option allows pppd to supply one or two WINS (WindowsInternet Name Services) server addresses to the clients. The firstinstance of this option specifies the primary WINS address; the secondinstance (if given) specifies the secondary WINS address..TP.B multilinkEnables the use of the PPP multilink protocol. If the peer alsosupports multilink, then this link can become part of a bundle betweenthe local system and the peer. If there is an existing bundle to thepeer, pppd will join this link to that bundle, otherwise pppd willcreate a new bundle. See the MULTILINK section below. This option iscurrently only available under Linux..TP.B name \fIname
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -