Whats the best way to get ntp installed on the IoT dev kit linux image for galileo?
It doesnt seem to be on the package list visible through "opkg list"
Are there alternatives to ntpd for network time sync?
Thanks. I couldnt find the right commands for connman but rdate worked.
I'm putting the steps here for others
Install the tzdata package as the first step01root@quark00c8dc:/# opkg install tzdata02 03It would give files for the different timezones as below04root@quark00c8dc:/<code class="comments" style="font-size: 1em !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; margin: 0 !important; padding: 0 !important; color: # 008200 !important; background: no...
Yes I have the official SD card image from there.
I couldnt run ntpd, and the help for connman seems to only provide wifi/bluetooth stuff.
If it was running, it was setting to wrong date. It was also stuck at the wrong date (Sep 3) and it didnt seem to move ahead so I was thinking it wasnt doing any resets from the network.
I got tzdata from the package manager, it wasnt there by default.
Maybe I have a slightly old image, and the opkg upgrade didnt do all the new features by default?
How do you mean "couldn't run ntpd"?
BusyBox v1.22.1 (2014-08-14 18:40:30 BST) multi-call binary.
Usage: ntpd [-dnqNw] [-S PROG] [-p PEER]...
It might not come with all standard options so possibly if the time skew is too big it will fail as there is no "-g" option, i.e. you'd have to run something like rdate to set an initial date but then it should work to sync the date.
@connman "ntpd": I have seen issues in certain restricted networks. However, at least for me at home it works great - after a short time I have the correct date after booting.
I currently also don't seem to have latest version installed:<div class="alt1 line" style="margin: 0 !important; padding: 0 !important; font-size: 1em !important; background-position: initial ...