Linux Commands Examples

A great documentation place for Linux commands


, plog starts up, shuts down or lists the log of PPP connections

see also : plog - pppd - chat - tail


pon [ isp-name [ options ] ]
[ -r ] [ -d ] [ -c ] [ -a ] [ -h ] [ isp-name ]
[ arguments ]

add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!


poff -a
ifconfig eth0 down
echo "" > /etc/resolv.conf


This manual page describes the pon, plog and poff scripts, which allow users to control PPP connections.

, invoked without arguments, runs the /etc/ppp/ppp_on_boot file, if it exists and is executable. Otherwise, a PPP connection will be started using configuration from /etc/ppp/peers/provider. This is the default behaviour unless an isp-name argument is given.

For instance, to use ISP configuration "myisp" run:

pon myisp

pon will then use the options file /etc/ppp/peers/myisp. You can pass additional pppd options after the ISP name, too. pon can be used to run multiple, simultaneous PPP connections.

pon takes the following command line options:

-q --quick

disconnect when ip-up finishes running. This function is only available to the root user.

closes a PPP connection. If more than one PPP connection exists, the one named in the argument to poff will be killed, e.g.

poff myprovider2

will terminate the connection to myprovider2, and leave the PPP connections to e.g. "myprovider1" or "myprovider3" up and running.

poff takes the following command line options:


causes the connection to be redialed after it is dropped.


toggles the state of pppd’s debug option.


causes pppd(8) to renegotiate compression.


stops all running ppp connections. If the argument isp-name is given it will be ignored.


displays help information.


prints the version and exits.

If no argument is given, poff 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.

shows you the last few lines of /var/log/ppp.log. If that file doesn’t exist, it shows you the last few lines of your /var/log/syslog file, but excluding the lines not generated by pppd. This script makes use of the tail(1) command, so arguments that can be passed to tail(1) can also be passed to plog.

Note: the plog 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 /etc/syslog.conf file:

local2.* -/var/log/ppp.log



PPPd system options file.


System PAP passwords file.


System CHAP passwords file.


Directory holding the peer options files. The default file is called provider.


The chat script invoked from the default /etc/ppp/peers/provider.


The default PPP log file.

see also

pppd , chat , tail .


The p-commands were written by Christoph Lameter <clameter[:at:]debian[:dot:]org>. Updated and revised by Philip Hands <phil[:at:]hands[:dot:]com>.
This manual was written by Othmar Pasteka <othmar[:at:]tron[:dot:]at>. Modified by Rob Levin <lilo[:at:]openprojects[:dot:]net>, with some extensions taken from the old p-commands manual written by John Hasler <jhasler[:at:]debian[:dot:]org>.

How can this site be more helpful to YOU ?

give  feedback