218 lines
5.7 KiB
HTML
218 lines
5.7 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of PON</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>PON</H1>
|
|
Section: Debian PPPD (1)<BR>Updated: July 2000<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
pon, poff, plog - starts up, shuts down or lists the log of PPP connections
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<B>pon</B>
|
|
|
|
[ isp-name [ options ] ]
|
|
<BR>
|
|
|
|
<B>poff</B>
|
|
|
|
[ -r ] [ -d ] [ -c ] [ -a ] [ -h ] [ isp-name ]
|
|
<BR>
|
|
|
|
<B>plog</B>
|
|
|
|
[ arguments ]
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
This manual page describes the <B>pon</B>, <B>plog</B> and <B>poff</B>
|
|
scripts, which allow users to control PPP connections.
|
|
<P>
|
|
|
|
<A NAME="lbAE"> </A>
|
|
<H3>pon</H3>
|
|
|
|
<B>pon</B>, invoked without arguments, runs the <I>/etc/ppp/ppp_on_boot</I>
|
|
file, if it exists and is executable. Otherwise, a PPP connection will be
|
|
started using configuration from <I>/etc/ppp/peers/provider</I>.
|
|
This is the default behaviour unless an <B>isp-name</B> argument is given.
|
|
<P>
|
|
|
|
For instance, to use ISP configuration "myisp" run:
|
|
<DL COMPACT>
|
|
<DT id="1"><DD>
|
|
pon myisp
|
|
</DL>
|
|
<P>
|
|
|
|
<B>pon</B> will then use the options file <I>/etc/ppp/peers/myisp</I>.
|
|
You can pass additional <B>pppd options</B> after the ISP name, too.
|
|
<B>pon</B> can be used to run multiple, simultaneous PPP connections.
|
|
<P>
|
|
|
|
<B>pon</B> takes the following command line options:
|
|
<DL COMPACT><DT id="2"><DD>
|
|
<DL COMPACT>
|
|
<DT id="3"><B>-q --quick</B>
|
|
|
|
<DD>
|
|
disconnect when ip-up finishes running.
|
|
This function is only available to the <I>root</I> user.
|
|
</DL>
|
|
</DL>
|
|
<A NAME="lbAF"> </A>
|
|
<H3>poff</H3>
|
|
|
|
<B>poff</B> closes a PPP connection. If more than one PPP connection exists,
|
|
the one named in the argument to <B>poff</B> will be killed, e.g.
|
|
<DL COMPACT>
|
|
<DT id="4"><DD>
|
|
poff myprovider2
|
|
</DL>
|
|
<P>
|
|
|
|
will terminate the connection to myprovider2, and leave the PPP connections
|
|
to e.g. "myprovider1" or "myprovider3" up and running.
|
|
<P>
|
|
|
|
<B>poff</B> takes the following command line options:
|
|
<DL COMPACT><DT id="5"><DD>
|
|
<DL COMPACT>
|
|
<DT id="6"><B>-r</B>
|
|
|
|
<DD>
|
|
causes the connection to be redialed after it is dropped.
|
|
<DT id="7"><B>-d</B>
|
|
|
|
<DD>
|
|
toggles the state of pppd's debug option.
|
|
<DT id="8"><B>-c</B>
|
|
|
|
<DD>
|
|
causes
|
|
<B><A HREF="/cgi-bin/man/man2html?8+pppd">pppd</A></B>(8)
|
|
|
|
to renegotiate compression.
|
|
<DT id="9"><B>-a</B>
|
|
|
|
<DD>
|
|
stops all running ppp connections. If the argument <B>isp-name</B>
|
|
is given it will be ignored.
|
|
<DT id="10"><B>-h</B>
|
|
|
|
<DD>
|
|
displays help information.
|
|
<DT id="11"><B>-v</B>
|
|
|
|
<DD>
|
|
prints the version and exits.
|
|
</DL>
|
|
<P>
|
|
|
|
If no argument is given, <B>poff</B> will stop or signal pppd if and only
|
|
if there is exactly one running. If more than one connection is active,
|
|
it will exit with an error code of 1.
|
|
<P>
|
|
|
|
</DL>
|
|
<A NAME="lbAG"> </A>
|
|
<H3>plog</H3>
|
|
|
|
<B>plog</B> shows you the last few lines of <I>/var/log/ppp.log</I>. If that
|
|
file doesn't exist, it shows you the last few lines of your
|
|
<I>/var/log/syslog</I> file, but excluding the lines not generated by pppd.
|
|
This script makes use of the
|
|
<B><A HREF="/cgi-bin/man/man2html?1+tail">tail</A></B>(1)
|
|
|
|
command, so arguments that can be passed to
|
|
<B><A HREF="/cgi-bin/man/man2html?1+tail">tail</A></B>(1)
|
|
|
|
can also be passed to <B>plog</B>.
|
|
<P>
|
|
|
|
Note: the <B>plog</B> script can only be used by root or another system
|
|
administrator in group "adm", due to security reasons. Also, to have all
|
|
pppd-generated information in one logfile, that plog can show, you need the
|
|
following line in your <I>/etc/syslog.conf</I> file:
|
|
<P>
|
|
|
|
local2.*<TT> </TT><TT> </TT>-/var/log/ppp.log<BR>
|
|
|
|
<A NAME="lbAH"> </A>
|
|
<H2>FILES</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="12"><I>/etc/ppp/options</I>
|
|
|
|
<DD>
|
|
PPPd system options file.
|
|
<DT id="13"><I>/etc/ppp/pap-secrets</I>
|
|
|
|
<DD>
|
|
System PAP passwords file.
|
|
<DT id="14"><I>/etc/ppp/chap-secrets</I>
|
|
|
|
<DD>
|
|
System CHAP passwords file.
|
|
<DT id="15"><I>/etc/ppp/peers/</I>
|
|
|
|
<DD>
|
|
Directory holding the peer options files. The default file is called
|
|
<I>provider</I>.
|
|
<DT id="16"><I>/etc/chatscripts/provider</I>
|
|
|
|
<DD>
|
|
The chat script invoked from the default <I>/etc/ppp/peers/provider</I>.
|
|
<DT id="17"><I>/var/log/ppp.log</I>
|
|
|
|
<DD>
|
|
The default PPP log file.
|
|
</DL>
|
|
<A NAME="lbAI"> </A>
|
|
<H2>AUTHORS</H2>
|
|
|
|
The p-commands were written by Christoph Lameter <<A HREF="mailto:clameter@debian.org">clameter@debian.org</A>>.
|
|
Updated and revised by Philip Hands <<A HREF="mailto:phil@hands.com">phil@hands.com</A>>.
|
|
<BR>
|
|
|
|
This manual was written by Othmar Pasteka <<A HREF="mailto:othmar@tron.at">othmar@tron.at</A>>. Modified
|
|
by Rob Levin <<A HREF="mailto:lilo@openprojects.net">lilo@openprojects.net</A>>, with some extensions taken from
|
|
the old p-commands manual written by John Hasler <<A HREF="mailto:jhasler@debian.org">jhasler@debian.org</A>>.
|
|
<A NAME="lbAJ"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?8+pppd">pppd</A></B>(8),
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?8+chat">chat</A></B>(8),
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?1+tail">tail</A></B>(1).
|
|
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="18"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="19"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="20"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DL>
|
|
<DT id="21"><A HREF="#lbAE">pon</A><DD>
|
|
<DT id="22"><A HREF="#lbAF">poff</A><DD>
|
|
<DT id="23"><A HREF="#lbAG">plog</A><DD>
|
|
</DL>
|
|
<DT id="24"><A HREF="#lbAH">FILES</A><DD>
|
|
<DT id="25"><A HREF="#lbAI">AUTHORS</A><DD>
|
|
<DT id="26"><A HREF="#lbAJ">SEE ALSO</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:05:24 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|