Re: [SLUG] hostname won't stick

From: Mario Lombardo (mario@alienscience.com)
Date: Tue Oct 22 2002 - 15:16:00 EDT


Russell, I can't find /etc/hostname. Are you sure RH7.1 has this?
/etc/sysconfig/network had a remnant of localhost.local stuff. I
just changed it, so I'll let ya'll know.

/mario

>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>There's another file called...well..../etc/hostname that you have to use to
>set your host's name. Then it will show up when you boot...
>Your hosts file is for basic dns type name lookups.
>
>HTH
>
>Russell
>
>On Monday 21 October 2002 23:32 pm, you wrote:
>> I'm using RH7.1.
>>
>> I type at the shell prompt:
>> hostname mynewhostname
>> ypdomainname mynewhostname
>>
>> /etc/hosts has:
>> 127.0.0.1 mynewhostname
>>
>> Why is it when I reboot, I lose the mynewhostname name? It does back
>> to localhost.local.
>>
>> /mario
>
>- --
>Linux -- the OS for the Renaissance Man
>-----BEGIN PGP SIGNATURE-----
>Version: GnuPG v1.0.6 (GNU/Linux)
>Comment: For info see http://www.gnupg.org
>
>iD8DBQE9tTkKAqKGrvVshJQRAhprAJ9pVB/yqisXg9G6hyK3MZDLiN+86gCfSBy4
>cZWhHmPpJErxihRXdpyyVzQ=
>=/nuL
>-----END PGP SIGNATURE-----



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 16:32:31 EDT