My kingdom for a permanent machine name !!!

gene heskett gheskett at shentel.net
Sat Sep 3 02:26:15 UTC 2022


On 9/2/22 20:45, Karl Auer wrote:
> 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?
hostname's reply, I wasn't smart enough to look at the file.
> 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.
Thanks Karl.


Cheers, Gene Heskett.
-- 
"There are four boxes to be used in defense of liberty:
  soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
  - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>





More information about the ubuntu-users mailing list