Olá Sílvio! A digitacão está quase correta...
digo "quase" pois faltou utilizar a tecla de espaco ao digitar o cat no diretório /etc para verificar o arquivo resolv.conf. O correto seria cat /etc/resolv.conf -> Note que existe um espaco entre o cat e /etc. Caso prefira editar o arquivo em questão, utilize enderecos de servidores DNS gratuitos como o OpenDNS [1]. Utilizo na conexão de casa e funciona perfeitamente bem (meu acesso é via cabo). r...@tombstonecity:~# cat /etc/resolv.conf nameserver 208.67.220.220 nameserver 208.67.222.222 r...@tombstonecity:~# Quanto ao DHCP, obtive o seguinte resultado para minha placa de rede (eth0) : r...@tombstonecity:~# dhclient eth0 Internet Systems Consortium DHCP Client V3.1.1 Copyright 2004-2008 Internet Systems Consortium. All rights reserved. For info, please visit http://www.isc.org/sw/dhcp/ Listening on LPF/eth0/00:1f:d0:f9:b1:b1 Sending on LPF/eth0/00:1f:d0:f9:b1:b1 Sending on Socket/fallback DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4 DHCPOFFER of 10.62.102.101 from 10.62.102.15 DHCPREQUEST of 10.62.102.101 on eth0 to 255.255.255.255 port 67 DHCPACK of 10.62.102.101 from 10.62.102.15 bound to 10.62.102.101 -- renewal in 5900 seconds. r...@tombstonecity:~# O resultado do ping, contando 5 pacotes apenas : r...@tombstonecity:~# ping -c 5 www.terra.com.br PING www.terra.com.br (200.176.3.142) 56(84) bytes of data. 64 bytes from www.terra.com.br (200.176.3.142): icmp_seq=1 ttl=247 time=81.2 ms 64 bytes from www.terra.com.br (200.176.3.142): icmp_seq=2 ttl=247 time=63.1 ms 64 bytes from www.terra.com.br (200.176.3.142): icmp_seq=3 ttl=247 time=122 ms 64 bytes from www.terra.com.br (200.176.3.142): icmp_seq=4 ttl=247 time=67.0 ms 64 bytes from www.terra.com.br (200.176.3.142): icmp_seq=5 ttl=247 time=86.1 ms --- www.terra.com.br ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4015ms rtt min/avg/max/mdev = 63.158/84.086/122.794/21.157 ms r...@tombstonecity:~# [1] - www.opendns.com Abracos, 2009/1/5 <[email protected]> > > Ola amigos > > O ping verificou que nao ha conexao e os comandos, por mais incrivel que > pareca, nao dao certo. Eu digito corretamente, mas a laeitura que ele faz > eh distorcida. Voces podem ver que eu digit eles certos, mas o console > muda na linha de baixo. > > Resultados dos comandos: > To run a command as administrator (user "root"), use "sudo <command>". > > See "man sudo_root" for details. > > > > > > r...@sandra-positivo:~# cat /etc/resolv.conf > > cat: /etc/resolv.conf: Arquivo ou diretório inexistente > > r...@sandra-positivo:~# cat/etc/resolv.conf > > bash: cat/etc/resolv.conf: Arquivo ou diretório inexistente > > r...@sandra-positivo:~# cat /etc.resolv.conf > > cat: /etc.resolv.conf: Arquivo ou diretório inexistente > > r...@sandra-positivo:~# ping www.terra.com.br > > ping: unknown host www.terra.com.br > > r...@sandra-positivo:~# dhclient > > Internet Systems Consortium DHCP Client V3.0.6 > > Copyright 2004-2007 Internet Systems Consortium. > > All rights reserved. > > For info, please visit http://www.isc.org/sw/dhcp/ > > > > > > Listening on LPF/eth0/00:1e:8c:58:07:75 > > Sending on LPF/eth0/00:1e:8c:58:07:75 > > Sending on Socket/fallback > > DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6 > > DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10 > > DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 13 > > DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 2 > > No DHCPOFFERS received. > > No working leases in persistent database - sleeping. > > r...@sandra-positivo:~# cat /etc/resolv.conf > > cat: /etc/resolv.conf: Arquivo ou diretório inexistente > > r...@sandra-positivo:~# ping www.terra.com.br > > ping: unknown host www.terra.com.br > > r...@sandra-positivo:~# > > > Obrigado, continuamos na labuta, > Silvio > > > > > > -- > Mais sobre o Ubuntu em português: http://www.ubuntu-br.org/comece > > Lista de discussão Ubuntu Brasil > Histórico, descadastramento e outras opções: > https://lists.ubuntu.com/mailman/listinfo/ubuntu-br -- Clayton Silva Lima Do u known binary code? Express it using your fingers/hand : 00000 00001 00110 00100 10010 10001 -- Mais sobre o Ubuntu em português: http://www.ubuntu-br.org/comece Lista de discussão Ubuntu Brasil Histórico, descadastramento e outras opções: https://lists.ubuntu.com/mailman/listinfo/ubuntu-br

