My kingdom for a permanent machine name !!!

Karl Auer kauer at biplane.com.au
Sat Sep 3 00:41:37 UTC 2022


On Fri, 2022-09-02 at 12:01 -0400, gene heskett wrote:
> On 9/2/22 02:27, Karl Auer wrote:
> > edit /etc/hostname
> I did, then it got changed back again

Wait, the hostname got changed back, or the value in /etc/hostname got
changed back?

If the latter then you definitely have something like DHCP screwing
with things.

> so I did it again, then sudo chattr +i on /etc/hostname,  and
> /etc/resolv.conf after I'd edited it to add:
> 
> search my.domain
> nameserver address is pointing at my router. And now everything Just
> Works.

Don't know why most of that other stuff was needed, but well done
anyway.

Regards, K.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Karl Auer (kauer at biplane.com.au)
http://www.biplane.com.au/kauer








More information about the ubuntu-users mailing list