PPPCONFIG(8)
π NAME π
okay bestie, meet pppconfig β she's the one who sets up pppd so you can actually connect to the Internet. no cap, that's literally the whole job description. π
β¨ SYNOPSIS β¨
pppconfig [--version] | [--help] | [[--dialog] | [--whiptail] |
[--gdialog] [--noname] | [providername]]
πΈ DESCRIPTION πΈ
so pppconfig is a dialog-based, interactive, menu-driven utility β think of it like a little bestie walking you through setup step by step β and she's here to automate setting up a dial-out ppp connection. she gives you extensive explanations at every single step, so you're never just standing there like ??? π§
she supports PAP, CHAP, and chat methods of authentication. she uses the standard ppp configuration files and sets ppp up so that the standard pon and poff commands can do their thing and control ppp. β¨
some of the features she's serving:
- Multiple ISP's with separate nameservers. π
- Modem detection.
- Dynamic DNS.
- Dial on demand.
- Allow non-root users to run ppp.
- Uses the
gdialogGUI dialog replacement if possible. π¦
before you runpppconfig, you gotta know some things first, okay? π you need to know what sort of authentication your isp requires, the username and password they want you to use, and the phone number. and if they make you use chat authentication, you also need the login and password prompts plus any other prompts and responses required for login. if you can't get this info from your isp, you could try dialing in withminicomand working through the procedure until you get that garbage that indicates ppp has started on the other end. iconic detective work honestly. π΅οΈ
pppconfig lets you configure connections to multiple providers β yes, plural, she's versatile. for example, you might call your isp 'provider', your employer 'theoffice' and your university 'theschool'. then you connect to your isp with 'pon', your office with 'pon theoffice', and your university with 'pon theschool'. slay. π
she can determine which serial port your modem is on β but the serial port must already be configured. this is normally done when installing Linux, so like, it's usually already handled. π
she can help you set your nameservers, or, if your ISP uses 'dynamic DNS', she can set up ppp to use that. π
she can configure ppp for demand dialing, so that your ppp connection will come up automatically. but β and this is important β she will not start pppd for you. you must still start pppd yourself ('pon' will do it). pppd will then wait in the background for you to attempt to access the Net and bring up the link. she's the planner, not the driver. π
π«Ά the nameserver tea, explained π«Ά
if you select "Static" in the "Configure Nameservers" screen, pppconfig will create a file in the /etc/ppp/resolv directory named after the provider you are configuring, and it'll contain "nameserver" lines for each of the IP numbers you gave. this file gets substituted for /etc/resolv.conf when the connection comes up. the provider name is passed in the ipparam variable so that 0dns-up knows which file to use. the original resolv.conf gets put back when the connection goes down. π
you can edit this file if you wish and add such things as "search" or "domain" directives or additional nameservers. but be sure and read the resolv.conf man page first, though β the "search" and "domain" directives probably do not do what you think they do. i said what i said. π
if you select "dynamic" in the "Configure Nameservers" screen, pppconfig will configure pppd for 'dynamic DNS' and create a file in the /etc/ppp/resolv directory named after the provider you are configuring β but containing nothing. when the connection comes up, the nameservers supplied by your ISP will be added and the file substituted for /etc/resolv.conf. you can edit this file if you wish and add such things as "search" or "domain" directives or additional nameservers. β¨
if you select "None" in the "Configure Nameservers" screen, pppconfig will create no file in /etc/ppp/resolv and will leave /etc/resolv.conf alone. ipparam is not set to the provider name and so is free for the administrator to use. free real estate. π‘
π FILES π
/etc/ppp/peers/providerβ the standardpppdoptions file for the default service provider./etc/ppp/peers/<name>β thepppdoptions file for the provider that you have named<name>./etc/ppp/peers/provider.bakβ a backup copy of/etc/ppp/peers/provider./etc/chatscripts/providerβ the standard chat script for the default service provider./etc/chatscripts/<name>β the chat script for the provider that you have named<name>./etc/chatscripts/provider.bakβ a backup copy of/etc/chatscripts/provider./etc/ppp/resolvβ a directory whereresolv.conffiles for each provider are stored./etc/ppp/ip-up.d/0dns-upβ a script that arranges for the correctresolv.conffile to be copied into place when a connection comes up./etc/ppp/ip-down.d/0dns-downβ a script that arranges for the originalresolv.conffile to be copied into place when a connection goes down./etc/init.d/dns-cleanβ a script that runs0dns-downat bootup to clean up any mess left by a crash. π§Ή/var/run/pppconfigβ a directory where temporary files created by0dns-upare stored./var/run/pppconfig/resolv.conf.bak.<provider>β a backup copy of the originalresolv.conffile.0dns-downrestores/etc/resolv.conffrom it./var/run/pppconfig/0dns.<provider>β a backup copy of theresolv.conffile for<provider>.0dns-downuses it to determine if/etc/resolv.confhas been overwritten by another process./etc/ppp/pap-secretsand/etc/ppp/chap-secretsβ these are described in thepppddocumentation.pppconfigmay add lines to these files and will change lines that it previously added.
π NOTES π
pppconfig requires pppd 2.3.7 or higher. no ancient pppd energy allowed, bestie. π
π TO DO π
Add full support for MSCHAP. it's on the vision board. β¨
π BUGS π
Don't tellpppconfigto find your modem whilepppdis running. like fr fr, just don't. chaos will ensue and nobody wants that. π
π₯ SEE ALSO π₯
chat(8), gpppon(1), plog(1), poff(1), pon(1), pppd(8), and whiptail(1). go read those too, iykyk. π
π AUTHOR π
pppconfig was written by John Hasler <jhasler@debian.org>. legend behavior. π«Ά
π COPYRIGHT π
This man page may be treated as if it were in the public domain. I waive all rights. generous queen fr. π
and that's the whole page, bestie! this one came from the Debian GNU/Linux System Manager's Manual, Version 2.3.16. go forth and pon responsibly. β¨π¦π
π¦ where this page comes from
- debian bookworm: pppconfig 2.3.27 Β· GPL-2.0-only
- debian trixie: pppconfig 2.3.30 Β· GPL-2.0-only
- ubuntu jammy: pppconfig 2.3.26
- ubuntu noble: pppconfig 2.3.28 Β· GPL-2.0-only
- ubuntu questing: pppconfig 2.3.30
- ubuntu resolute: pppconfig 2.3.30build1 Β· GPL-2.0-only
- ubuntu stonking: pppconfig 2.3.31 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms