Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Oct 2002 00:18:32 -0500
From:      "DaleCo, S.P.---'the solutions people'" <daleco@daleco.biz>
To:        "Daniel A. Inzirillo" <dinz@videotron.ca>, "Freebsd-Questions" <freebsd-questions@FreeBSD.ORG>
Cc:        <dinz@videotron.ca>
Subject:   Re: Can't get to Internet - Tinker with /etc/hosts?
Message-ID:  <051901c2772e$f8aa8180$fa00a8c0@DaleCoportable>
References:  <BPEFIDMMJFLOLANKODHHMEIFCBAA.dinz@videotron.ca> <043f01c27722$2adf0ed0$fa00a8c0@DaleCoportable> <0H470052DPMF2J@falla.videotron.net>

next in thread | previous in thread | raw e-mail | index | archive | help
From: "Daniel A. Inzirillo" <dinz@videotron.ca>
To: "DaleCo, S.P.---'the solutions people'" <daleco@daleco.biz>;
"Freebsd-Questions" <freebsd-questions@FreeBSD.ORG>
Cc: <dinz@videotron.ca>
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
<snip>
# 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?051901c2772e$f8aa8180$fa00a8c0>