networking & /etc/host

Tom Needs a Hat Mitchell mitch48 at sbcglobal.net
Mon Feb 23 08:49:26 UTC 2004


On Thu, Feb 19, 2004 at 02:43:02PM -0300, Alexandre wrote:
> Em Qui, 2004-02-19 às 04:09, Philip escreveu:
> > If I'm not mistaken, when logging into my desktop I should be logged in
> > to the "local host", at least that's what it used to do. I'm set up on a
> 
> No. It logs on machine's name. 
> 
> > LAN (simple NetGear router on top of broad band) and when I log in to my
> > desktop I'm actually logged in to what fedora calls "dhcppc4". As the
> > login proceeds I get an error:
> > "Could not look up Internet address for dhcppc4. This will prevent GNOME
> > from operating correctly. It may be possible to correct the problem by
> > adding dhcppc4 to the file /etc/hosts"

Check the setup of the NetGear box.  

My little NG box has a configuration field that lets me specify the
nameserver my ISP gave me.  This nameserver or it's own address is the
nameserver handed to DCHCP clients.  My little NG box will act like a
nameserver but it only works if you give it that address of a working
name server that it can query.

You can also elect to set a fixed IP address outside of the DHCP
range.  My NG box serves DHCP on the first 30 some addresses so
something like 192.168.0.50 is outside of this range. With a fixed
address DHCP is out of the loop and /etc/hosts and /etc/resolv.conf
(nameserver list from ISP) let you assign local names and addresses behind
your NG NAT.  The default local side IP address of my NGbox is
192.168.0.1, and is the  default gateway.  

ALL 192.168.0.NNN addresses and names behind your NAT will need to be
in the host file if you use fixed addresses.

When things are working setup a caching name server for a quicker more
responsive feel.

So first set the nameserver in the NGbox.



-- 
	T o m  M i t c h e l l 
	mitch48-at-sbcglobal-dot-net





More information about the fedora-list mailing list