{"id":74,"date":"2010-10-24T16:16:14","date_gmt":"2010-10-24T19:16:14","guid":{"rendered":"http:\/\/blog.digavoip.com.br\/2010\/10\/24\/instalar-autenticador-pppoe-linux\/"},"modified":"2010-11-04T01:08:27","modified_gmt":"2010-11-04T04:08:27","slug":"instalar-autenticador-pppoe-linux","status":"publish","type":"post","link":"https:\/\/blog.abratel.com.br\/?p=74","title":{"rendered":"Instalar autenticador pppoe Linux"},"content":{"rendered":"<p>1 &#8211; apt-get install pppoe<br \/>\nRODAR O pppoe-config apos seguir os passos, editar:<\/p>\n<p>2 &#8211; criar o arquivo pppoe.conf dentro de \/etc\/ppp\/ contendo:<br \/>\nETH=&#8217;eth1&#8242;<br \/>\nUSER=&#8217;PROVEDOR@telemar.com.br&#8217;<br \/>\nDEMAND=no<br \/>\nDNSTYPE=SERVER<br \/>\nPEERDNS=yes<br \/>\nDNS1=<br \/>\nDNS2=200.165.132.147<br \/>\nDEFAULTROUTE=yes<br \/>\nCONNECT_TIMEOUT=0<br \/>\nCONNECT_POLL=2<br \/>\nACNAME=<br \/>\nSERVICENAME=<br \/>\nPING=&#8221;.&#8221;<br \/>\nCF_BASE=`basename $CONFIG`<br \/>\nPIDFILE=&#8221;\/var\/run\/$CF_BASE-pppoe.pid&#8221;<br \/>\nSYNCHRONOUS=no<br \/>\nCLAMPMSS=1412<br \/>\nLCP_INTERVAL=20<br \/>\nLCP_FAILURE=3<br \/>\nPPPOE_TIMEOUT=15<br \/>\nFIREWALL=NONE<br \/>\nLINUX_PLUGIN=<br \/>\nPPPOE_EXTRA=&#8221;&#8221;<br \/>\nPPPD_EXTRA=&#8221;&#8221;<br \/>\nRETRY_ON_FAILURE=yes<\/p>\n<p>3 &#8211; Fazer um script de autenticacao no rc2.d<br \/>\n#! \/bin\/bash<br \/>\n#<br \/>\nifconfig eth1 0.0.0.0<br \/>\n\/usr\/sbin\/pppoe-stop<br \/>\n\/usr\/sbin\/pppoe-start<\/p>\n<p>No arquivo vim \/etc\/ppp\/pap-secrets<\/p>\n<p>guest   hostname        &#8220;*&#8221;     &#8211;<br \/>\nmaster  hostname        &#8220;*&#8221;     &#8211;<br \/>\nroot    hostname        &#8220;*&#8221;     &#8211;<br \/>\nsupport hostname        &#8220;*&#8221;     &#8211;<br \/>\nstats   hostname        &#8220;*&#8221;     &#8211;<\/p>\n<p>&#8220;PROVEDOR@telemar.com.br&#8221;     *       &#8220;senha&#8221;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1 &#8211; apt-get install pppoe RODAR O pppoe-config apos seguir os passos, editar: 2 &#8211; criar o arquivo pppoe.conf dentro de \/etc\/ppp\/ contendo: ETH=&#8217;eth1&#8242; USER=&#8217;PROVEDOR@telemar.com.br&#8217; DEMAND=no DNSTYPE=SERVER PEERDNS=yes DNS1= DNS2=200.165.132.147 DEFAULTROUTE=yes CONNECT_TIMEOUT=0 CONNECT_POLL=2 ACNAME= SERVICENAME= PING=&#8221;.&#8221; CF_BASE=`basename $CONFIG` PIDFILE=&#8221;\/var\/run\/$CF_BASE-pppoe.pid&#8221; SYNCHRONOUS=no CLAMPMSS=1412 LCP_INTERVAL=20 LCP_FAILURE=3 PPPOE_TIMEOUT=15 FIREWALL=NONE&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[2],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.abratel.com.br\/index.php?rest_route=\/wp\/v2\/posts\/74"}],"collection":[{"href":"https:\/\/blog.abratel.com.br\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.abratel.com.br\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.abratel.com.br\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.abratel.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=74"}],"version-history":[{"count":0,"href":"https:\/\/blog.abratel.com.br\/index.php?rest_route=\/wp\/v2\/posts\/74\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.abratel.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=74"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.abratel.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=74"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.abratel.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=74"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}