26.06.2023, 10:11
Changing LocalClockDispersion to 0 works for me.
Test script:
Time is updated:
Since this is clearly not an LM issue there's nothing else that we can help with.
Test script:
Code:
res = io.readproc('ntpd -ddd -nq -p 192.168.0.2 2>&1')
log(res)
Time is updated:
Code:
ntpd: sending query to 192.168.0.2
ntpd: reply from 192.168.0.2: offset:+106.316103 delay:0.000457 status:0x1c strat:1 refid:0x4c434f4c rootdelay:0.000000 reach:0x01
ntpd: no valid datapoints, no peer selected
ntpd: poll:1s sockets:0 interval:1s
ntpd: sending query to 192.168.0.2
ntpd: reply from 192.168.0.2: offset:+106.316103 delay:0.000573 status:0x1c strat:1 refid:0x4c434f4c rootdelay:0.000000 reach:0x03
ntpd: current time is 2023-06-26 13:08:02.956806
ntpd: setting time to 2023-06-26 13:09:49.272909 (offset +106.316103s)
Since this is clearly not an LM issue there's nothing else that we can help with.