Após a instalação do pacote, digite o comando
adsl-setup
como root.
# /sbin/adsl-setup
Agora digite o nome de usuario do seu provedor
usuario@provedor.com.br
Welcome to the ADSL client setup. First, I will run some checks onyour system to make sure the PPPoE client is installed properly...LOGIN NAMEEnter your Login Name (default usuario):
usuario@provedor.com.br
Agora escolha interface de rede conectada no modem no meu caso é
eth0
, sendo que pode ser
eth0, eth1,...
portanto abra um novo terminal e verifique com o comando ifconfig qual é a interface de rede que estáconectada no modem
eth0, eth1, ...
INTERFACEEnter the Ethernet interface connected to the ADSL modemFor Solaris, this is likely to be something like /dev/hme0.For Linux, it will be ethX, where 'X' is a number.(default eth0):
eth0
Agora apenas aceite o valor default no e aperte
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 secondsafter which the link should be dropped. If you want the link tostay up permanently, enter 'no' (two letters, lower-case.) NOTE: Demand-activated links do not interact well with dynamic IPaddresses. You may have some problems with demand-activated links.Enter the demand value (default no):
Aperte ENTER
Agora você deve especificar os DNS do seu provedor para obter automaticamente os DNS digite
server,
ou obtenha o DNS1 e DNS2 com seu provedor , por exempo da telefônica é DNS1 -200.204.0.10 e DNS2 - 200.204.0.138.
DNSPlease enter the IP address of your ISP's primary DNS server.If your ISP claims that 'the server will provide dynamic DNS addresses',enter 'server' (all lower-case) here.If you just press enter, I will assume you know what you aredoing and not modify your DNS setup.Enter the DNS information here:
server
Agora digite e redigite novamentePASSWORDPlease enter your Password: ******Please re-enter your Password: ******Agora aperte
ENTER
para permitir que usuários comuns do sistema conectem a internet através docomando
adsl-start
ADSLhttp://www.linuxbrasil.org.br/configuracoes_iniciantes/ADSL-Modem...2 de 1125/5/2011 14:33