Configuração do Speedy Home da Telefônica (ou Velox)
Este artigo/howto explica como instalar e configurar o serviço de Internet em banda larga "Speedy Home", da telefônica numa máquina Conectiva Linux. O mesmo esquema também se aplica ao Velox da Telemar.
Introdução
Sistema Operacional:
Software Necessário:
Configurando:
Primeiro você terá que desinstalar a versão antiga do rp-pppoe que provavelmente o software estará na versão rp-pppoe-3.3-1cl.
Desinstalando:
rpm -e rp-pppoe
Provavelmente ele vai dar esse erro:
- Conectiva Linux
Software Necessário:
- rp-pppoe-3.5-3.i386.rpm
Configurando:
Primeiro você terá que desinstalar a versão antiga do rp-pppoe que provavelmente o software estará na versão rp-pppoe-3.3-1cl.
Desinstalando:
rpm -e rp-pppoe
Provavelmente ele vai dar esse erro:
[root@Servidor /root]# rpm -e rp-pppoe
erro: a remoção destes pacotes quebraria dependências:
rp-pppoe é necessário para linuxconf-pppoe-1.2_1.18.0-10cl
erro: a remoção destes pacotes quebraria dependências:
rp-pppoe é necessário para linuxconf-pppoe-1.2_1.18.0-10cl
Esta dizendo que primeiro devemos desinstalar o linuxconf-pppoe-1.2_1.18.0-10cl.
Entaum vamos lah ...
rpm -e linuxconf-pppoe
e depois
rpm -e rp-pppoe
Pronto, já teremos desinstalado o pacote antigo. Agora iremos instalar a versão mais nova do rp-pppoe. Faça o download no site: http://www.rpmfind.net ou diretamente a partir do link http://www.rpmfind.net/linux/rpm2html/search.php?query=rp-pppoe e de o download desse arquivo: rp-pppoe-3.5-3.i386.rpm.
Feito isso iremos instalar:
rpm -Uvh rp-pppoe-3.5-3.i386.rpm
Pronto, já está instalado ... antes de configurarmos o adsl-setup temos que arrumar nossa placa de rede. Abra o linuxconf, entre nas configurações de rede e configure sua máquina com:
Adaptador 1: [ ] Ativo
Modo de configuração: (o) Manual ( ) Dhcp ( ) Bootp
Primeiro nome + domínio: Servidor.tucs
Apelidos (opc): Servidor
Endereço IP:
Máscara (opc):
Dispositivo de rede: eth0
Ou seja, desmarcar o checkbox [ ] Ativo, deixar o IP e a máscara de rede em branco. Depois devemos clicar em ACEITAR - FECHAR - SAIR. Pronto nossa placa estará apta a receber uma conexão. Voltaremos então ao adsl-setup.
Essa será a configuração do Provedor para podermos nos autenticar ... Digitem no shell:
adsl-setup
Welcome to the Roaring Penguin ADSL client setup. First, I will run
some checks on your system to make sure the PPPoE client is installed
properly...
Looks good! Now, please enter some information:
USER NAME
>>> Enter your PPPoE user name (default tucs@tucs.com.br):
Aqui digitaremos o nosso login.
INTERFACE
>>> Enter the Ethernet interface connected to the ADSL modem For Solaris, this is likely to be something like /dev/hme0. For Linux, it will be ethn, where 'n' is a number. (default eth0):
Aqui deveremos informar qual eth irá receber a conexão - se for eth1 altere, caso contrário basta apertar enter.
Do you want the link to come up on demand, or stay up continuously? If you want it to come up on demand, enter the idle time in seconds after which the link should be dropped. If you want the link to stay up permanently, enter 'no' (two letters, lower-case.)
NOTE: Demand-activated links do not interact well with dynamic IP addresses. You may have some problems with demand-activated links.
>>> Enter the demand value (default 200.204.0.138):
Aqui deveremos informar o DNS ... eu uso o DNS do terra, você pode colocar até 2 DNSs:
200.204.0.138
200.204.0.10
PASSWORD
>>> Please enter your PPPoE password:
Aqui informamos a senha e redigitaremos ela.
The firewall choices are:
0 - NONE: This script will not set any firewall rules. You are responsible for ensuring the security of your machine. You are STRONGLY recommended to use some kind of firewall rules.
1 - STANDALONE: Appropriate for a basic stand-alone web-surfing workstation
2 - MASQUERADE: Appropriate for a machine acting as an Internet gateway for a LAN
>>>Choose a type of firewall (0-2):
Aqui informaremos a opção 1.
** Summary of what you entered **
Ethernet Interface: eth0
User name: microlins_am@uol.com.br
Activate-on-demand: Yes; idle timeout = 200.204.0.138 seconds
DNS: Do not adjust
Firewalling: STANDALONE
>>> Accept these settings and adjust configuration files (y/n)?
Looks good! Now, please enter some information:
USER NAME
>>> Enter your PPPoE user name (default tucs@tucs.com.br):
Aqui digitaremos o nosso login.
INTERFACE
>>> Enter the Ethernet interface connected to the ADSL modem For Solaris, this is likely to be something like /dev/hme0. For Linux, it will be ethn, where 'n' is a number. (default eth0):
Aqui deveremos informar qual eth irá receber a conexão - se for eth1 altere, caso contrário basta apertar enter.
Do you want the link to come up on demand, or stay up continuously? If you want it to come up on demand, enter the idle time in seconds after which the link should be dropped. If you want the link to stay up permanently, enter 'no' (two letters, lower-case.)
NOTE: Demand-activated links do not interact well with dynamic IP addresses. You may have some problems with demand-activated links.
>>> Enter the demand value (default 200.204.0.138):
Aqui deveremos informar o DNS ... eu uso o DNS do terra, você pode colocar até 2 DNSs:
200.204.0.138
200.204.0.10
PASSWORD
>>> Please enter your PPPoE password:
Aqui informamos a senha e redigitaremos ela.
The firewall choices are:
0 - NONE: This script will not set any firewall rules. You are responsible for ensuring the security of your machine. You are STRONGLY recommended to use some kind of firewall rules.
1 - STANDALONE: Appropriate for a basic stand-alone web-surfing workstation
2 - MASQUERADE: Appropriate for a machine acting as an Internet gateway for a LAN
>>>Choose a type of firewall (0-2):
Aqui informaremos a opção 1.
** Summary of what you entered **
Ethernet Interface: eth0
User name: microlins_am@uol.com.br
Activate-on-demand: Yes; idle timeout = 200.204.0.138 seconds
DNS: Do not adjust
Firewalling: STANDALONE
>>> Accept these settings and adjust configuration files (y/n)?
Se tudo estiver correto digite y e enter ... pronto ... estará configurada ... Agora para conectar basta digitar:
adsl-start
e aguardar.
pronto...
Para você descobrir seu endereço IP:
adsl-status
ou
ifconfig
Para finalizar a conexão basta digitar:
adsl-stop
Abraços,
tucs@linuxmail.org
E para quem usa Velox da Telemar, este script que autentica automaticamente é uma mão na roda:
http://www.vivaolinux.com.br/scripts/verScript.php?codigo=54
[]'s,
Fábio