On 4/3/25 06:55, Greg Wooledge wrote:
On Wed, Apr 02, 2025 at 22:28:24 -0500, David Wright wrote:
127.0.1.1 coyote.coyote.den coyote
[...]
I don't see the point in leaving it there. If you want to send
something to coyote.coyote.den, why do you want the LAN address
when 127.0.1.1 is just as good. If the line is correct, it does
nothing; if it's incorrect, it can cause harm.
I disagree with you here.  The 127.0.1.1 address is a placeholder put
there by the installer for the more common case where a machine doesn't
have a fixed LAN IP address.  Most home or workplace computers these
days will get their addresses from DHCP without a reservation, so their
internal addresses may vary.

127.0.1.1 is used when a fixed LAN IP address isn't available.  But if
a fixed LAN IP address *is* assigned, that should be used instead.

In Gene's case, where all the addressing is manually assigned and static,
using the traditional approach (192.168.x.y coyote.coyote.den coyote)
is actually preferred.  It allows a single /etc/hosts file to be
copied across all computers on the LAN without needing to modify it
on each host.

which is the exact case here Greg. That file is copied to every new machine added on my LAN. Thank you Greg.

OFFTOPIC: I keep a separate /sshnet/listofmachines dir on each machine, and a script that mounts /home/me of every machine on my LAN to that dir tree.

 As me, root is not allowed as an sshfs login. And although doing root stuff is more difficult, sshfs has been many times more dependable than samba/cifs or nfs(4) which has to be reconfigured everytime somebody changes the dot on an i.  I do have a dhcpd, configured to respond to only one MAC, it seemed to be required in order for ntpsec to work on that machine. Then I found chrony didn't need it.  I try to make all my LAN use this machine for ntp so I don't abuse debians pool. That makes me a level3 ntp src. Amazingly, if I watch the logs, access from the rest of the planet seems to be allowed thru dd-wrt and I often see from 1 to 3 outside machines using this one for ntp.

I set that up over a year ago when I bought a QIDI XMax3 printer, which it turns out is running klipper on the arm32 version of wheezy.  As printers go, it was designed for PLA, even PETG temps are dangerous to its $65 extruder due to heat creep during a long print. Grossly inadequate hotend cooling & a pi$$-poor hotend airflow design.

More than you wanted to know.

Cheers, Gene Heskett, CET.
--
"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

Reply via email to