Re: Can sychronize with a slightyly different NTP versios



DavidO wrote:

Hi:
-ntpq -p display from server unit (version 4.1):

remote refid st t when poll reach delay offset
jitter
==============================================================================
*LOCAL(0) LOCAL(0) 5 l 12 64 377 0.000 0.000
0.004

- /etc/ntp.conf from the server unit (version 4.1):

server 127.127.1.0 burst iburst
authenticate no


Try:
server 127.127.1.0 # Local clock, unit 0
fudge 127.127.1.0 stratum 10

I believe that what's happening is that without the "fudge" statement, the client sees the server as "stratum 16" which means "unsynchronized" (which it is). An ntp client will not use an unsynchronized server.
Please don't use a value lower than ten for stratum in the fudge statement; if you ever do connect to the internet you don't want to be serving incorrect time to an unsuspecting world!!

It would probably be a lot easier and consume far fewer resources to use rdate in a cron job.


.



Relevant Pages

  • Cannot synchronize to server with local clock
    ... fudged at a high stratum like 8 or 10. ... The *server* stratum varies from 16 ... Without sync machines will diverge. ... and another one stratum 14 on a given client. ...
    (comp.protocols.time.ntp)
  • Re: Cannot synchronize to server with local clock
    ... >> stratum 14 on a given client. ... No "prefer" on server in this case! ... The given client is not a leaf. ... not against MCT, last time I checked. ...
    (comp.protocols.time.ntp)
  • Re: SNTP server + ntpd 4.2.4 client
    ... that is your new client. ... plus the error from the stratum one to the stratum 2. ... That does not help if the server does not have good time. ... An SNTP server which is attached to a GPS? ...
    (comp.protocols.time.ntp)
  • Re: Philosophical question about strata
    ... A stratum one server is stratum one because it gets its time from a primary standard; ... A server that gets its time from a WWV receiver is technically stratum one and can be several milliseconds off because of the vagaries of HF radio propagation. ... A client that is three thousand miles away from a stratum one server and receiving time over a heavily used network is probably getting time that is an order of magnitude poorer than a client three hundred feet away. ...
    (comp.protocols.time.ntp)
  • Re: Philosophical question about strata
    ... Suppose you have two ntp clients that get their time from multiple ... You can use one of the stratum 1 servers, ... It seems to me that the right choice is the stratum 2 server. ... if you configure this new client so that it uses one stratum 1 ...
    (comp.protocols.time.ntp)