New NTP server questions/problems.
With a fair bit of help I got it working better than it was and I am grateful.
Alas a "new" problem has since appeared.
AFAIK, the NTP server is working happily but if I leave it disconnected from the outside network for a long time, it seems to hang.
I noticed this recently when I booted a KODI machine and it gave me the EPOC date.
Shortly after that I booted another RPI and checked the state of the NTP server. sure enough: It was stuck in .INIT. mode.
What I would like to know is how to detect that happening and do something.
The "catch" is that the detection needs to be on the SAME machine as the NTP server.
I may set up a remote machine which could do an
Code: Select all
So I want to keep it local on the same machine.
But for now the detection and output will be limited to the one machine.
So if the condition is detected, a GPIO pin is activated and a LED is turned on.
Anyone - please?