Re: Changing the hostname

From: Bit Twister (BitTwister_at_localhost.localdomain)
Date: 04/12/04


Date: Mon, 12 Apr 2004 04:02:49 GMT

On Mon, 12 Apr 2004 03:03:02 GMT, No One wrote:
> I have a Linux machine on my local area network. I have run the
> hostname command to change the host and domain name. I also ran the
> domainname command. All is well till I reboot and it resets to
> "localhost.localdomain". I am running RH 9. How do I keep the settings
> on reboot? It has a static ip.
>

Guessing,
cat /etc/sysconfig/network
HOSTNAME=wb.home.invalid <============
NETWORKING=yes
GATEWAY=192.168.1.1



Relevant Pages

  • Changing the hostname
    ... I have a Linux machine on my local area network. ... hostname command to change the host and domain name. ... All is well till I reboot and it resets to ...
    (alt.os.linux.redhat)
  • Re: Where does F8 gets the hostname from?
    ... Thomas Cameron escreveu: ... host. ... hostname command, I get: ... Did you reboot after you changed /etc/sysconfig/network? ...
    (Fedora)
  • Re: WORKAROUND Re: Cannot change hostname permanently
    ... I did try both manual change and the hostname command originally, ... perhaps I did not reboot in each case - I can't remember. ... the hostname command does not work correctly. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)