Hi Terry, > sudo rdate -v 192.168.0.2 > > and got connection refused.
That tells you that the remote network stack replied saying there was nothing that was listening on the port you tried to contact. > Apparently, (according to the rdate man page), the time source 'is > usually implemented as a built-in service of inetd[1](8)' and is on > port 37 by default. Yes. inetd has been replaced by xinetd these days. They both listen on a bunch of ports and when a connection happens typically hand off the connection to another program that's unrelated to them to do the work. xinetd appears to be packaged for Raspbian. I guess the Debian folk have made it subserviant to systemd in some manner. Some ports provide such trivial functionality that inet and xinetd do the work themselves, and TCP and UDP port 37 is one of those. https://en.wikipedia.org/wiki/Xinetd gives some more detail, and its worked example is an RFC 868 time server; just what you want. Cheers, Ralph. -- Next meeting: Bournemouth, Tuesday, 2017-10-03 20:00 Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/ New thread: mailto:dorset@mailman.lug.org.uk / CHECK IF YOU'RE REPLYING Reporting bugs well: http://goo.gl/4Xue / TO THE LIST OR THE AUTHOR