From owner-freebsd-questions Fri Oct 18 21:54:24 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 4D5AE37B401 for ; Fri, 18 Oct 2002 21:54:22 -0700 (PDT) Received: from falla.videotron.net (falla.videotron.net [205.151.222.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8621F43E65 for ; Fri, 18 Oct 2002 21:54:21 -0700 (PDT) (envelope-from dinz@videotron.ca) Received: from there ([24.200.100.119]) by falla.videotron.net (Sun Internet Mail Server sims.3.5.1999.12.14.10.29.p8) with SMTP id <0H470052CPMF2J@falla.videotron.net> for freebsd-questions@FreeBSD.ORG; Sat, 19 Oct 2002 00:54:16 -0400 (EDT) Date: Sat, 19 Oct 2002 00:50:40 -0400 From: "Daniel A. Inzirillo" Subject: Re: Can't get to Internet - Tinker with /etc/hosts? In-reply-to: <043f01c27722$2adf0ed0$fa00a8c0@DaleCoportable> To: "DaleCo, S.P.---'the solutions people'" , Freebsd-Questions Cc: dinz@videotron.ca Message-id: <0H470052DPMF2J@falla.videotron.net> MIME-version: 1.0 X-Mailer: KMail [version 1.3.1] Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 8bit References: <043f01c27722$2adf0ed0$fa00a8c0@DaleCoportable> 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 Friday 18 October 2002 11:46 pm, DaleCo, S.P.---'the solutions people' wrote: > ... What happens when you attempt > to ping the router from the FBSD box? No problem, pinged it gets. It can also ping beyond the router, like 209.98.98.98 (as was suggested by Josh). Also, ifconfig shows that the IP address is the correct one (as from the router's table) > > What was Gnome message, exactly? (The machine is named Pantagruel) "Could not look up internet address for Pantagruel. This will prevent GNOME from operating correctly. It may be possible to correct the problem by adding Pantagruel to the file /etc/conf" > FBSD needs to have an interface > with an configured IP, a gateway route, and name service to access > the > Internet. > > Here's a bit from one of my boxes: > > contents of /etc/resolv.conf: I do not have an /etc/resolv.conf file. Should I? My router is serving DHCP (and of course, doing NAT) > > domain daleco.biz > nameserver 192.168.11.1 <-----that's the IP of the router, > which queries > nameservers and > gives the DNS info to the box > > partial contents of /etc/rc.conf: > > defaultrouter="192.168.11.1" > hostname="ezekiel.daleco.biz" > ifconfig_dc0="inet xxx.xxx.xxx.xxx netmask 255.255.255.0" > > As long as the router is connected and serves DNS info, and > does NAT, you should be able to connect. If the router > does DHCP, replace the quoted material after "ifconfig" with > "DHCP" and watch it go. > > HTH, > > Kevin Kinsey > DaleCo, S.P. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message