PON(1)
π PON(1) β Debian PPPD, bestie edition π
okay so this is the manual for pon, poff and plog β the three little scripts that let you start up, shut down, or peek at the log of your PPP connections. yes THAT ppp. the dial-up icon of the internet. she's giving vintage but she WORKS. π
β¨ SYNOPSIS β¨
pon [ isp-name [ options ] ]
poff [ -r ] [ -d ] [ -c ] [ -a ] [ -h ] [ isp-name ]
plog [ arguments ]
π DESCRIPTION π
so like. this page is all about the pon, plog and poff scripts, which let regular users (yes, users!!) control PPP connections. main character utilities fr fr. πΈ
π¦ pon
pon, when you invoke it with literally no arguments, runs the /etc/ppp/ppp_on_boot file β but ONLY if it exists and is executable. if it's not there (or not executable), it just starts a PPP connection using the configuration from /etc/ppp/peers/provider. that's the default behaviour unless you hand it an isp-name argument. slay.
for instance, to use ISP configuration "myisp" run:
pon myisp
pon will then use the options file /etc/ppp/peers/myisp. and bestie, you can pass additional pppd options after the ISP name too β extra toppings, no charge. π and the iconic part: pon can be used to run multiple, simultaneous PPP connections. multitasking queen.
pon takes the following command line options:
-q,--quickβ disconnect whenip-upfinishes running. this function is only available to the root user. π (sorry babes, root only)
π 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. surgical. precise. iconic. β¨
poff takes the following command line options:
-rβ causes the connection to be redialed after it is dropped.-dβ toggles the state ofpppd'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. (not me ignoring your input π)-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, know your audience. π
π§ 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 instead β 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. iykyk. π
Note: theplogscript can only be used by root or another system administrator in group"adm", due to security reasons. also, to have allpppd-generated information in one logfile thatplogcan show, you need the following line in your/etc/syslog.conffile:
local2.* -/var/log/ppp.log
π 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.
π 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>. the whole squad ate. π«Ά
π SEE ALSO π
and that's the whole vibe, bestie β brought to you by the Debian Project, dated July 2000, filed under PON(1). go forth and dial up something beautiful. πβ¨π¦
π¦ where this page comes from
- debian bookworm: ppp 2.4.9-1+1.1+b1
- debian trixie: ppp 2.5.2-1+1
- ubuntu jammy: ppp 2.4.9-1+1ubuntu3
- ubuntu noble: ppp 2.4.9-1+1.1ubuntu4
- ubuntu questing: ppp 2.5.2-1+1.1
- ubuntu resolute: ppp 2.5.2-1+1.2
- ubuntu stonking: ppp 2.5.2-1+2build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms