{"id":3424,"date":"2022-12-20T17:02:39","date_gmt":"2022-12-20T20:02:39","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/pppoe-connect-man8\/"},"modified":"2022-12-20T17:02:39","modified_gmt":"2022-12-20T20:02:39","slug":"pppoe-connect-man8","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/pppoe-connect-man8\/","title":{"rendered":"PPPOE-CONNECT (man8)"},"content":{"rendered":"<h1 align=\"center\">PPPOE-CONNECT<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#SYNOPSIS\">SYNOPSIS<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#TECHNICAL DETAILS\">TECHNICAL DETAILS<\/a><br \/> <a href=\"#AUTHOR\">AUTHOR<\/a><br \/> <a href=\"#SEE ALSO\">SEE ALSO<\/a> <\/p>\n<hr>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">pppoe-connect \u2212 Shell script to manage a PPPoE link<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>pppoe-connect<\/b> [<i>config_file<\/i>]<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>pppoe-connect<\/b> <i>interface user<\/i> [<i>config_file<\/i>]<\/p>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>pppoe-connect<\/b> is a shell script which manages a PPPoE connection using the Roaring Penguin user-space PPPoE client. If you omit <i>config_file<\/i>, the default file <b>\/etc\/ppp\/pppoe.conf<\/b> is used. If you supply <i>interface<\/i> and <i>user<\/i>, then they override the Ethernet interface and user-name settings in the configuration file.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Note that normally, you should <i>not<\/i> invoke <b>pppoe-connect<\/b> directly. Instead, use <b>pppoe-start<\/b> to bring up the PPPoE connection.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>pppoe-connect<\/b> first reads a configuration file. It then brings up a PPPoE connection. If the connection ever drops, a message is logged to syslog, and <b>pppoe-connect<\/b> re-establishes the connection. In addition, each time the connection is dropped or cannot be established, <b>pppoe-connect<\/b> executes the script <b>\/etc\/ppp\/pppoe-lost<\/b> if it exists and is executable.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">The shell script <b>pppoe-stop<\/b> causes <b>pppoe-connect<\/b> to break out of its loop, bring the connection down, and exit.<\/p>\n<h2>TECHNICAL DETAILS <a name=\"TECHNICAL DETAILS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>pppoe-connect<\/b> uses the following shell variables from the configuration file:<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"6%\">\n<p><b>ETH<\/b><\/p>\n<\/td>\n<td width=\"5%\"><\/td>\n<td width=\"78%\">\n<p>The Ethernet interface connected to the DSL modem (for example, eth0).<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"6%\">\n<p><b>USER<\/b><\/p>\n<\/td>\n<td width=\"5%\"><\/td>\n<td width=\"78%\">\n<p>The PPPoE user-id (for example, b1xxnxnx@sympatico.ca).<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:11%;\"><b>PIDFILE<\/b><\/p>\n<p style=\"margin-left:22%;\">A file in which to write the process-ID of the pppoe-connect process (for example, <b>\/var\/run\/pppoe.pid<\/b>). Two additional files ($PIDFILE.pppd and $PIDFILE.pppoe) hold the process-ID\u2019s of the <b>pppd<\/b> and <b>pppoe<\/b> processes, respectively.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">By using different configuration files with different PIDFILE settings, you can manage multiple PPPoE connections. Just specify the configuration file as an argument to <b>pppoe-start<\/b> and <b>pppoe-stop<\/b>.<\/p>\n<h2>AUTHOR <a name=\"AUTHOR\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>pppoe-connect<\/b> was written by Dianne Skoll <dfs@roaringpenguin.com>.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">The <b>pppoe<\/b> home page is <i>http:\/\/www.roaringpenguin.com\/pppoe\/<\/i>.<\/p>\n<h2>SEE ALSO <a name=\"SEE ALSO\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">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)<\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  pppoe-connect \u2212 Shell script to manage a PPPoE link <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[5,52,550,4],"class_list":["post-3424","post","type-post","status-publish","format-standard","hentry","category-8-administracion-del-sistema","tag-5","tag-administracion","tag-adsl-connect","tag-man8"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3424","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=3424"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3424\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=3424"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=3424"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=3424"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}