1 .\" This manual is published under the GPL.
2 .\" All guidelines specified in the GPL apply here.
3 .\" To get an ascii file:
4 .\" groff -man -Tascii pon.1 > pon.txt
6 .TH PON 1 "July 2000" "Debian Project" "Debian PPPD"
8 pon, poff, plog \- starts up, shuts down or lists the log of PPP connections
11 [ isp-name [ options ] ]
14 [ -r ] [ -d ] [ -c ] [ -a ] [ -h ] [ isp-name ]
19 This manual page describes the \fBpon\fP, \fBplog\fP and \fBpoff\fP
20 scripts, which allow users to control PPP connections.
23 \fBpon\fP, invoked without arguments, runs the \fI/etc/ppp/ppp_on_boot\fP
24 file, if it exists and is executable. Otherwise, a PPP connection will be
25 started using configuration from \fI/etc/ppp/peers/provider\fP.
26 This is the default behaviour unless an \fBisp-name\fP argument is given.
28 For instance, to use ISP configuration "myisp" run:
32 \fBpon\fP will then use the options file \fI/etc/ppp/peers/myisp\fP.
33 You can pass additional \fBoptions\fP after the ISP name, too.
34 \fBpon\fP can be used to run multiple, simultaneous PPP connections.
37 \fBpoff\fP closes a PPP connection. If more than one PPP connection exists,
38 the one named in the argument to \fBpoff\fP will be killed, e.g.
42 will terminate the connection to myprovider2, and leave the PPP connections
43 to e.g. "myprovider1" or "myprovider3" up and running.
45 \fBpoff\fP takes the following command line options:
49 causes the connection to be redialed after it is dropped.
52 toggles the state of pppd's debug option.
57 to renegotiate compression.
60 stops all running ppp connections. If the argument \fBisp-name\fP
61 is given it will be ignored.
64 displays help information.
67 prints the version and exits.
69 If no argument is given, \fBpoff\fP will stop or signal pppd if and only
70 if there is exactly one running. If more than one connection is active,
71 it will exit with an error code of 1.
74 \fBplog\fP shows you the last few lines of \fI/var/log/ppp.log\fP. If that
75 file doesn't exist, it shows you the last few lines of your
76 \fI/var/log/syslog\fP file, but excluding the lines not generated by pppd.
77 This script makes use of the
79 command, so arguments that can be passed to
81 can also be passed to \fBplog\fP.
83 Note: the \fBplog\fP script can only be used by root or another system
84 administrator in group "adm", due to security reasons. Also, to have all
85 pppd-generated information in one logfile, that plog can show, you need the
86 following line in your \fI/etc/syslog.conf\fP file:
88 local2.* -/var/log/ppp.log
93 PPPd system options file.
95 .I /etc/ppp/pap-secrets
96 System PAP passwords file.
98 .I /etc/ppp/chap-secrets
99 System CHAP passwords file.
102 Directory holding the peer options files. The default file is called
105 .I /etc/chatscripts/provider
106 The chat script invoked from the default \fI/etc/ppp/peers/provider\fP.
109 The default PPP log file.
111 The p-commands were written by Christoph Lameter <clameter@debian.org>.
112 Updated and revised by Philip Hands <phil@hands.com>.
114 This manual was written by Othmar Pasteka <othmar@tron.at>. Modified
115 by Rob Levin <lilo@openprojects.net>, with some extensions taken from
116 the old p-commands manual written by John Hasler <jhasler@debian.org>.