PON(1)
PON(1) ๐ the p-commands, bestie
okay so this is the pon, poff and plog family, straight out of Debian's pppd world โ the little scripts that let regular humans (well, you) boss their PPP connections around. sit down, grab a snack ๐, we're doing this.
โจ NAME โจ
pon, poff, plog โ starts up, shuts down or lists the log of PPP connections. no cap, that's the whole vibe. ๐
๐ธ SYNOPSIS ๐ธ
pon [ isp-name [ options ] ]
poff [ -r ] [ -d ] [ -c ] [ -a ] [ -h ] [ isp-name ]
plog [ arguments ]
like. look at them. three little icons doing three little jobs. ๐
๐ฆ DESCRIPTION ๐ฆ
This manual page describes the pon, plog and poff scripts, which allow users to control PPP connections. that's the mission statement, periodt.
๐ pon
pon, 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.
so basically: no args โ it goes looking for /etc/ppp/ppp_on_boot first, and if that's not there or not executable, it falls back to /etc/ppp/peers/provider. that's the default. that's just how it is. ๐
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 options after the ISP name, too. pon can be used to run multiple, simultaneous PPP connections. multiple!! at the same time!! main character energy fr fr ๐ฅ
๐ poff
poff 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. so it's targeted. surgical. it's giving precision. ๐
poff takes the following command line options:
-rโ causes the connection to be redialed after it is dropped.-dโ toggles the state of pppd's debug option.-cโ causespppd(8)to renegotiate compression.-aโ stops all running ppp connections. If the argument isp-name is given it will be ignored. (yeah, it just ignores it. rude but valid.)-hโ displays help information.-vโ 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. so like โ one connection? cool, handled. more than one? it panics and bails with a 1. ๐
๐ plog
plog 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. so it's basically tail with extra lore โจ
Note: theplogscript 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, thatplogcan show, you need the following line in your/etc/syslog.conffile:
local2.* -/var/log/ppp.log
like yes bestie, permissions. root or the "adm" girlies only. that's the rule and honestly? fair. ๐
๐ง FILES ๐ง
/etc/ppp/optionsโ PPPd system options file./etc/ppp/pap-secretsโ System PAP passwords file./etc/ppp/chap-secretsโ System CHAP passwords file./etc/ppp/peers/โ Directory holding the peer options files. The default file is calledprovider./etc/chatscripts/providerโ The chat script invoked from the default/etc/ppp/peers/provider./var/log/ppp.logโ The default PPP log file.
all the little homes where the magic lives ๐ ๐
๐ AUTHORS ๐
The p-commands were written by Christoph Lameter <clameter@debian.org>. Updated and revised by Philip Hands <phil@hands.com>. This manual was written by Othmar Pasteka <othmar@tron.at>. Modified by Rob Levin <lilo@openprojects.net>, with some extensions taken from the old p-commands manual written by John Hasler <jhasler@debian.org>.
shoutout to the whole squad honestly, iconic collab ๐ซถ
โญ SEE ALSO โญ
go read those next, iykyk ๐
and that's the whole page, bestie ๐ this one's a Debian Project situation, dated July 2000, and it's the PON(1) manual โ so go forth, dial up, log it, and slay. mwah ๐โจ
๐ฆ where this page comes from
- alpine 3.22: ppp-doc 2.5.2-r0 ยท BSD-3-Clause AND BSD-4-Clause AND BSD-4-Clause-Shortened AND GPL-2.0-or-later AND HPND AND LGPL-2.0-or-later AND Public-Domain AND RSA-MD
- alpine 3.23: ppp-doc 2.5.2-r1 ยท BSD-3-Clause AND BSD-4-Clause AND BSD-4-Clause-Shortened AND GPL-2.0-or-later AND HPND AND LGPL-2.0-or-later AND Public-Domain AND RSA-MD
- alpine 3.24: ppp-doc 2.5.3-r0 ยท BSD-3-Clause AND BSD-4-Clause AND BSD-4-Clause-Shortened AND GPL-2.0-or-later AND HPND AND LGPL-2.0-or-later AND Public-Domain AND RSA-MD
- arch rolling: ppp 2.5.4-1
- arch rolling: ppp 2.5.4-2 ยท GPL-2.0-or-later AND BSD-3-Clause
- arch rolling: ppp 2.5.5-1 ยท GPL-2.0-or-later AND BSD-3-Clause
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms