[gpsd-dev] Draft Stratum 1 Microserver HOWTO is up

Eric S. Raymond esr at thyrsus.com
Sun May 22 20:44:33 UTC 2016


Paul Fertser <fercerpav at gmail.com>:
> Host name lookup on common GNU/Linux systems goes through libnss and
> so the actual precondition for the above command to work is that the
> "hosts" line in /etc/nsswitch.conf has mdns[_minimal] before "dns"
> (mdns4[_minimal] might work too if the LAN is not IPv6-only). I do not
> think it needs avahi-daemon running since the mDNS name resolution
> doesn't need to be mutual.

Phil and I tried this case, quite accidentally. He doesn't like
zeroconf (considers it a security risk) so he didn't have avahi-daemon
installed on his host.  Discovery failed until he fixed that.

> I have an alternative proposal for reliable address discovery, but I'm
> not sure you'll like it:

That is way, *way* off in the weeds for the intended audience

> That said, I'd probably just write something like "try
> pi at raspberrypi.local, if that doesn't work, attach physical keyboard
> and display to the SBC and figure out the assigned address with "ip a"
> command". A reader familiar with computer networks will promptly
> realise that if there's some other method of learning the address in
> the specific conditions (like nmapping the LAN or looking through DHCP
> server logs etc) he or she could employ that as well.

Added.
-- 
		<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>


More information about the devel mailing list