Praedor Tempus wrote on Mon, Jun 24, 2002 at 03:49:25PM -0500 :
> 
> /etc/hosts:
> 127.0.0.1       localhost.localdomain   localhost
good start

> 127.0.0.1       lapdog.ravenhome.net    lapdog
bad.  Delete it.

> 10.0.0.1        lapdog.ravenhome.net    lapdog
good

> 10.0.0.5        overlord.ravenhome.net  overlord
good

One of two situtations will exist:
1) You don't have any network cards.  All hostnames that you want to use
to access stuff on your machine will be appended to the localhost line.
Leave the first part alone, just add the hostnames to it.
2) You do have at least one network card.  In this case, the localhost
line should consist solely of the first like you have listed above.  Any
other hostname should have its own IP address on the following lines.

Blue skies...           Todd
-- 
  Todd Lyons -- MandrakeSoft, Inc.   http://www.mandrakesoft.com/
UNIX was not designed to stop you from doing stupid things, because 
  that would also stop you from doing clever things. -- Doug Gwyn
   Cooker Version mandrake-release-8.3-0.2mdk Kernel 2.4.18-20mdk

Attachment: msg55694/pgp00000.pgp
Description: PGP signature

Reply via email to