[Tizen Application-dev] Tizen developer device : setting the clock over the network
kjh at hokulea.org
Wed May 16 22:42:35 GMT 2012
Well... NTP is in the connman source, but the Tizen dev device version
of connman doesn't seem to do NTP.
First, the Tizen connman doesn't seem to see the NTP servers option on
the DHCP offer ( check the output of "dbus-send --system
--type=method_call --print-reply --dest=net.connman /
Second, it looks like the Tizen dev device doesn't have the NTP
"plugin" (ie, /usr/lib/connman/plugins contains "ethernet.so
loopback.so telephony.so", but not ntpd.so )
It would also be nice to support the "NITZ, or Network Identity and
Time Zone" protocol : http://en.wikipedia.org/wiki/NITZ (if they
enable the GSM modem).
On Wed, May 16, 2012 at 9:40 AM, Leibowitz, Michael
<michael.leibowitz at intel.com> wrote:
> On Wed, May 16, 2012 at 9:33 AM, Ken Harris <kjh at hokulea.org> wrote:
>> I wanted to set the clock on the Tizen developer device over the
>> network. I looked for an NTP client in busybox, but it doesn't seem
>> to be enabled. However, there is "rdate" in busybox (but no symlink).
> Connman has an NTP client within it. If the DCHP server advertises an
> NTP server or NTP broadcast is enabled, IIRC, connman should correctly
> set the clock.
>> I enabled an rdate server on a Linux machine on my LAN :
>> 1. edit /etc/xinetd.d/time-dgram and /etc/xinetd.d/time-stream and set
>> "disable = no"
>> 2. restart xinetd
>> To set the clock:
>> 1. Log in to the Tizen developer device (via "sdb shell", telnet, etc)
>> 2. invoke "busybox rdate host" (where "host" is the host with the
>> rdate server running).
>> It would be nice to have an NTP client. Either the one built into
>> busybox, or "Chrony" ( http://chrony.tuxfamily.org/ ), which is
>> allegedly better for machines with intermittent network connections.
> Michael Leibowitz
More information about the Application-dev