Adsl (pppoe.conf)

Estou enviando pppoe.conf para ensinar como configurar o speedy (home)

Categoria: Networking

Software: Adsl

[ Hits: 46.469 ]

Por: Romulo


Este arquivo é o arquivo de configuração da sua speedy (home) que utiliza pppoe. este arquivo fika localizado em /etc/ppp/pppoe.conf isso no conectiva.


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

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

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

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

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

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

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

DNS1=200.245.0.5
DNS2=200.245.0.7

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

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

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

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

# Specific desired AC Name
ACNAME=

# Specific desired service name
SERVICENAME=

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

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

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

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

# LCP echo interval and failure count.
LCP_INTERVAL=20
LCP_FAILURE=3

# PPPOE_TIMEOUT should be about 4*LCP_INTERVAL
PPPOE_TIMEOUT=80

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

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

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

# Rumour has it that "Citizen's Communications" with a 3Com
# HomeConnect ADSL Modem DualLink requires these extra options:
# This option is also required for the same modem with Brasil
# Telecom in Curitiba/PR and perhaps other states too.
# PPPOE_EXTRA="-f 3c12:3c13 -S ISP"

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


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

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


Comentários
[1] Comentário enviado por flippy em 27/10/2003 - 13:35h

Este arquivo me foi muito útil... Acessem pois é muito bom.

Luiz Carlos (Flippy)

[2] Comentário enviado por flippy em 27/10/2003 - 13:40h

Este arquivo me foi muito útil... Acessem pois é muito bom.

Luiz Carlos (Flippy)

[3] Comentário enviado por marvin em 16/04/2004 - 12:46h

Este arquivo .conf... serve, se eu for usar um VELOX (empresarial ???)

[4] Comentário enviado por dolfao em 04/05/2004 - 08:45h

para o sistema kurumin ele tbm funciona?????????????????????

[5] Comentário enviado por GrupoFimdeprova em 06/08/2004 - 11:13h

Eu acho que se os comentários fossem em PT-Br seria bem melhor hein!

[6] Comentário enviado por roinuj em 30/08/2004 - 12:10h

como eu configuro o linux p/ o velox residecial?

[7] Comentário enviado por billyoliveira em 26/09/2004 - 15:35h

Já fiz de tudo no conectva 10 ele conecta mas não navega o q posso fazer? tem algum tutorial de configuração? por favor!! não aguento mais ter q usa Win pra navegar...

[8] Comentário enviado por lefigo em 13/10/2004 - 09:44h

Olá "billyoliveira"! Quanto à sua pergunta sobre o Conectiva 10, vc. colocou os DNS? Sem eles vc. não conseguirá navegar!

[9] Comentário enviado por jedi001 em 24/12/2004 - 15:49h

Olha só, nao precisa discar antes pra telemar pelo modem ADSL? com os numeros como login 24 3322xxxx e senha 24 3322xxxx?
parece que o coyote nao faz isso automatico nao é?
Obrigado

[10] Comentário enviado por spikey em 07/03/2005 - 19:23h

Amigo, sabe me dizer se este arquivo funciona no Redhat 9.0. pois estou tendo sérios problemas de rota, (pelo menos é o que acho), o adsl-start as vezes demora muito para iniciar...

Valeu

[11] Comentário enviado por pikolino21 em 01/11/2005 - 11:33h

Mas e no caso do coyote qual script eu devo usar ???

[12] Comentário enviado por removido em 22/06/2006 - 00:57h

ta fraqueza

[13] Comentário enviado por Jcsf em 27/07/2006 - 14:06h

Vlw! Ajudou aqui!

[14] Comentário enviado por BetinhoShow em 21/05/2007 - 15:23h

Por Favor no Ubuntu 6.06 Funciona tbm ??
se não Alguem pode me ajudar.
Serei muito grato.

[15] Comentário enviado por LucianoPR em 08/07/2007 - 19:33h

E no caso seu estiver usando o vMware ele vai funcionar???????

[16] Comentário enviado por kpx em 10/07/2007 - 11:30h

e para wireless discada, em vez de ADSL, mas com user e senha éw só mudar a placa? pq uso um aqui para adsl e funfa na wireless que uso.

[17] Comentário enviado por tigo17 em 15/07/2007 - 15:27h

Oi, conectar conecta legal, uso Ubuntu 7.04, mas não navega também, o DNS eu não consigo alterar altero e assim qeu ligo meu modem ele volta o DNS que estava.
Tentei alterar lá nas configurações de Rede onde posso selecionar DHCP tem uma aba DNS eu altero mas fecho e continua o do meu modem do speedy.

[18] Comentário enviado por willyml10 em 21/10/2007 - 11:57h

eu to com um problemina toda vez q eu desligo e ligo o comp eu tenho q configura o conexao adsl novamente oq eu faço para resolver esse problema
sou iniciante tenha paciencia
rssssssssssssss

[19] Comentário enviado por tgomarino em 06/02/2009 - 13:34h

no Debian eu sei que vc pode config usando o comando pppoe.conf e ele só lhe pedirá informações de sua conta para a config.

[20] Comentário enviado por clonegeraldo em 25/04/2009 - 15:20h

Fiquei alegre com a versão 9.04 do ubuntu, mas sem minha internet vou lamentando via Windows mesmo porque este desenvolvedores não automatiza as conexões banda larga.

Meu modem é o modelo SpeedStream 5200 quando logo no Windows xp ou Seven basta clicar no Mozila, mas quando logo no ubuntu fico sem a internet, como será que eles pretendem concorrer com o Windows deste jeito?
Já utilizei o Comando "sudo pppoeconf" e o "sudo route add deflault ppp0" este ultimo me retorna dizendo que nem existe!

[21] Comentário enviado por guioximitsu em 02/12/2009 - 13:36h

Foi de grande ajuda para mim esse script,obrigado.

[22] Comentário enviado por dark-rogerio em 03/10/2011 - 13:22h

no novo mandriva 2011 prescisa fazer esta configurações?

sim ou não. . .

pq vou intarla as 16:00 ele pq se prescisar vou ter q copiar o post.



obrigado pela atenção


Contribuir com comentário

  



Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts