help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IP address question


From: Chip Seraphine
Subject: Re: IP address question
Date: Wed, 01 Oct 2003 08:15:21 -0500
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.2.1) Gecko/20030121

The installers in some Unix variants (especially some Linux distros with 'friendly' installers) actually put the hostname on the 127.0.0.1 line in /etc/hosts. This is totally wrong for a networked machine! If your box has so much as a modem, 127.0.0.1 should be "localhost localhost.localdomain" and the like (some people also use "loopback" and whatever.)

Checking the hosts file in newly built Linux boxen can save you from many annoying and subtle errors like the one you describe.

Systems Administrator wrote:
On Wed, 1 Oct 2003 Mark.Burgess@iu.hio.no wrote:


Someone else got this once because they had defined their own host as
localhost in files or dns. A reverse lookup effect.


Right. Phooey. That means that I have to use ifconfig to get my other IP.
        :)


M

On  1 Oct, Systems Administrator wrote:

Hi all. Does anyone know how cfengine determines $(ipaddress)? Because mine is currently giving 127.0.0.1.
        :)




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272            Email:  Mark.Burgess@iu.hio.no
Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~










reply via email to

[Prev in Thread] Current Thread [Next in Thread]