On Friday 12 May 2006 07:27, "Matthew R. Lee" <[EMAIL PROTECTED]> wrote 
about '[gentoo-user] static ip wont connect but dhcp will':
> I have my connection set to get an ip using dhcp and this works.
>  However if I try to use a static ip, by setting it in /etc/conf.d/net,
> it doesn't work, even if I try the ip I have been given by the dhcp
> server.
> When I run /etc/init.d/net.eth0 start I get green oks for everything, 
> but trying to ping www.gentoo.org I get the following error,
> immediately: ping: unknown host www.gentoo.org
>
> Any clues as to what's up?

Can you ping by ip address outside the network?  Try pinging these 
addresses -- they are various google servers near me:
64.233.167.104
64.233.167.147
64.233.167.99

Your problem sounds like not having a valid /etc/resolv.conf, which a part 
of the process in resolving names to ip addresses.

DHCP clients will often write this file based on the information received 
from the DHCP server, but they often save the old version and put it back 
into place when they shut down.

-- 
"If there's one thing we've established over the years,
it's that the vast majority of our users don't have the slightest
clue what's best for them in terms of package stability."
-- Gentoo Developer Ciaran McCreesh

Attachment: pgp4UlcKbu9Eh.pgp
Description: PGP signature

Reply via email to