Time sync from ntp server using timesyncd service

Hello all,

I am using simple systemd-timesyncd service to keep update of time. It is working fine if the Ethernet is connected but not getting the accurate status of “not synchornized” if i disconnect it from internet/reboot system(NTP synchronized: yes) is not accurate as it should show (NTP synchronized: no)

Local time: Wed 2020-05-27 11:15:19 IST
Universal time: Wed 2020-05-27 05:45:19 UTC
RTC time: Wed 2020-05-27 05:45:19
Time zone: Asia/Kolkata (IST, +0530)
Network time on: yes
NTP synchronized: yes
RTC in local TZ: no

I tried to find it from other sources may be i am doing some bad configuration/not setting the any poll values and come across the parameter “PollintervalMinSec” and “PollIntervalMaxSec”. When i set these parameters in timesyncd.conf and restart the service i get the following error.

[/etc/systemd/timesyncd.conf:16] Unknown lvalue ‘PollIntervalMinSec’ in section ‘Time’
[/etc/systemd/timesyncd.conf:17] Unknown lvalue ‘PollIntervalMaxSec’ in section ‘Time’

I also came across this link (it might be help full)

I am using oe-core/bitbake to build my image. If i am missing any update please let me know.

Hi @ryan ,
Welcome to Toradex Community!

Could you please try with the latest 2.8b6 image and test the same?

Also, have a look here.