Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Oct 2002 04:59:53 -0500
From:      Josh Paetzel <friar_josh@webwarrior.net>
To:        Daniel Inzirillo <dinz@videotron.ca>
Cc:        Freebsd-Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Can't get to Internet - Tinker with /etc/hosts?
Message-ID:  <20021019095953.GB14918@ns1.webwarrior.net>
In-Reply-To: <BPEFIDMMJFLOLANKODHHMEIFCBAA.dinz@videotron.ca>
References:  <BPEFIDMMJFLOLANKODHHMEIFCBAA.dinz@videotron.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Oct 18, 2002 at 10:59:07PM -0400, Daniel Inzirillo wrote:
> I have two machines connected to a router using DHCP.
> One is a freshly installed FreeBSD 4.7, the other one runs Linux.
> They can ping each other.
> I can access the Internet from the Linux machine, but not from FreeBSD.
> On starting up, Gnome gave me a message to the effect that it couldn't
> resolve the host name, and may be to go edit /etc/hosts.
> 
> Is it likely that I need to add anything to /etc/hosts to fix my problem?
> What?
> 

netstat -nr should show the IP of the router as the default route.  You might 
also check ifconfig and make sure your network card is picking up an ip.  Try 
to ping an internet host by ip as well (209.98.98.98 will work) to ensure it's 
not just a name resolution issue.

Josh


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021019095953.GB14918>