127.0.1.1 line, was Re: chrome web browser worthless
On Wed 02 Aug 2023 at 16:00:24 (-0400), gene heskett wrote:
> On 8/2/23 15:15, Brian wrote:
> > On Wed 02 Aug 2023 at 14:52:26 -0400, gene heskett wrote:
> > > On 8/2/23 14:26, Brian wrote:
> > > > No - that isn't the way it works. Give what is asked for, not a censored
> > > > version that suits you.
> > > >
> > > ok, same cat in full:
> > > gene@bpi52:~$ cat /etc/hosts
> > > 127.0.0.1 localhost
> > > 192.168.71.1 router.coyote.den router
> > > 192.168.71.3 coyote.coyote.den coyote
> > > 192.168.71.4 sixty40.coyote.den sixty40
> > > 192.168.71.7 vna.coyote.den vna
> > > 192.168.71.8 rock64v2.coyote.den rock64v2
> > > 192.168.71.9 bpi51.coyote.den bpi51
> > > 192.168.71.10 go704.coyote.den go704
> > > 192.168.71.11 bpi53.coyote.den bpi53
> > > 192.168.71.12 bpi54.coyote.den bpi54
> > > 192.168.71.13 rpi4.coyote.den rpi4
> > > 192.168.71.21 scanner.coyte.den scanner
> > > 192.168.71.22 rock64.coyote.den rock64
> > > 192.168.71.23 bpi52.coyote.den bpi52
> > > 192.168.71.25 tlm.coyote.den tlm
> > > 192.168.71.50 dddprint.coyote.dn dddprint
> > > 31.184.194.81 Sci-Hub.se
> >
> > Where is the line with 127.0.1.1? Debian always provides that.
> >
> True, but I've never seen a description of what that does or what its
> for.
AIUI it means that your hostname is always resolvable and reachable
regardless of whether the network is yet configured.
I assume the listing above was taken off one of the machines in
the list. I assume you can always ping localhost and 127.0.1.1
(or, for that matter, 127.any.any.any) even if you remove its
network cable (to save downing the interface). However, I would
expect that you can't ping foo (where foo is the hostname) under
the same circumstances (whereas I can).
I have no idea whether it has anything to do with your problem;
I kind of doubt it. I thought you'd solved that anyway, by
typing in the full URL (and then bookmarking it, I hope).
> So I've removed it from every machine here because its out of
> scope for 127.0.0.1.
I'm not sure what you mean by scope. 127.0.0.0 is /8 isn't it?
Cheers,
David.
Reply to: