Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Michal Jaegermann <michal@ellpspace.math.ualberta.ca>
To: axp-list@redhat.com
Subject: Re: constantly changing /etc/HOSTNAME file
Date: Sat, 26 Dec 1998 13:32:46 -0700 (MST)	[thread overview]
Message-ID: <199812262032.NAA11179@ellpspace.math.ualberta.ca> (raw)
In-Reply-To: <36854254.D3DD5A6F@infinet.com> from "jmd" at Dec 26, 98 08:08:52 pm

jmd wrote:
> 
> Everytime I connect to my ISP something overwrites the /etc/HOSTNAME
> file so that it reads a given address. (ie "a021.pm3-1.nwk.infinet.com")
> This change occurs with every login session as far as I can see, so a
> revoot will reflect the last dynamic IP assigned.

Normally (i.e. in a standard startup used by Red Hat) /etc/rc.d/rc.sysinit
startup script sets hostname, and records the change in /etc/HOSTNAME,
using values specified in /etc/sysconfig/network file (unless NETWORKING
is set to "no").  What actually is in /etc/HOSTNAME is not that important.
Even if you are using DHCP it is hard to imagine that your ISP is that
"smart" that it rewrites your sysconfig files.  I think that something
is missing here from your story.

BTW - your machine may have different names "internally" and "outside".
This is normal.

  Michal


  reply	other threads:[~1998-12-26 20:47 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-12-26 20:08 constantly changing /etc/HOSTNAME file jmd
1998-12-26 20:32 ` Michal Jaegermann [this message]
1998-12-27 21:47   ` jmd
1998-12-27 22:06     ` Tristan Colgate
1998-12-27 22:40     ` Paul Tomblin
1998-12-29 17:00       ` Maurice Hilarius
1998-12-27 23:47     ` Michal Jaegermann
  -- strict thread matches above, loose matches on Subject: below --
1998-12-27 22:41 Designer 7
1998-12-27 23:24 ` Tristan Colgate
1998-12-27 23:28   ` Paul Tomblin
1998-12-28  1:56 ` jmd
1998-12-28  2:35 Designer 7
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox