Re: Got a machine name problem

2021-02-24 Thread Brian
On Wed 24 Feb 2021 at 14:11:35 +, Brian wrote: > On Tue 23 Feb 2021 at 20:05:11 -0500, Gene Heskett wrote: > > > On Tuesday 23 February 2021 14:29:01 Tom Browder wrote: [...] > > > I also edit /etc/hosts and make the first couple of lines look like > > > this: > > > > > > 127.0.0.1

Re: Got a machine name problem

2021-02-24 Thread IL Ka
> > > Is that what you want? A local network defined entirely by hosts files? > You can do that. It's easy. Just edit your /etc/hosts files to contain > the names and addresses of your machines. > > In this scenario, your resolv.conf file will be used only to look up > hosts that live outside

Re: Got a machine name problem

2021-02-24 Thread Celejar
On Wed, 24 Feb 2021 12:25:34 -0500 Gene Heskett wrote: > On Wednesday 24 February 2021 08:44:06 Greg Wooledge wrote: > > > Gene Heskett (ghesk...@shentel.net) wrote: ... > > So, the next question is, "How can I put the line search neener.com > > into my /etc/resolv.conf file?" In a sane,

Re: Got a machine name problem

2021-02-24 Thread Greg Wooledge
Gene Heskett (ghesk...@shentel.net) wrote: > > What *exactly* are you trying to do? (crickets chirping) > > How does that work? > > By looking its alias up in /etc/hosts. I was using rhetorical devices. If you're truly using a pre-DNS local network, then a lot of what I said simply does not

Re: Got a machine name problem

2021-02-24 Thread Gene Heskett
On Wednesday 24 February 2021 08:44:06 Greg Wooledge wrote: > Gene Heskett (ghesk...@shentel.net) wrote: > > But wtf? I have edited "sudo nano" /etc/domainname, did not set the > > i bit, and the edit is still there, but asking for it is (none) > > There is no such file on my system. What made

Re: Got a machine name problem

2021-02-24 Thread Stefan Monnier
> Tomas, please read posts more carefully :-) FWIW, `man hostname` also mentions /etc/hostname and /etc/hosts. Stefan

Re: Got a machine name problem

2021-02-24 Thread Tom Browder
On Wed, Feb 24, 2021 at 08:11 Greg Wooledge wrote: > Tom Browder (tom.brow...@gmail.com) wrote: > > For my LAN hosts as well as my WLAN hosts, I have always used the > > /etc/hosts file and have never touched the default /etc/resolv.con file. > > > > I have never had any problems with connecting

Re: Got a machine name problem

2021-02-24 Thread Brian
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

Re: Got a machine name problem

2021-02-24 Thread Greg Wooledge
Tom Browder (tom.brow...@gmail.com) wrote: > For my LAN hosts as well as my WLAN hosts, I have always used the > /etc/hosts file and have never touched the default /etc/resolv.con file. > > I have never had any problems with connecting to any of those hosts except > when adding a new host snd

Re: Got a machine name problem

2021-02-24 Thread Tom Browder
On Wed, Feb 24, 2021 at 07:44 Greg Wooledge wrote: > Gene Heskett (ghesk...@shentel.net) wrote: > > But wtf? I have edited "sudo nano" /etc/domainname, did not set the i > > bit, and the edit is still there, but asking for it is (none) ... For my LAN hosts as well as my WLAN hosts, I have

Re: Got a machine name problem

2021-02-24 Thread Greg Wooledge
Gene Heskett (ghesk...@shentel.net) wrote: > But wtf? I have edited "sudo nano" /etc/domainname, did not set the i > bit, and the edit is still there, but asking for it is (none) There is no such file on my system. What made you think that you should create this file? What program did you

Re: Got a machine name problem

2021-02-24 Thread Gene Heskett
On Wednesday 24 February 2021 06:13:16 Andrew M.A. Cater wrote: > On Tue, Feb 23, 2021 at 12:58:33PM -0500, Gene Heskett wrote: > > Greetings all; > > > > I have been working on a lower priority project, replacing some atom > > powered machines with i5 powered Dells. Installing buster but > >

Re: Got a machine name problem

2021-02-24 Thread tomas
On Wed, Feb 24, 2021 at 06:14:00AM -0500, Gene Heskett wrote: > On Wednesday 24 February 2021 03:32:04 to...@tuxteam.de wrote: > > > On Tue, Feb 23, 2021 at 08:21:48PM -0500, Gene Heskett wrote: > > > On Tuesday 23 February 2021 19:22:19 James B wrote: > > > > With systemd-based Debian, the

Re: Got a machine name problem

2021-02-24 Thread Gene Heskett
On Wednesday 24 February 2021 03:32:04 to...@tuxteam.de wrote: > On Tue, Feb 23, 2021 at 08:21:48PM -0500, Gene Heskett wrote: > > On Tuesday 23 February 2021 19:22:19 James B wrote: > > > With systemd-based Debian, the probably now best way to set a > > > hostname is with: > > > > > >

Re: Got a machine name problem

2021-02-24 Thread Andrew M.A. Cater
On Tue, Feb 23, 2021 at 12:58:33PM -0500, Gene Heskett wrote: > Greetings all; > > I have been working on a lower priority project, replacing some atom > powered machines with i5 powered Dells. Installing buster but something > is overriding my efforts to rename the machine after the install

OT: Spicy stuff in sensitive areas (was Re: Got a machine name problem)

2021-02-24 Thread The Wanderer
On 2021-02-24 at 00:05, Gene Heskett wrote: > On Tuesday 23 February 2021 23:54:03 Stefan Monnier wrote: > Then reboot and cross your fingers. >>> >>> Arthritis at 86 is beginning to make that painful. :( >> >> I don't believe in crossing fingers either FWIW, I pick my nose >> instead,

Re: Got a machine name problem

2021-02-24 Thread tomas
On Tue, Feb 23, 2021 at 08:21:48PM -0500, Gene Heskett wrote: > On Tuesday 23 February 2021 19:22:19 James B wrote: > > > With systemd-based Debian, the probably now best way to set a hostname > > is with: > > > > hostnamectl set-hostname NAME > > > > What Tom suggested is completely valid, but

Re: Got a machine name problem

2021-02-23 Thread Gene Heskett
On Tuesday 23 February 2021 23:54:03 Stefan Monnier wrote: > >> Then reboot and cross your fingers. > > > > Arthritis at 86 is beginning to make that painful. :( > > I don't believe in crossing fingers either FWIW, I pick my nose > instead, and I think it works just as well (but be careful not

Re: Got a machine name problem

2021-02-23 Thread David Wright
On Tue 23 Feb 2021 at 20:21:41 (-0600), Tom Browder wrote: > On Tue, Feb 23, 2021 at 19:36 David Wright wrote: > > On Tue 23 Feb 2021 at 20:05:11 (-0500), Gene Heskett wrote: > > > On Tuesday 23 February 2021 14:29:01 Tom Browder wrote: > > ... > > > > > I also edit /etc/hosts and make the first

Re: Got a machine name problem

2021-02-23 Thread Stefan Monnier
>> Then reboot and cross your fingers. > Arthritis at 86 is beginning to make that painful. :( I don't believe in crossing fingers either FWIW, I pick my nose instead, and I think it works just as well (but be careful not to do that right after chopping some habanero), Stefan

Re: Got a machine name problem

2021-02-23 Thread Gene Heskett
On Tuesday 23 February 2021 20:35:54 David Wright wrote: > On Tue 23 Feb 2021 at 20:05:11 (-0500), Gene Heskett wrote: > > On Tuesday 23 February 2021 14:29:01 Tom Browder wrote: > > > On Tue, Feb 23, 2021 at 11:59 AM Gene Heskett wrote: ... > > > > > > > Nothing I do survives a reboot, so what

Re: Got a machine name problem

2021-02-23 Thread Tom Browder
On Tue, Feb 23, 2021 at 19:36 David Wright wrote: > On Tue 23 Feb 2021 at 20:05:11 (-0500), Gene Heskett wrote: > > On Tuesday 23 February 2021 14:29:01 Tom Browder wrote: ... > > > I also edit /etc/hosts and make the first couple of lines look like > > > this: > > > > > > 127.0.0.1

Re: Got a machine name problem

2021-02-23 Thread David Christensen
On 2021-02-23 09:58, Gene Heskett wrote: Greetings all; I have been working on a lower priority project, replacing some atom powered machines with i5 powered Dells. Installing buster but something is overriding my efforts to rename the machine after the install because I'd like to replace

Re: Got a machine name problem

2021-02-23 Thread David Wright
On Tue 23 Feb 2021 at 20:05:11 (-0500), Gene Heskett wrote: > On Tuesday 23 February 2021 14:29:01 Tom Browder wrote: > > On Tue, Feb 23, 2021 at 11:59 AM Gene Heskett wrote: ... > > > > > Nothing I do survives a reboot, so what do I do to actually rename > > > the machine and make it stick?

Re: Got a machine name problem

2021-02-23 Thread Gene Heskett
On Tuesday 23 February 2021 19:22:19 James B wrote: > With systemd-based Debian, the probably now best way to set a hostname > is with: > > hostnamectl set-hostname NAME > > What Tom suggested is completely valid, but hostnamectl should I > understand be the preferred route as I believe it will

Re: Got a machine name problem

2021-02-23 Thread Gene Heskett
On Tuesday 23 February 2021 14:29:01 Tom Browder wrote: > On Tue, Feb 23, 2021 at 11:59 AM Gene Heskett > 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

Re: Got a machine name problem

2021-02-23 Thread James B
To my mind, getting familiar with the newer 'ctl' commands that come with systemd is no bad idea.I like the consistency, personally.The 'systemctl' command is one to be used all the time particularly. -- James B portoteache...@fastmail.com Em Qua, 24 Fev ʼ21, às 00:22, James B escreveu: >

Re: Got a machine name problem

2021-02-23 Thread James B
With systemd-based Debian, the probably now best way to set a hostname is with: hostnamectl set-hostname NAME What Tom suggested is completely valid, but hostnamectl should I understand be the preferred route as I believe it will update everything necessary automatically.Doing it this way will

Re: Got a machine name problem

2021-02-23 Thread Tom Browder
On Tue, Feb 23, 2021 at 11:59 AM Gene Heskett 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

Re: Got a machine name problem

2021-02-23 Thread Dan Ritter
Gene Heskett wrote: > Greetings all; > > I have been working on a lower priority project, replacing some atom > powered machines with i5 powered Dells. Installing buster but something > is overriding my efforts to rename the machine after the install because > I'd like to replace "lathe" with

Got a machine name problem

2021-02-23 Thread Gene Heskett
Greetings all; I have been working on a lower priority project, replacing some atom powered machines with i5 powered Dells. Installing buster but something is overriding my efforts to rename the machine after the install because I'd like to replace "lathe" with "TLM" for The Little Monster.