Get time to sync on boot on MangOH Green

I have been unable to get the time to sync on my MangOH Green board.

I have it connected to the internet via ethernet, and everything I’ve read indicates that perhaps the reason is that because the built in time sync relies on cellular network.

Even when I ssh in and run “ntpd -q -p”, the time remains incorrect, despite the command not showing any error or output.

Thanks for any pointers in advance.

I think this topic should be addressed into the MangOH forum
here is the link
Best regards

can you give more detail of the configuration used? which module? which legato version and software inside the device?

Yes, by default it use cellular network time, previous discussion below:

How to change NTP server

Some changes is needed to make update via NTP over Ethernet automatically.
For the manual command, just tested and it works for me to update time over Ethernet.

root@swi-mdm9x15:~# ntpd -q -p
root@swi-mdm9x15:~# date
Sat Jan 1 00:09:42 UTC 2011
root@swi-mdm9x15:~# date
Thu Jul 5 11:55:42 UTC 2018

Any chance the NTP server is not accessible or blocked by network gateway or firewall?

One bad thing about “ntpd” tool is that it does not return the execution result, tcpdump capture may help to check further.

Hope it helps.