Re: Got a machine name problem
On Tue, Feb 23, 2021 at 11:59 AM Gene Heskett <gheskett@shentel.net> wrote:
...
> Nothing I do survives a reboot, so what do I do to actually rename the
> machine and make it stick? Hopefully without losiing the networking
Hey, Gene. I usually have to fiddle around a little, but I've always
had success on Debian this way (as root):
# hostname TLM
edit /etc/hostname and set the desired name to TLM if it's not
already changed
I also edit /etc/hosts and make the first couple of lines look like this:
127.0.0.1 localhost.localdomain.com localhost
127.0.1.1 TLM.geneslinuxbox.net TLM
Then reboot and cross your fingers.
Blessings,
-Tom
P.S. Keep your powder dry!
Reply to: