PPPOE-CONNECT(8)
π PPPOE-CONNECT(8) π
ok so bestie, this is a page from the System Manager's Manual, and it's about pppoe-connect β a little shell script that runs your PPPoE link like a boss. it's giving "quietly holding your whole internet together" energy. πΈ
β¨ NAME β¨
pppoe-connect β a shell script that manages a PPPoE link. she's the manager. she handles it. π«Ά
π SYNOPSIS π
pppoe-connect [config_file]
pppoe-connect interface user [config_file]
π DESCRIPTION π
pppoe-connect is a shell script that manages a PPPoE connection using the Roaring Penguin user-space PPPoE client. iconic honestly. π
If you omit config_file, the default file /etc/ppp/pppoe.conf is used. no config? she's got a fave, don't worry. π
If you supply interface and user, then they override the Ethernet interface and user-name settings in the configuration file. like, you're the main character now, your args win. β¨
π¨ okay bestie, listen: normally you should not invokepppoe-connectdirectly. instead, usepppoe-startto bring up the PPPoE connection.pppoe-connectis the backstage crew, not the opener. π
So here's the whole vibe: pppoe-connect first reads a configuration file. then it brings up a PPPoE connection. π¦
If the connection ever drops, a message is logged to syslog, and pppoe-connect re-establishes the connection. she does not let it go. she's persistent like that. πͺ
In addition, each time the connection is dropped or cannot be established, pppoe-connect executes the script /etc/ppp/pppoe-lost if it exists and is executable. (yes, only if it exists and is executable β no sneaky half-configured scripts getting run, periodt.) π₯
The shell script pppoe-stop causes pppoe-connect to break out of its loop, bring the connection down, and exit. so pppoe-stop is the "we're done here" text. π
π§ TECHNICAL DETAILS π§
pppoe-connect uses the following shell variables from the configuration file:
ETHβ the Ethernet interface connected to the DSL modem (for example,eth0). that's the plug-in spot. πUSERβ the PPPoE user-id (for example,b1xxnxnx@sympatico.ca). that's you, that's your login, bestie. πPIDFILEβ a file in which to write the process-ID of thepppoe-connectprocess (for example,/var/run/pppoe.pid). and here's the cute part: two additional files ($PIDFILE.pppdand$PIDFILE.pppoe) hold the process-ID's of thepppdandpppoeprocesses, respectively. so three little ID files, all matching, all besties. π
By using different configuration files with different PIDFILE settings, you can manage multiple PPPoE connections. just specify the configuration file as an argument to pppoe-start and pppoe-stop. multitasking queen behavior. πβ¨
π AUTHOR π
pppoe-connect was written by Dianne Skoll <dianne@skoll.ca>. absolute legend, we stan. π
The pppoe home page is https://dianne.skoll.ca/projects/rp-pppoe/. go say hi, iykyk. π§
πΈ SEE ALSO πΈ
pppoe(8), pppoe-start(8), pppoe-stop(8), pppd(8), pppoe.conf(5), pppoe-setup(8), pppoe-status(8), pppoe-sniff(8), pppoe-server(8), pppoe-relay(8)
ok that's the whole page!! π
this one came from the 4th Berkeley Distribution, and it's dated 21 February 2000 β yes, vintage, yes, still serving. slay, drink water, and go run pppoe-start instead of calling this script directly, mwah π«Άπβ¨
π¦ where this page comes from
- debian bookworm: pppoe 3.15-2 Β· GPL-2.0-or-later
- ubuntu noble: pppoe 3.15-2ubuntu1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms