Fala Mauricio,

     Mude a configura��o do PPPoE para pegar as configura��es
     automaticamente do provedor.
     Mude o DNSTYPE para SERVER e o PEERDNS para yes
     E deixe as linhas do DNS1 e DNS2 em branco

     Deve resolver o problema... belez ?!?!

Falowz !!

     Nivaldo
 [EMAIL PROTECTED]

Thursday, June 12, 2003, 7:34:45 PM, you wrote:

MA> Ola pessoal!

MA> Instalei o slackware 9.0 e estou tendo problemas com a configuracao do adsl.

MA> Meu provedor eh o Terra (DNS primario 200.177.250.10 e DNS secundario 
MA> 200.246.248.10)
MA> Meu modem eh um DSLink 200 U/E

MA> Abaixo segue a configuracao do pppoe. Quando dou um "adsl-start", ele 
MA> informa que estah conectado, mas quando dou um "ping www.terra.com.br" nada 
MA> acontece...

MA> Alguem pode me ajudar?

MA> [],
MA> Mauricio Araujo
MA> [EMAIL PROTECTED]

MA> #***********************************************************************
MA> #
MA> # pppoe.conf
MA> #
MA> # Configuration file for rp-pppoe.  Edit as appropriate and install in
MA> # /etc/ppp/pppoe.conf
MA> #
MA> # NOTE: This file is used by the adsl-start, adsl-stop, adsl-connect and
MA> #       adsl-status shell scripts.  It is *not* used in any way by the
MA> #       "pppoe" executable.
MA> #
MA> # Copyright (C) 2000 Roaring Penguin Software Inc.
MA> #
MA> # This file may be distributed under the terms of the GNU General
MA> # Public License.
MA> #
MA> # LIC: GPL
MA> # $Id: pppoe.conf,v 1.10 2002/04/09 17:28:38 dfs Exp $
MA> #***********************************************************************

MA> # When you configure a variable, DO NOT leave spaces around the "=" sign.

MA> # Ethernet card connected to ADSL modem
MA> ETH='eth0'

MA> # ADSL user name.  You may have to supply "@provider.com"  Sympatico
MA> # users in Canada do need to include "@sympatico.ca"
MA> # Sympatico uses PAP authentication.  Make sure /etc/ppp/pap-secrets
MA> # contains the right username/password combination.
MA> # For Magma, use [EMAIL PROTECTED]
MA> USER='[EMAIL PROTECTED]'

MA> # Bring link up on demand?  Default is to leave link up all the time.
MA> # If you want the link to come up on demand, set DEMAND to a number indicating
MA> # the idle time after which the link is brought down.
MA> DEMAND=no
MA> #DEMAND=300

MA> # DNS type: SERVER=obtain from server; SPECIFY=use DNS1 and DNS2;
MA> # NOCHANGE=do not adjust.
MA> DNSTYPE=SPECIFY

MA> # Obtain DNS server addresses from the peer (recent versions of pppd only)
MA> # In old config files, this used to be called USEPEERDNS.  Changed to
MA> # PEERDNS for better Red Hat compatibility
MA> PEERDNS=no

MA> DNS1=200.177.250.10
MA> DNS2=200.246.248.10

MA> # Make the PPPoE connection your default route.  Set to
MA> # DEFAULTROUTE=no if you don't want this.
MA> DEFAULTROUTE=yes

MA> ### ONLY TOUCH THE FOLLOWING SETTINGS IF YOU'RE AN EXPERT

MA> # How long adsl-start waits for a new PPP interface to appear before
MA> # concluding something went wrong.  If you use 0, then adsl-start
MA> # exits immediately with a successful status and does not wait for the
MA> # link to come up.  Time is in seconds.
MA> #
MA> # WARNING WARNING WARNING:
MA> #
MA> # If you are using rp-pppoe on a physically-inaccessible host, set
MA> # CONNECT_TIMEOUT to 0.  This makes SURE that the machine keeps trying
MA> # to connect forever after adsl-start is called.  Otherwise, it will
MA> # give out after CONNECT_TIMEOUT seconds and will not attempt to
MA> # connect again, making it impossible to reach.
MA> CONNECT_TIMEOUT=30

MA> # How often in seconds adsl-start polls to check if link is up
MA> CONNECT_POLL=2

MA> # Specific desired AC Name
MA> ACNAME=

MA> # Specific desired service name
MA> SERVICENAME=

MA> # Character to echo at each poll.  Use PING="" if you don't want
MA> # anything echoed
MA> PING="."

MA> # File where the adsl-connect script writes its process-ID.
MA> # Three files are actually used:
MA> #   $PIDFILE       contains PID of adsl-connect script
MA> #   $PIDFILE.pppoe contains PID of pppoe process
MA> #   $PIDFILE.pppd  contains PID of pppd process
MA> CF_BASE=`basename $CONFIG`
MA> PIDFILE="/var/run/$CF_BASE-adsl.pid"

MA> # Do you want to use synchronous PPP?  "yes" or "no".  "yes" is much
MA> # easier on CPU usage, but may not work for you.  It is safer to use
MA> # "no", but you may want to experiment with "yes".  "yes" is generally
MA> # safe on Linux machines with the n_hdlc line discipline; unsafe on others.
MA> SYNCHRONOUS=no

MA> # Do you want to clamp the MSS?  Here's how to decide:
MA> # - If you have only a SINGLE computer connected to the ADSL modem, choose
MA> #   "no".
MA> # - If you have a computer acting as a gateway for a LAN, choose "1412".
MA> #   The setting of 1412 is safe for either setup, but uses slightly more
MA> #   CPU power.
MA> CLAMPMSS=1412
MA> #CLAMPMSS=no

MA> # LCP echo interval and failure count.
MA> LCP_INTERVAL=10
MA> LCP_FAILURE=3

MA> # PPPOE_TIMEOUT should be about 4*LCP_INTERVAL
MA> PPPOE_TIMEOUT=40

MA> # Firewalling: One of NONE, STANDALONE or MASQUERADE
MA> FIREWALL=STANDALONE

MA> # Linux kernel-mode plugin for pppd.  If you want to try the kernel-mode
MA> # plugin, use LINUX_PLUGIN=/etc/ppp/plugins/rp-pppoe.so
MA> LINUX_PLUGIN=

MA> # Any extra arguments to pass to pppoe.  Normally, use a blank string
MA> # like this:
MA> PPPOE_EXTRA=""

MA> # Rumour has it that "Citizen's Communications" with a 3Com
MA> # HomeConnect ADSL Modem DualLink requires these extra options:
MA> # PPPOE_EXTRA="-f 3c12:3c13 -S ISP"

MA> # Any extra arguments to pass to pppd.  Normally, use a blank string
MA> # like this:
MA> PPPD_EXTRA=""


MA> ########## DON'T CHANGE BELOW UNLESS YOU KNOW WHAT YOU ARE DOING
MA> # If you wish to COMPLETELY overrride the pppd invocation:
MA> # Example:
MA> # OVERRIDE_PPPD_COMMAND="pppd call dsl"

MA> # If you want adsl-connect to exit when connection drops:
MA> # RETRY_ON_FAILURE=no






-- 
Best regards,
 Nivaldo                            mailto:[EMAIL PROTECTED]

_______________________________________________
slack-users mailing list
[EMAIL PROTECTED]
http://www.linuxmag.com.br/mailman/listinfo/slack-users

Responder a