I have a computer that doesn't has internet, I put NTP to sync with a USB GPS and serve NTP to other computers. That's working, but sometimes the server is not suitable for synchronization and I need that times between computers are not more than 100ms desynchronized, because I have triggers that get references by time. Computer are all in local network and sometimes I need to call ntpdate several times until get offset lower (e.g. below).

15 Jul 15:25:07 ntpdate[10755]: adjust time server offset -0.147476 sec
15 Jul 15:25:16 ntpdate[10811]: adjust time server offset -0.144538 sec
15 Jul 15:25:25 ntpdate[10815]: adjust time server offset -0.142689 sec
15 Jul 15:26:07 ntpdate[10875]: adjust time server offset -0.126713 sec
15 Jul 15:26:18 ntpdate[10878]: adjust time server offset -0.122535 sec

The question is: Is there a way to get my computers synchronized faster and with accuracy? With NTP or which tool is better?

  • Is this a local network? – Daniel B Jul 15 '19 at 18:43
  • @DanielB yes, it is – John Job Jul 15 '19 at 20:17
  • @JohnJob why can't you just run ntp normally rather than calling ntpdate (Which is depreciated)? – user3788685 Jul 31 '19 at 17:31

an alternative to ntp is chrony. https://chrony.tuxfamily.org/comparison.html

  • Thanks, resolved with chrony – John Job Dec 17 '19 at 11:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.