[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: DHCP and static addresses, nothing to do with Re: Who:Bookwormv.Trixie



On 4/2/25 01:28, David Wright wrote:
On Tue 01 Apr 2025 at 04:58:27 (-0400), gene heskett wrote:
On 3/31/25 23:02, David Wright wrote:
On Mon 31 Mar 2025 at 16:35:58 (-0400), gene heskett wrote:
On 3/31/25 13:55, David Wright wrote:
I don't know why you have problems with using /etc/hosts for lookups
on your LAN. I use it here without any problems, and it has to work
because there's no DNS server in my router (too cheap).

     $ grep hosts: /etc/nsswitch.conf
     hosts:          files mdns4_minimal [NOTFOUND=return] dns
because files doesn't work in bookworm, I had to:

grep hosts: /etc/nsswitch.conf
hosts:          files mdns4_minimal [NOTFOUND=return] dns myhostname
to make the hosts file work
I don't know why you're using libnss-myhostname,
neither do I David, it doesn't make sense, but I've just found that
file, except for that added word, is far different overall than the
man page example. So I've commented that word back out, and here is
what I have now, which bears no resemblance to the man page example;
So here you are, poking your system in one location, without taking
account of how it's configured elsewhere. Perhaps that's how you find
yourself in difficulties in the first place?

"I don't know why you're using libnss-myhostname" was an assumption
on the basis of your saying that you had to add "myhostname" to
make your system work. If you poke your system as randomly as you have
just done, then how would we have confidence in that being the one
change that originally made it work, and not anything else. We don't
even have solid evidence of (or the reason for) the libnss-myhostname
package being installed at all.

Also, changing configurations on a running system may well solve some
current problem, but it can affect how the system will boot up the
next time, and the effects may be deleterious. In any case, you said
your system is currently working, and took you a great deal of trouble
to make it do so, yet you're happy to moan about it, and then poke
around at random, and potentially remove some of the sticking plasters
that hold it all together.

you also called my hosts file unconventional, its been updated, is a
totally private network, so not planet visible as its all my side of
the router. Whats unconventional.
What Brian pointed out in the thread: the lack of 127.0.1.1, the
conventional way in which Debian ensures a host can find its own
name when the network is not up.

I can put it back in, but no one has ever explained why.  And since it's been gone for 27 years, what name goes with it?

Ack the man page, it should be coyote.coyote.den, but that has been 192.168.71.3 for that same 27 years.  And for quite some time before, when this machine at this address was a full house 68040 amiga. So what should I put in there for what the man page says?: 127.0.1.1       thishost.example.org   thishost
????

Experimenting I find the duplication does not seem to generate an error, other than I now had to ping itself by address, since the name is now found at 127.0.1.1 by pings lookup? I'll leave it in the hosts file as a duplicate,  until I find something that does not work, but it also has no effect on the 30 second gui freeze on opening a file I own.

  You seem to have taken umbrage
against it for no good reason. (ISTR there was a long discussion
on the subject some years ago on the list.) Substituting it back
is not a panacea. And no one on this list is likely prepared to
spend a week, or however long, in unravelling your system.
Just live with it.
Easy for you to say, you don't have the aggravation of a machine that freezes for 30 seconds, 100+ times a working day.
31.184.194.81 Sci-Hub.se scihub.se
BTW, whatever they are, I don't think they're the same host.

They were an internet site that published scientific papers that should have been public domain, for mankinds education but the paywall folks sued a couple decades ago and got their site's address legally removed from this planets dns system, but it appears they have now run out of money so it is now non-responding.  It was still pingable in the summer of '24.  I have no objection to the application process details being behind a paywall, but I do object to the fundamental theory being held for ransom.

Anyway, thank you David, I appreciate the reply's.

Cheers,
David.

Take care of #1.

heers, 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 to: