From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 24582 invoked from network); 27 Dec 1998 23:42:53 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 27 Dec 1998 23:42:53 -0000 Received: from xcski.com (d185d1c51.rochester.rr.com [24.93.28.81]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id SAA15513 for ; Sun, 27 Dec 1998 18:28:13 -0500 Received: (from ptomblin@localhost) by xcski.com (8.8.7/8.8.7) id SAA24336; Sun, 27 Dec 1998 18:28:15 -0500 Message-ID: <19981227182814.B24026@xcski.com> Date: Sun, 27 Dec 1998 18:28:14 -0500 From: Paul Tomblin To: axp-list@redhat.com Subject: Re: constantly changing /etc/HOSTNAME file References: <19981227224122.3399.qmail@hotmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1 In-Reply-To: ; 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