PPPOE.CONF(5)
β¨ PPPOE.CONF β¨
okay bestie sit DOWN because we're doing pppoe.conf(5) β that's section 5 of the File Formats Manual, and it's literally the little config file that runs your whole DSL life. no cap. π
πΈ NAME πΈ
pppoe.conf β the configuration file used by pppoe-start(8), pppoe-stop(8), pppoe-status(8) and pppoe-connect(8). it's the group chat all four of those scripts are in. π«Ά
π DESCRIPTION π
so /etc/ppp/pppoe.conf is a shell script holding all the config info for the RP-PPPoE scripts. and hear me out β pppoe.conf is used only by the various pppoe-* shell scripts, not by pppoe itself. like, it does not text pppoe. periodt.
the file is just a sequence of shell variable assignments, one after another, and here's every single one and what it means:
ETHβ the Ethernet interface that's connected to your DSL modem (thinketh0). the vibe is "which cable, bestie". πUSERβ your PPPoE user-id (for example,b1xxnxnx@sympatico.ca). your whole identity, fr fr.SERVICENAMEβ if this isn't blank, it gets passed topppoewith the-Soption. it names a service you want to ask for. usually you should just leave it blank, she's not that girl.ACNAMEβ if this isn't blank, it gets passed topppoewith the-Coption. it's the name of the access concentrator to connect to. again, usually leave it blank. let the universe decide. β¨DEMANDβ if you set it to a number, the link gets activated on demand and brought down afterDEMANDseconds. if you set it tono, the link stays up all the time instead of being activated on demand. clingy vs. chill, your call.DNSTYPEβ one ofNOCHANGE,SPECIFYorSERVER. the breakdown:NOCHANGEβpppoe-connectwill not adjust the DNS setup in any way. hands off.SPECIFYβ it re-writes/etc/resolv.confwith the values ofDNS1andDNS2. you're the source of truth, main character energy.SERVERβ it supplies theusepeerdnsoption topppd, and makes a symlink from/etc/resolv.confto/etc/ppp/resolv.conf. delegating, but make it symbolic. π
DNS1,DNS2β the IP addresses of DNS servers, if you useDNSTYPE=SPECIFY. your two lil DNS besties.NONROOTβ if the lineNONROOT=OKappears in the config file (exactly like that; no whitespace or comments, don't get cute with it), thenpppoe-wrapperwill let non-root users bring the connection up or down. note that the wrapper is installed only if you installed therp-pppoe-guipackage. it's giving "permission slip from the principal". πUSEPEERDNSβ if set to"yes", thenpppoe-connectwill supply theusepeerdnsoption topppd, which makes it grab DNS server addresses from the peer and create a new/etc/resolv.conffile. otherwise,pppoe-connectwon't supply this option, andpppdwill not modify/etc/resolv.conf. consent matters, even for resolv.conf.CONNECT_POLLβ how often (in seconds)pppoe-startshould check whether a new PPP interface has come up. if you set it to0, thenpppoe-startjust initiates the PPP session and does not wait to see if it comes up successfully. no follow-up text, she said what she said. πCONNECT_TIMEOUTβ how long (in seconds)pppoe-startshould wait for a new PPP interface to come up before it concludes thatpppoe-connectfailed and kills the session. the timer before the dramatic exit.PINGβ a character that gets echoed everyCONNECT_POLLseconds whilepppoe-startis waiting for the PPP interface to come up. lil heartbeat while you wait. πFORCEPINGβ a character that gets echoed everyCONNECT_POLLseconds whilepppoe-startis waiting for the PPP interface to come up. it's similar toPING, except the character is echoed even ifpppoe-start's standard output is not a tty. she does not need an audience to perform.PIDFILEβ a file to write the process-ID of thepppoe-connectprocess into (for example,/var/run/pppoe.pid). two extra files β$PIDFILE.pppdand$PIDFILE.pppoeβ hold the process-ID's of thepppdandpppoeprocesses respectively. receipts for everyone. π§ΎSYNCHRONOUSβ whether or not to use synchronous PPP (yesorno). synchronous PPP is safe on Linux machines with then_hdlcline discipline. (if you have a file calledn_hdlc.oin your modules directory, congrats, you have the line discipline.) it is not recommended on other machines, or on Linux machines without then_hdlcline discipline, because of some known and unsolveable race conditions in a user-mode client. that's not a vibe, that's a warning. β οΈCLAMPMSSβ the value at which to "clamp" the advertised MSS for TCP sessions. the default of1412should be fine. don't overthink her, she's fine. πLCP_INTERVALβ how often (in seconds)pppdsends out LCP echo-request packets. the "u up?" cadence.LCP_FAILUREβ how many unanswered LCP echo-requests must pile up beforepppdconcludes the link is dead. ghosted that many times and it's over. πPPPOE_TIMEOUTβ if this many seconds pass without any activity seen bypppoe, thenpppoeexits. silence is the answer.FIREWALLβ one ofNONE,STANDALONEorMASQUERADE. the lore:NONEβpppoe-connectdoes not add any firewall rules. nothing, nada.STANDALONEβ it clears existing firewall rules and sets up basic rules for a standalone machine. fresh start.MASQUERADEβ it clears existing firewall rules and sets up basic rules for an Internet gateway. networking but make it fashion.- heads up: if you run services on your machine, these simple firewall scripts are inadequate β you'll have to make your own firewall rules and set
FIREWALLtoNONE. no shortcuts, bestie, this one's on you. π₯
PPPOE_EXTRAβ any extra arguments to pass topppoe. lil bonus args.PPPD_EXTRAβ any extra arguments to pass topppd. more bonus args. β¨LINUX_PLUGINβ if non-blank, this is the full path of the Linux kernel-mode PPPoE plugin (typically/etc/ppp/plugins/rp-pppoe.so). it forcespppoe-connectto use kernel-mode PPPoE on Linux 2.4.x systems. this code is experimental and unsupported β she's not finished, she's brave. also, using the plugin causespppoe-connectto ignoreCLAMPMSS,PPPOE_EXTRA,SYNCHRONOUSandPPPOE_TIMEOUT. yes, all four. they're on read. π
okay and one last thing because it's actually kind of iconic: 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. π
π¦ SEE ALSO π¦
pppoe(8), pppoe-connect(8), pppoe-start(8), pppoe-stop(8), pppd(8), pppoe-setup(8), pppoe-wrapper(8)
the whole friend group, go say hi π«Ά
and that's the whole page, bestie!! π this one came from the 4th Berkeley Distribution, dated 21 February 2000 β a true vintage queen, still serving. mwah, stay connected, don't let your link get LCP_FAILURE'd. πΈβ¨π
π¦ 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