Re: Got a machine name problem
On Tue 23 Feb 2021 at 20:05:11 -0500, Gene Heskett wrote:
> On Tuesday 23 February 2021 14:29:01 Tom Browder wrote:
>
> > 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
>
> The first line is std here.
It may be your "standard", but it isn't what the installer gave you.
Is there a good reason for changing it?
> Why should it have the 2nd one?
Your machine hasn't any static external IP address. The system hostname
has to resolve to something and is assigned 127.0.1.1.
--
Brian.
Reply to: