On Friday 12 May 2006 08:46, Boyd Stephen Smith Jr. wrote:
> 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.


Sorted :-)  It was the DNS settings in resolv.conf.  I knew it had to be 
something simple.  I couldn't see for looking!  
Thanks
Matt
-- 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Dr. Matthew R. Lee.
CASEB & ECIM
Departamento de Ecologia,
P. Universidad Catolica de Chile,
Alameda 340, Santiago,
CP 6513677
CHILE.

[EMAIL PROTECTED]
[EMAIL PROTECTED]

URL: meiochile.matthewlee.org
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

-- 
gentoo-user@gentoo.org mailing list

Reply via email to