Ch 7 /etc/hosts

Robert Larsen robert at the-playground.dk
Sat Nov 9 09:50:47 PST 2002


chris.danx wrote:

> Hi,
>
> I don't know what to do for the /etc/hosts file.  The system has a NIC 
> card connected to a cable modem, from which my ISP leases me an IP for 
> an 8 or 12 hour period.  The IP is pretty much static but might change 
> at some point in the future.  What do I put?
>
> There are no webservers or anything else running on this machine, just 
> a cable modem for net access.
>
>
> Cheers,
> Danx
>

[robert at codemachine robert]$ cat /etc/hosts
127.0.0.1    localhost.localdomain    localhost     codemachine

127.0.0.1 points back to the 'lo' device so just put whatever you call your machine.

Robert


-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-support' in the subject header of the message



More information about the lfs-support mailing list