]> git.ozlabs.org Git - ppp.git/blob - pppd/pppd.8
incorporate logwtmp in here
[ppp.git] / pppd / pppd.8
1 .\" manual page [] for pppd 2.0
2 .\" $Id: pppd.8,v 1.5 1994/05/24 11:27:08 paulus Exp $
3 .\" SH section heading
4 .\" SS subsection heading
5 .\" LP paragraph
6 .\" IP indented paragraph
7 .\" TP hanging label
8 .TH PPPD 8
9 .SH NAME
10 pppd \- Point to Point Protocol daemon
11 .SH SYNOPSIS
12 .B pppd
13 [
14 .I options
15 ] [
16 .I tty_name
17 ] [
18 .I speed
19 ]
20 .SH DESCRIPTION
21 .LP
22 The Point-to-Point Protocol (PPP) provides a method for transmitting
23 datagrams over serial point-to-point links.  PPP
24 is composed of three parts: a method for encapsulating datagrams over
25 serial links, an extensible Link Control Protocol (LCP), and
26 a family of Network Control Protocols (NCP) for establishing
27 and configuring different network-layer protocols.
28 .LP
29 The encapsulation scheme is provided by driver code in the kernel.
30 .B pppd
31 provides the basic LCP, authentication support, and an
32 NCP for establishing and configuring the Internet Protocol (IP)
33 (called the IP Control Protocol, IPCP).
34 .SH FREQUENTLY USED OPTIONS
35 .TP
36 .I <tty_name>
37 Communicate over the named device.  The string "/dev/"
38 is prepended if necessary.  If no device name is given,
39 .I pppd
40 will use the controlling terminal, and will not fork to put itself in
41 the background.
42 .TP
43 .I <speed>
44 Set the baud rate to <speed>.  On systems such as 4.4BSD and NetBSD,
45 any speed can be specified.  Other systems (e.g. SunOS) allow only a
46 limited set of speeds.
47 .TP
48 .B asyncmap \fI<map>
49 Set the async character map to <map>.
50 This map describes which control characters cannot be successfully
51 received over the serial line.
52 .I pppd
53 will ask the peer to send these characters as a 2-byte escape sequence.
54 The argument is a 32 bit hex number
55 with each bit representing a character to escape. 
56 Bit 0 (00000001) represents the character 0x00;
57 bit 31 (80000000) represents the character 0x1f or ^_.
58 If multiple \fBasyncmap\fR options are
59 given, the values are ORed together.
60 If no \fBasyncmap\fR option is given, no async character map will be
61 negotiated for the receive direction; the peer will then escape
62 \fIall\fR control characters.
63 .TP
64 .B auth
65 Require the peer to authenticate itself before allowing network
66 packets to be sent or received.
67 .TP
68 .B connect \fI<p>
69 Use the executable or shell command specified by \fI<p>\fR to set up the
70 serial line.  This script would typically use the "chat" program to
71 dial the modem and start the remote ppp session.
72 .TP
73 .B crtscts
74 Use hardware flow control (i.e. RTS/CTS) to control the flow of data on
75 the serial port.
76 .TP
77 .B xonxoff
78 Use software flow control (i.e. XON/XOFF) to control the flow of data on
79 the serial port.  This option is not implemented on BSD or Ultrix systems
80 at present.
81 .TP
82 .B -crtscts
83 A synonym for \fBxonxoff\fR.
84 .TP
85 .B defaultroute
86 Add a default route to the system routing tables, using the peer as
87 the gateway, when IPCP negotiation is successfully completed.
88 This entry is removed when the PPP connection is broken.
89 .TP
90 .B disconnect \fI<p>
91 Run the executable or shell command specified by \fI<p>\fR after
92 \fIpppd\fR has terminated the link.  This script could, for example,
93 issue commands to the modem to cause it to hang up if hardware modem
94 control signals were not available.
95 .TP
96 .B escape \fIxx,yy,...
97 Specifies that certain characters should be escaped on transmission
98 (regardless of whether the peer requests them to be escaped with its
99 async control character map).  The characters to be escaped are
100 specified as a list of hex numbers separated by commas.  Note that
101 almost any character can be specified for the \fBescape\fR option,
102 unlike the \fBasyncmap\fR option which only allows control characters
103 to be specified.  The characters which may not be escaped are those
104 with hex values 0x20 - 0x3f or 0x5e.
105 .TP
106 .B file \fI<f>
107 Read options from file <f> (the format is described below).
108 .TP
109 .B lock
110 Specifies that \fIpppd\fR should use a UUCP-style lock on the serial
111 device to ensure exclusive access to the device.
112 .TP
113 .B mru \fI<n>
114 Set the MRU [Maximum Receive Unit] value to <n> for negotiation.
115 .I pppd
116 will ask the peer to send packets of no more than <n> bytes.
117 The minimum MRU value is 128. 
118 The default MRU value is 1500.  A value of 296 is recommended for slow
119 links (40 bytes for TCP/IP header + 256 bytes of data).
120 .TP
121 .B netmask \fI<n>
122 Set the interface netmask to <n>, a 32 bit netmask in "decimal dot" notation
123 (e.g. 255.255.255.0).
124 .TP
125 .B passive
126 Enables the "passive" option in the LCP.  With this option,
127 .I pppd
128 will attempt to initiate a connection; if no reply is received from
129 the peer,
130 .I pppd
131 will then just wait passively for a valid LCP packet from the peer
132 (instead of exiting, as it does without this option).
133 .TP
134 .B silent
135 With this option,
136 .I pppd
137 will not transmit LCP packets to initiate a connection until a valid
138 LCP packet is received from the peer (as for the "passive" option with
139 old versions of \fIpppd\fR).
140 .SH OPTIONS
141 .TP
142 .I <local_IP_address>\fB:\fI<remote_IP_address>
143 Set the local and/or remote interface IP addresses.  Either one may be
144 omitted.  The IP addresses can be specified with a host name or in
145 decimal dot notation (e.g. 150.234.56.78).  The default local
146 address is the (first) IP address of the system (unless the
147 .B noipdefault
148 option is given).  The remote address will be obtained from the peer
149 if not specified in any option.  Thus, in simple cases, this option is
150 not required.
151 If a local and/or remote IP address is specified with this option,
152 .I pppd
153 will not accept a different value from the peer in the IPCP
154 negotiation, unless the
155 .B ipcp-accept-local
156 and/or
157 .B ipcp-accept-remote
158 options are given, respectively.
159 .TP
160 .B -all
161 Don't request or allow negotiation of any options for LCP and IPCP (use
162 default values).
163 .TP
164 .B -ac
165 Disable Address/Control compression negotiation (use default, i.e.
166 address/control field disabled).
167 .TP
168 .B -am
169 Disable asyncmap negotiation (use the default asyncmap, i.e. escape
170 all control characters).
171 .TP
172 .B -as \fI<n>
173 Same as
174 .B asyncmap \fI<n>
175 .TP
176 .B -d
177 Increase debugging level (same as the \fBdebug\fR option).
178 .TP
179 .B -detach
180 Don't fork to become a background process (otherwise
181 .I pppd
182 will do so if a serial device is specified).
183 .TP
184 .B -ip
185 Disable IP address negotiation (with this option, the remote IP
186 address must be specified with an option on the command line or in an
187 options file).
188 .TP
189 .B -mn
190 Disable magic number negotiation.  With this option,
191 .I pppd
192 cannot detect a looped-back line.
193 .TP
194 .B -mru
195 Disable MRU [Maximum Receive Unit] negotiation (use default, i.e. 1500).
196 .TP
197 .B -p
198 Same as the
199 .B passive
200 option.
201 .TP
202 .B -pc
203 Disable protocol field compression negotiation (use default, i.e.
204 protocol field compression disabled).
205 .TP
206 .B +ua \fI<p>
207 Agree to authenticate using PAP [Password Authentication Protocol] if
208 requested by the peer, and
209 use the data in file <p> for the user and password to send to the
210 peer. The file contains the remote user name, followed by a newline,
211 followed by the remote password, followed by a newline.  This option
212 is obsolescent.
213 .TP
214 .B +pap
215 Require the peer to authenticate itself using PAP.
216 .TP
217 .B -pap
218 Don't agree to authenticate using PAP.
219 .TP
220 .B +chap
221 Require the peer to authenticate itself using CHAP [Cryptographic
222 Handshake Authentication Protocol] authentication.
223 .TP
224 .B -chap
225 Don't agree to authenticate using CHAP.
226 .TP
227 .B -vj
228 Disable negotiation of Van Jacobson style IP header compression (use
229 default, i.e. no compression).
230 .TP
231 .B debug
232 Increase debugging level (same as \fB\-d\fR).
233 If this
234 option is given, \fIpppd\fR will log the contents of all control
235 packets sent or received in a readable form.  The packets are logged
236 through syslog with facility \fIdaemon\fR and level \fIdebug\fR.  This
237 information can be directed to a file by setting up /etc/syslog.conf
238 appropriately (see syslog.conf(5)).
239 .TP
240 .B domain \fI<d>
241 Append the domain name <d> to the local host name for authentication
242 purposes.  For example, if gethostname() returns the name porsche, but the
243 fully qualified domain name is porsche.Quotron.COM, you would use the
244 domain option to set the domain name to Quotron.COM.
245 .TP
246 .B modem
247 Use the modem control lines.  On Ultrix, this option implies hardware
248 flow control, as for the \fBcrtscts\fR option.  (This option is not fully
249 implemented.)
250 .TP
251 .B kdebug \fIn
252 Enable debugging code in the kernel-level PPP driver.  The argument
253 \fIn\fR is a number which is the sum of the following values: 1 to
254 enable general debug messages, 2 to request that the contents of
255 received packets be printed, and 4 to request that the contents of
256 transmitted packets be printed.
257 .TP
258 .B local
259 Don't use the modem control lines.
260 .TP
261 .B mtu \fI<n>
262 Set the MTU [Maximum Transmit Unit] value to \fI<n>\fR.  Unless the
263 peer requests a smaller value via MRU negotiation, \fIpppd\fR will
264 request that the kernel networking code send data packets of no more
265 than \fIn\fR bytes through the PPP network interface. 
266 .TP
267 .B name \fI<n>
268 Set the name of the local system for authentication purposes to <n>.
269 .TP
270 .B user \fI<u>
271 Set the user name to use for authenticating this machine with the peer
272 using PAP to <u>.
273 .TP
274 .B usehostname
275 Enforce the use of the hostname as the name of the local system for
276 authentication purposes (overrides the
277 .B name
278 option).
279 .TP
280 .B remotename \fI<n>
281 Set the assumed name of the remote system for authentication purposes
282 to <n>.
283 .TP
284 .B proxyarp
285 Add an entry to this system's ARP [Address Resolution Protocol] table
286 with the IP address of the peer and the Ethernet address of this
287 system.
288 .TP
289 .B login
290 Use the system password database for authenticating the peer using
291 PAP.
292 .TP
293 .B noipdefault
294 Disables the default behaviour when no local IP address is specified,
295 which is to determine (if possible) the local IP address from the
296 hostname.  With this option, the peer will have to supply the local IP
297 address during IPCP negotiation (unless it specified explicitly on the
298 command line or in an options file).
299 .TP
300 .B lcp-echo-interval \fI<n>
301 If this option is given, \fIpppd\fR will send an LCP echo-request
302 frame to the peer every \fIn\fR seconds.  Under Linux, the
303 echo-request is sent when no packets have been received from the peer
304 for \fIn\fR seconds.  Normally the peer should respond to the
305 echo-request by sending an echo-reply.  This option can be used with
306 the \fIlcp-echo-failure\fR option to detect that the peer is no longer
307 connected.
308 .TP
309 .B lcp-echo-failure \fI<n>
310 If this option is given, \fIpppd\fR will presume the peer to be dead
311 if \fIn\fR LCP echo-requests are sent without receiving a valid LCP
312 echo-reply.  If this happens, \fIpppd\fR will terminate the
313 connection.  Use of this option requires a non-zero value for the
314 \fIlcp-echo-interval\fR parameter.  This option can be used to enable
315 \fIpppd\fR to terminate after the physical connection has been broken
316 (e.g., the modem has hung up) in situations where no hardware modem
317 control lines are available.
318 .TP
319 .B lcp-restart \fI<n>
320 Set the LCP restart interval (retransmission timeout) to <n> seconds
321 (default 3).
322 .TP
323 .B lcp-max-terminate \fI<n>
324 Set the maximum number of LCP terminate-request transmissions to <n>
325 (default 3).
326 .TP
327 .B lcp-max-configure \fI<n>
328 Set the maximum number of LCP configure-request transmissions to <n>
329 (default 10).
330 .TP
331 .B lcp-max-failure \fI<n>
332 Set the maximum number of LCP configure-NAKs returned before starting
333 to send configure-Rejects instead to <n> (default 10).
334 .TP
335 .B ipcp-restart \fI<n>
336 Set the IPCP restart interval (retransmission timeout) to <n> seconds
337 (default 3).
338 .TP
339 .B ipcp-max-terminate \fI<n>
340 Set the maximum number of IPCP terminate-request transmissions to <n>
341 (default 3).
342 .TP
343 .B ipcp-max-configure \fI<n>
344 Set the maximum number of IPCP configure-request transmissions to <n>
345 (default 10).
346 .TP
347 .B ipcp-max-failure \fI<n>
348 Set the maximum number of IPCP configure-NAKs returned before starting
349 to send configure-Rejects instead to <n> (default 10).
350 .TP
351 .B pap-restart \fI<n>
352 Set the PAP restart interval (retransmission timeout) to <n> seconds
353 (default 3).
354 .TP
355 .B pap-max-authreq \fI<n>
356 Set the maximum number of PAP authenticate-request transmissions to
357 <n> (default 10).
358 .TP
359 .B chap-restart \fI<n>
360 Set the CHAP restart interval (retransmission timeout for challenges)
361 to <n> seconds (default 3).
362 .TP
363 .B chap-max-challenge \fI<n>
364 Set the maximum number of CHAP challenge transmissions to <n> (default
365 10).
366 .TP
367 .B chap-interval \fI<n>
368 If this option is given,
369 .I pppd
370 will rechallenge the peer every <n> seconds.
371 .TP
372 .B ipcp-accept-local
373 With this option,
374 .I pppd
375 will accept the peer's idea of our local IP address, even if the
376 local IP address was specified in an option.
377 .TP
378 .B ipcp-accept-remote
379 With this option,
380 .I pppd
381 will accept the peer's idea of its (remote) IP address, even if the
382 remote IP address was specified in an option.
383 .SH OPTIONS FILES
384 Options can be taken from files as well as the command line.  
385 .I pppd
386 reads options from the files /etc/ppp/options and ~/.ppprc before
387 looking at the command line.  An options file is parsed into a series
388 of words, delimited by whitespace.  Whitespace can be included in a
389 word by enclosing the word in quotes (").  A backslash (\\) quotes the
390 following character.  A hash (#) starts a comment, which continues
391 until the end of the line.
392 .SH AUTHENTICATION
393 .I pppd
394 provides system administrators with sufficient access control that PPP
395 access to a server machine can be provided to legitimate users without
396 fear of compromising the security of the server or the network it's
397 on.  In part this is provided by the /etc/ppp/options file, where the
398 administrator can place options to require authentication whenever
399 .I pppd
400 is run, and in part by the PAP and CHAP secrets files, where the
401 administrator can restrict the set of IP addresses which individual
402 users may use.
403 .LP
404 The default behaviour of
405 .I pppd
406 is to agree to authenticate if requested, and to not
407 require authentication from the peer.  However, 
408 .I pppd
409 will not agree to
410 authenticate itself with a particular protocol if it has no secrets
411 which could be used to do so.
412 .LP
413 Authentication is based on secrets, which are selected from secrets
414 files (/etc/ppp/pap-secrets for PAP, /etc/ppp/chap-secrets for CHAP).
415 Both secrets files have the same format, and both can store secrets
416 for several combinations of server (authenticating peer) and client
417 (peer being authenticated).  Note that
418 .I pppd
419 can be both a server
420 and client, and that different protocols can be used in the two
421 directions if desired.
422 .LP
423 A secrets file is parsed into words as for a options file.  A secret
424 is specified by a line containing at least 3 words, in the order
425 client, server, secret.  Any following words on the same line are
426 taken to be a list of acceptable IP addresses for that client.  If
427 there are only 3 words on the line, it is assumed that any IP address
428 is OK; to disallow all IP addresses, use "-".  If the secret starts
429 with an `@', what follows is assumed to be the name of a file from
430 which to read the secret.  A "*" as the client or server name matches
431 any name.  When selecting a secret, \fIpppd\fR takes the best match, i.e.
432 the match with the fewest wildcards.
433 .LP
434 Thus a secrets file contains both secrets for use in authenticating
435 other hosts, plus secrets which we use for authenticating ourselves to
436 others.  Which secret to use is chosen based on the names of the host
437 (the `local name') and its peer (the `remote name').  The local name
438 is set as follows:
439 .TP 3
440 if the \fBusehostname\fR option is given,
441 then the local name is the hostname of this machine
442 (with the domain appended, if given)
443 .TP 3
444 else if the \fBname\fR option is given,
445 then use the argument of the first \fBname\fR option seen
446 .TP 3
447 else if the local IP address is specified with a hostname,
448 then use that name
449 .TP 3
450 else use the hostname of this machine (with the domain appended, if given)
451 .LP
452 When authenticating ourselves using PAP, there is also a `username'
453 which is the local name by default, but can be set with the \fBuser\fR
454 option or the \fB+ua\fR option.
455 .LP
456 The remote name is set as follows:
457 .TP 3
458 if the \fBremotename\fR option is given,
459 then use the argument of the last \fBremotename\fR option seen
460 .TP 3
461 else if the remote IP address is specified with a hostname,
462 then use that host name
463 .TP 3
464 else the remote name is the null string "".
465 .LP
466 Secrets are selected from the PAP secrets file as follows:
467 .TP 2
468 *
469 For authenticating the peer, look for a secret with client ==
470 username specified in the PAP authenticate-request, and server ==
471 local name.
472 .TP 2
473 *
474 For authenticating ourselves to the peer, look for a secret with
475 client == our username, server == remote name.
476 .LP
477 When authenticating the peer with PAP, a secret of "" matches any
478 password supplied by the peer.  If the password doesn't match the
479 secret, the password is encrypted using crypt() and checked against
480 the secret again; thus secrets for authenticating the peer can be
481 stored in encrypted form.  If the \fBlogin\fR option was specified, the
482 username and password are also checked against the system password
483 database.  Thus, the system administrator can set up the pap-secrets
484 file to allow PPP access only to certain users, and to restrict the
485 set of IP addresses that each user can use.
486 .LP
487 Secrets are selected from the CHAP secrets file as follows:
488 .TP 2
489 *
490 For authenticating the peer, look for a secret with client == name
491 specified in the CHAP-Response message, and server == local name.
492 .TP 2
493 *
494 For authenticating ourselves to the peer, look for a secret with
495 client == local name, and server == name specified in the
496 CHAP-Challenge message.
497 .LP
498 Authentication must be satisfactorily completed before IPCP (or any
499 other Network Control Protocol) can be started.  If authentication
500 fails, \fIpppd\fR will terminated the link (by closing LCP).  If IPCP
501 negotiates an unacceptable IP address for the remote host, IPCP will
502 be closed.  IP packets can only be sent or received when IPCP is open.
503 .LP
504 In some cases it is desirable to allow some hosts which can't
505 authenticate themselves to connect and use one of a restricted set of
506 IP addresses, even when the local host generally requires
507 authentication.  If the peer refuses to authenticate itself when
508 requested, \fIpppd\fR takes that as equivalent to authenticating with
509 PAP using the empty string for the username and password.  Thus, by
510 adding a line to the pap-secrets file which specifies the empty string
511 for the client and password, it is possible to allow restricted access
512 to hosts which refuse to authenticate themselves.
513 .SH ROUTING
514 .LP
515 When IPCP negotiation is completed successfully,
516 .I pppd
517 will inform the kernel of the local and remote IP addresses for the
518 ppp interface.  This is sufficient to create a
519 host route to the remote end of the link, which will enable the peers
520 to exchange IP packets.  Communication with other machines generally
521 requires further modification to routing tables and/or ARP (Address
522 Resolution Protocol) tables.  In some cases this will be done
523 automatically through the actions of the \fIrouted\fR or \fIgated\fR
524 daemons, but in most cases some further intervention is required.
525 .LP
526 Sometimes it is desirable
527 to add a default route through the remote host, as in the case of a
528 machine whose only connection to the Internet is through the ppp
529 interface.  The \fBdefaultroute\fR option causes \fIpppd\fR to create such a
530 default route when IPCP comes up, and delete it when the link is
531 terminated.
532 .LP
533 In some cases it is desirable to use proxy ARP, for example on a
534 server machine connected to a LAN, in order to allow other hosts to
535 communicate with the remote host.  The \fBproxyarp\fR option causes \fIpppd\fR
536 to look for a network interface on the same subnet as the remote host
537 (an interface supporting broadcast and ARP, which is up and not a
538 point-to-point or loopback interface).  If found, \fIpppd\fR creates a
539 permanent, published ARP entry with the IP address of the remote host
540 and the hardware address of the network interface found.
541 .SH EXAMPLES
542 .LP
543 In the simplest case, you can connect the serial ports of two machines
544 and issue a command like
545 .IP
546 pppd /dev/ttya 9600 passive
547 .LP
548 to each machine, assuming there is no \fIgetty\fR running on the
549 serial ports.  If one machine has a \fIgetty\fR running, you can use
550 \fIkermit\fR or \fItip\fR on the other machine to log in to the first
551 machine and issue a command like
552 .IP
553 pppd passive
554 .LP
555 Then exit from the communications program (making sure the connection
556 isn't dropped), and issue a command like
557 .IP
558 pppd /dev/ttya 9600
559 .LP
560 The process of logging in to the other machine and starting \fIpppd\fR
561 can be automated by using the \fBconnect\fR option to run \fIchat\fR,
562 for example:
563 .IP
564 pppd /dev/ttya 38400 connect 'chat "" "" "login:" "username"
565 "Password:" "password" "% " "exec pppd passive"'
566 .LP
567 (Note however that running chat like this will leave the password
568 visible in the parameter list of pppd and chat.)
569 .LP
570 If your serial connection is any more complicated than a piece of
571 wire, you may need to arrange for some control characters to be
572 escaped.  In particular, it is often useful to escape XON (^Q) and
573 XOFF (^S), using \fBasyncmap a0000\fR.  If the path includes a telnet,
574 you probably should escape ^] as well (\fBasyncmap 200a0000\fR).
575 If the path includes an rlogin, you will need to use the \fBescape
576 ff\fR option on the end which is running the rlogin client, since many
577 rlogin implementations are not
578 transparent; they will remove the sequence [0xff, 0xff, 0x73, 0x73,
579 followed by any 8 bytes] from the stream.
580 .SH DIAGNOSTICS
581 .LP
582 Messages are sent to the syslog daemon using facility LOG_DAEMON.
583 (This can be overriden by recompiling \fIpppd\fR with the macro
584 LOG_PPP defined as the desired facility.)  In order to see the error
585 and debug messages, you will need to edit your /etc/syslog.conf file
586 to direct the messages to the desired output device or file.
587 .LP
588 The \fBdebug\fR option causes the contents of all control packets sent
589 or received to be logged, that is, all LCP, PAP, CHAP or IPCP packets.
590 This can be useful if the PPP negotiation does not succeed.
591 If debugging is enabled at compile time, the \fBdebug\fR option also
592 causes other debugging messages to be logged.
593 .LP
594 Debugging can also be enabled by sending a
595 SIGUSR1 to the
596 .I pppd
597 process.
598 Debugging may be disabled by sending a SIGUSR2 to the
599 .I pppd
600 process.
601 .SH FILES
602 .TP
603 .B /var/run/ppp\fIn\fB.pid \fR(BSD), \fB/etc/ppp/ppp\fIn\fB.pid \fR(SunOS)
604 Process-ID for \fIpppd\fR process on ppp interface unit \fIn\fR.
605 .TP
606 .B /etc/ppp/ip-up
607 A program or script which is executed when the link is available for
608 sending and receiving IP packets (that is, IPCP has come up).  It is
609 executed with the parameters \fIinterface-name tty-device speed
610 local-IP-address remote-IP-address\fR.
611 .IP
612 This program or script is executed with the same real and effective
613 user-ID as \fIpppd\fR, that is, at least the effective user-ID and
614 possibly the real user-ID will be \fBroot\fR.  This is so that it can
615 be used to manipulate routes, run privileged daemons (e.g.
616 \fBsendmail\fR), etc.  Be careful that the contents of the
617 /etc/ppp/ip-up and /etc/ppp/ip-down scripts do not compromise your
618 system's security.
619 .TP
620 .B /etc/ppp/ip-down
621 A program or script which is executed when the link is no longer
622 available for sending and receiving IP packets.  This script can be
623 used for undoing the effects of the /etc/ppp/ip-up script.  It is
624 invoked with the same parameters as the ip-up script, and the same
625 security considerations apply, since it is executed with the same
626 effective and real user-IDs as \fIpppd\fR.
627 .TP
628 .B /etc/ppp/pap-secrets
629 Usernames, passwords and IP addresses for PAP authentication.
630 .TP
631 .B /etc/ppp/chap-secrets
632 Names, secrets and IP addresses for CHAP authentication.
633 .TP
634 .B /etc/ppp/options
635 System default options for
636 .I pppd,
637 read before user default options or command-line options.
638 .TP
639 .B ~/.ppprc
640 User default options, read before command-line options.
641 .SH SEE ALSO
642 .TP
643 .B RFC1144
644 Jacobson, V.
645 .I Compressing TCP/IP headers for low-speed serial links.
646 1990 February.
647 .TP
648 .B RFC1321
649 Rivest, R.
650 .I The MD5 Message-Digest Algorithm.
651 1992 April.
652 .TP
653 .B RFC1332
654 McGregor, G.
655 .I PPP Internet Protocol Control Protocol (IPCP).
656 1992 May.
657 .TP
658 .B RFC1334
659 Lloyd, B.; Simpson, W.A.
660 .I PPP authentication protocols.
661 1992 October.
662 .TP
663 .B RFC1548
664 Simpson, W.A.
665 .I The Point\-to\-Point Protocol (PPP).
666 1993 December.
667 .TP
668 .B RFC1549
669 Simpson, W.A.
670 .I PPP in HDLC Framing.
671 1993 December
672 .SH NOTES
673 The following signals have the specified effect when sent to the
674 .I pppd
675 process.
676 .TP
677 .B SIGINT, SIGTERM
678 These signals cause \fIpppd\fR to terminate the link (by closing LCP),
679 restore the serial device settings, and exit.
680 .TP
681 .B SIGHUP
682 Indicates that the physical layer has been disconnected.  \fIpppd\fR
683 will attempt to restore the serial device settings (this may produce
684 error messages on Suns), and then exit.
685 .SH BUGS
686 The use of the modem control lines and the effects of the \fBmodem\fR
687 and \fBlocal\fR options are not well defined.
688 .SH AUTHORS
689 Drew Perkins,
690 Brad Clements,
691 Karl Fox,
692 Greg Christy,
693 Brad Parker (brad@fcr.com),
694 Paul Mackerras (paulus@cs.anu.edu.au)