⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pppd.8

📁 RTEMS (Real-Time Executive for Multiprocessor Systems) is a free open source real-time operating sys
💻 8
📖 第 1 页 / 共 5 页
字号:
.TP.B 4The kernel does not support PPP, for example, the PPP kernel driver isnot included or cannot be loaded..TP.B 5Pppd terminated because it was sent a SIGINT, SIGTERM or SIGHUPsignal..TP.B 6The serial port could not be locked..TP.B 7The serial port could not be opened..TP.B 8The connect script failed (returned a non-zero exit status)..TP.B 9The command specified as the argument to the \fIpty\fR option couldnot be run..TP.B 10The PPP negotiation failed, that is, it didn't reach the point whereat least one network protocol (e.g. IP) was running..TP.B 11The peer system failed (or refused) to authenticate itself..TP.B 12The link was established successfully and terminated because it wasidle..TP.B 13The link was established successfully and terminated because theconnect time limit was reached..TP.B 14Callback was negotiated and an incoming call should arrive shortly..TP.B 15The link was terminated because the peer is not responding to echorequests..TP.B 16The link was terminated by the modem hanging up..TP.B 17The PPP negotiation failed because serial loopback was detected..TP.B 18The init script failed (returned a non-zero exit status)..TP.B 19We failed to authenticate ourselves to the peer..SH SCRIPTSPppd invokes scripts at various stages in its processing which can beused to perform site-specific ancillary processing.  These scripts areusually shell scripts, but could be executable code files instead.Pppd does not wait for the scripts to finish.  The scripts areexecuted as root (with the real and effective user-id set to 0), sothat they can do things such as update routing tables or runprivileged daemons.  Be careful that the contents of these scripts donot compromise your system's security.  Pppd runs the scripts withstandard input, output and error redirected to /dev/null, and with anenvironment that is empty except for some environment variables thatgive information about the link.  The environment variables that pppdsets are:.TP.B DEVICEThe name of the serial tty device being used..TP.B IFNAMEThe name of the network interface being used..TP.B IPLOCALThe IP address for the local end of the link.  This is only set whenIPCP has come up..TP.B IPREMOTEThe IP address for the remote end of the link.  This is only set whenIPCP has come up..TP.B PEERNAMEThe authenticated name of the peer.  This is only set if the peerauthenticates itself..TP.B SPEEDThe baud rate of the tty device..TP.B ORIG_UIDThe real user-id of the user who invoked pppd..TP.B PPPLOGNAMEThe username of the real user-id that invoked pppd. This is always set..PFor the ip-down and auth-down scripts, pppd also sets the followingvariables giving statistics for the connection:.TP.B CONNECT_TIMEThe number of seconds from when the PPP negotiation started until theconnection was terminated..TP.B BYTES_SENTThe number of bytes sent (at the level of the serial port) during theconnection..TP.B BYTES_RCVDThe number of bytes received (at the level of the serial port) duringthe connection..TP.B LINKNAMEThe logical name of the link, set with the \fIlinkname\fR option..PPppd invokes the following scripts, if they exist.  It is not an errorif they don't exist..TP.B /etc/ppp/auth-upA program or script which is executed after the remote systemsuccessfully authenticates itself.  It is executed with the parameters.IP\fIinterface-name peer-name user-name tty-device speed\fR.IPNote that this script is not executed if the peer doesn't authenticateitself, for example when the \fInoauth\fR option is used..TP.B /etc/ppp/auth-downA program or script which is executed when the link goes down, if/etc/ppp/auth-up was previously executed.  It is executed in the samemanner with the same parameters as /etc/ppp/auth-up..TP.B /etc/ppp/ip-upA program or script which is executed when the link is available forsending and receiving IP packets (that is, IPCP has come up).  It isexecuted with the parameters.IP\fIinterface-name tty-device speed local-IP-addressremote-IP-address ipparam\fR.TP.B /etc/ppp/ip-downA program or script which is executed when the link is no longeravailable for sending and receiving IP packets.  This script can beused for undoing the effects of the /etc/ppp/ip-up script.  It isinvoked in the same manner and with the same parameters as the ip-upscript..TP.B /etc/ppp/ipv6-upLike /etc/ppp/ip-up, except that it is executed when the link is available for sending and receiving IPv6 packets. It is executed with the parameters.IP\fIinterface-name tty-device speed local-link-local-addressremote-link-local-address ipparam\fR.TP.B /etc/ppp/ipv6-downSimilar to /etc/ppp/ip-down, but it is executed when IPv6 packets can nolonger be transmitted on the link. It is executed with the same parameters as the ipv6-up script..TP.B /etc/ppp/ipx-upA program or script which is executed when the link is available forsending and receiving IPX packets (that is, IPXCP has come up).  It isexecuted with the parameters.IP\fIinterface-name tty-device speed network-number local-IPX-node-addressremote-IPX-node-address local-IPX-routing-protocol remote-IPX-routing-protocollocal-IPX-router-name remote-IPX-router-name ipparam pppd-pid\fR .IPThe local-IPX-routing-protocol and remote-IPX-routing-protocol fieldmay be one of the following:.IPNONE      to indicate that there is no routing protocol.brRIP       to indicate that RIP/SAP should be used.brNLSP      to indicate that Novell NLSP should be used.brRIP NLSP  to indicate that both RIP/SAP and NLSP should be used.TP.B /etc/ppp/ipx-downA program or script which is executed when the link is no longeravailable for sending and receiving IPX packets.  This script can beused for undoing the effects of the /etc/ppp/ipx-up script.  It isinvoked in the same manner and with the same parameters as the ipx-upscript..SH FILES.TP.B /var/run/ppp\fIn\fB.pid \fR(BSD or Linux), \fB/etc/ppp/ppp\fIn\fB.pid \fR(others)Process-ID for pppd process on ppp interface unit \fIn\fR..TP.B /var/run/ppp-\fIname\fB.pid \fR(BSD or Linux), \fB/etc/ppp/ppp-\fIname\fB.pid \fR(others)Process-ID for pppd process for logical link \fIname\fR (see the\fIlinkname\fR option)..TP.B /etc/ppp/pap-secretsUsernames, passwords and IP addresses for PAP authentication.  Thisfile should be owned by root and not readable or writable by any otheruser.  Pppd will log a warning if this is not the case..TP.B /etc/ppp/chap-secretsNames, secrets and IP addresses for CHAP authentication.  As for/etc/ppp/pap-secrets, this file should be owned by root and notreadable or writable by any other user.  Pppd will log a warning ifthis is not the case..TP.B /etc/ppp/optionsSystem default options for pppd, read before user default options orcommand-line options..TP.B ~/.ppprcUser default options, read before /etc/ppp/options.\fIttyname\fR..TP.B /etc/ppp/options.\fIttynameSystem default options for the serial port being used, read after~/.ppprc.  In forming the \fIttyname\fR part of thisfilename, an initial /dev/ is stripped from the port name (ifpresent), and any slashes in the remaining part are converted todots..TP.B /etc/ppp/peersA directory containing options files which may contain privilegedoptions, even if pppd was invoked by a user other than root.  Thesystem administrator can create options files in this directory topermit non-privileged users to dial out without requiring the peer toauthenticate, but only to certain trusted peers..SH SEE ALSO.TP.B RFC1144Jacobson, V.\fICompressing TCP/IP headers for low-speed serial links.\fRFebruary 1990..TP.B RFC1321Rivest, R..I The MD5 Message-Digest Algorithm.April 1992..TP.B RFC1332McGregor, G..I PPP Internet Protocol Control Protocol (IPCP).May 1992..TP.B RFC1334Lloyd, B.; Simpson, W.A..I PPP authentication protocols.October 1992..TP.B RFC1661Simpson, W.A..I The Point\-to\-Point Protocol (PPP).July 1994..TP.B RFC1662Simpson, W.A..I PPP in HDLC-like Framing.July 1994..TP.B RFC2472Haskin, D..I IP Version 6 over PPPDecember 1998..SH NOTESThe following signals have the specified effect when sent to pppd..TP.B SIGINT, SIGTERMThese signals cause pppd to terminate the link (by closing LCP),restore the serial device settings, and exit..TP.B SIGHUPThis signal causes pppd to terminate the link, restore the serialdevice settings, and close the serial device.  If the \fIpersist\fR or\fIdemand\fR option has been specified, pppd will try to reopen theserial device and start another connection (after the holdoff period).Otherwise pppd will exit.  If this signal is received during theholdoff period, it causes pppd to end the holdoff period immediately..TP.B SIGUSR1This signal toggles the state of the \fIdebug\fR option..TP.B SIGUSR2This signal causes pppd to renegotiate compression.  This can beuseful to re-enable compression after it has been disabled as a resultof a fatal decompression error.  (Fatal decompression errors generallyindicate a bug in one or other implementation.).SH AUTHORSPaul Mackerras (Paul.Mackerras@cs.anu.edu.au), based on earlier work byDrew Perkins,Brad Clements,Karl Fox,Greg Christy,andBrad Parker.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -