Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Paul Tomblin <ptomblin@xcski.com>
To: axp-list@redhat.com
Subject: Re: constantly changing /etc/HOSTNAME file
Date: Sun, 27 Dec 1998 18:28:14 -0500	[thread overview]
Message-ID: <19981227182814.B24026@xcski.com> (raw)
In-Reply-To: <Pine.LNX.3.93.981227232236.1379D-100000@zippy.spods.dcs.kcl.ac.uk>; from Tristan Colgate on Sun, Dec 27, 1998 at 11:24:54PM +0000

Quoting Tristan Colgate (colgate@spods.dcs.kcl.ac.uk):
> I know the dhcp client does alter the network file, but if you are just
> using ppp to connect to an isp dhcpcd doesnt come into play. The IP is
> negotiaited by the pppd itself.

Well, actually the /etc/HOSTNAME file is changed by
/etc/sysconfig/network-scripts/ifup-post
whenever the process of bringing up the interface changed the IP, whether it
was done by dhcp or ppp.  Since I had a static IP on my dial up account, and
dynamic IP on my cable modem, I assumed it was dhcp that did it, but I was
wrong.

I assume that if it bugs you, you can comment out the calls to set_hostname in
ifup and ifup-post.

-- 
Paul Tomblin, not speaking for anybody.
"But I heard him exclaim, as he climbed in the night
Merry Christmas to all, I have traffic in sight" - Phyllis Moses


  reply	other threads:[~1998-12-27 23:42 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-12-27 22:41 constantly changing /etc/HOSTNAME file Designer 7
1998-12-27 23:24 ` Tristan Colgate
1998-12-27 23:28   ` Paul Tomblin [this message]
1998-12-28  1:56 ` jmd
  -- strict thread matches above, loose matches on Subject: below --
1998-12-28  2:35 Designer 7
1998-12-26 20:08 jmd
1998-12-26 20:32 ` Michal Jaegermann
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
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