From owner-freebsd-questions Fri Oct 18 20:55:52 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 72E6F37B401 for ; Fri, 18 Oct 2002 20:55:51 -0700 (PDT) Received: from ns1.webwarrior.net (overlord-host99.dsl.visi.com [209.98.86.99]) by mx1.FreeBSD.org (Postfix) with ESMTP id 19B7743E8A for ; Fri, 18 Oct 2002 20:55:51 -0700 (PDT) (envelope-from friar_josh@webwarrior.net) Received: by ns1.webwarrior.net (Postfix, from userid 1003) id E725A25304; Sat, 19 Oct 2002 04:59:53 -0500 (CDT) Date: Sat, 19 Oct 2002 04:59:53 -0500 From: Josh Paetzel To: Daniel Inzirillo Cc: Freebsd-Questions Subject: Re: Can't get to Internet - Tinker with /etc/hosts? Message-ID: <20021019095953.GB14918@ns1.webwarrior.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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