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

Re: Trouble getting local ntp server working



That did the trick, thank you very much, Greg!

/iain

Greg Wooledge <wooledge@kellnet.com> wrote:

>Iain Lamb (sephoqu@halfbrain.com) wrote:
>
>> stratum 16, precision -17, leap 11, trust 000
>> 
>> It's like ntpdate doesn't consider .1 'suitable' or trustworthy to
>> sync up with.  Maybe I need to find a way to bump up .1's advertised
>> stratum?
>
>That's it, precisely.
>
>You need to tell .1 to consider *itself* a stratum 10 time source.
>You do this as follows:
>
>  server 127.127.1.1
>  fudge 127.127.1.1 stratum 10
>
>(The number 127.127.1.1 is magic.  It means "use the system clock".
>Don't think of it as an IP address; pinging it will not work.)
>
>After a few minutes, this box should advertise itself as a stratum 10
>server when you ntptrace.  At that point, the "client" (.2) box can
>run "ntpdate 192.168.1.1" and ntp can maintain synchronization.


Reply to: