From owner-freebsd-questions Fri Oct 18 22:22:33 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 BC5CD37B401 for ; Fri, 18 Oct 2002 22:22:30 -0700 (PDT) Received: from mail.gbronline.com (mail.gbronline.com [12.145.226.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A94C43E8A for ; Fri, 18 Oct 2002 22:22:30 -0700 (PDT) (envelope-from daleco@daleco.biz) Received: from DaleCoportable [12.145.226.106] by mail.gbronline.com (SMTPD32-7.13) id ABBAC410062; Sat, 19 Oct 2002 00:20:58 -0500 Message-ID: <051901c2772e$f8aa8180$fa00a8c0@DaleCoportable> From: "DaleCo, S.P.---'the solutions people'" To: "Daniel A. Inzirillo" , "Freebsd-Questions" Cc: References: <043f01c27722$2adf0ed0$fa00a8c0@DaleCoportable> <0H470052DPMF2J@falla.videotron.net> Subject: Re: Can't get to Internet - Tinker with /etc/hosts? Date: Sat, 19 Oct 2002 00:18:32 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2720.3000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 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 From: "Daniel A. Inzirillo" To: "DaleCo, S.P.---'the solutions people'" ; "Freebsd-Questions" Cc: Sent: Friday, October 18, 2002 11:50 PM Subject: Re: Can't get to Internet - Tinker with /etc/hosts? > 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" > Well that would look something like this: $more /etc/hosts # In case you want to be able to connect to the Internet, you need # real official assigned numbers. Do not try to invent your own network # numbers but instead get one from your network provider (if any). # 192.168.11.1 gateway 192.168.11.3 pantagruel.domain.tld pantagruel > > 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 > > Yeah, I think it'd fix the issue. FBSD needs to know whom to query for names. Stick your router addy in there as above, if it will do DNS, if not, use your ISP's DNS server's IP. G'luck, KDK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message