gpsd-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ntpsec] ntpd not synching between client and timeserver


From: Niall Parker
Subject: [ntpsec] ntpd not synching between client and timeserver
Date: Thu, 18 Nov 2021 12:30:52 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0

Hello,

Not exactly the right place for ntpsec questions but still waiting on a sub request for users@ntpsec.org

I have a timeserver with GPS+PPS running on LAN and a couple clients I'm trying to use with it. All running ntpsec-1.1.0+419 2018-03-14T12:03:57-0700 (distro package on Ubuntu 18.04 for Nvidia Jetson). The timeserver seems OK but the clients never complete synchronization (ntpwait doesn't return true) if I only use the local timeserver in ntp.conf but have no problem synchronizing if I give an external timeserver.

Feels like maybe some permissions or firewall but the clients do appear to reach the internal server OK. Machines have fixed IPs in 192.168.80/24 and can ping. Port on server is open from the clients (tested with 'nc -zuv mission 123')

from server (mission) ntp.conf: 8<-----------

# By default, exchange time with everybody, but don't allow configuration.
restrict default kod nomodify nopeer noquery limited

# Local users may interrogate the ntp server more closely.
restrict 192.168.80.0/24
restrict 127.0.0.1
restrict ::1

client ntp.conf: 8<--------------

#pool us.pool.ntp.org iburst    # uncommenting this allows client to synch

server mission iburst
server 127.127.1.0
fudge 127.127.1.0 stratum 10

restrict default kod nomodify nopeer noquery limited
restrict 127.0.0.1
restrict ::1

ntpmon output on client: 8<------------

     remote           refid      st t when poll reach   delay   offset   jitter +mission         .PPS.            1 u    7   64  377   1.0756 -1.6648   0.0695  LOCAL(0)        .LOCL.          10 l   56   64  377   0.0000 0.0000   0.0000 ntpd ntpsec-1.1.0+419 2018-03-14T12:03:57-0700Updated: 2021-11-18T12:22:04 (32)
 lstint avgint rstr r m v  count rport remote address
      0  0.993    0 . 6 2   2187 51094 localhost
      8     58   d0 . 4 4     38   123 mission

I understand there are poll options to speed up synch but was expecting defaults to work eventually, open to suggestions.

Thanks.

                ... Niall




reply via email to

[Prev in Thread] Current Thread [Next in Thread]