We have moved to a new Sailfish OS Forum. Please start new discussions there.

option NTP for automatic time update

asked 2013-12-28 19:47:57 +0300

axaq gravatar image

updated 2013-12-29 09:12:52 +0300

eric gravatar image

Not all GSM providers seem to support automatic time updates via GSM network as mine (Germany E-Plus). It also didn't work with my N900 or N9. If I'm connected to a roaming network than it works.

I would like to have a (S)NTP option to automatically update the time. Once a day should be enough.

edit retag flag offensive close delete



I second that, a native app or native feature to do auto sync with Time servers would be good.

Makarand ( 2013-12-28 19:52:04 +0300 )edit

I agree, would be nice.

MMori ( 2013-12-28 19:59:25 +0300 )edit

I'm disappointed that this is not working out of the box. I actually took ntp support as granted when I bought the telephone. That's the number two thing I was missing on my android, and one of the reasons to buy the jolla.

tobixen ( 2015-01-09 22:33:37 +0300 )edit

2 Answers

Sort by » oldest newest most voted

answered 2013-12-28 21:31:57 +0300

lbt gravatar image

Time sync work is ongoing

ntp is available (and possibly installed) but doesn't have proper systemd integration in upstream Mer (feel free to contribute - it may need some tuning work to reduce wakeups)

pkcon install ntp

I use it as my GSM provider in the UK does not have time data.

edit flag offensive delete publish link more


Doesn't look like the traditional ntpd I'm used to. How do you use this? There's no manon Jolla. http://www.openbsd.org/cgi-bin/man.cgi?query=ntpd&apropos=0&sektion=0&manpath=OpenBSD+Current&arch=i386&format=html

WhyNotHugo ( 2014-05-01 18:37:29 +0300 )edit

NTP sync is not as easy to implement as it looks. It has taken quite some resources to get it really correct in OpenBSD. If there's no pressing reason, please don't knit your own one.

marsch ( 2015-01-07 12:40:47 +0300 )edit

answered 2015-01-07 11:24:56 +0300

slava gravatar image

connman already supports ntp, there's no need to install another ntp daemon on Jolla.

edit flag offensive delete publish link more


Enabling automatic time update in the Settings application will enable NTP time adjustment provided by connman.

As a side note, automatic time update uses NITZ data that may be provided by the cellular network [1] in addition to NTP.

[1] http://en.wikipedia.org/wiki/NITZ#Carriers_supporting_NITZ

PMG ( 2015-01-12 11:45:34 +0300 )edit

I'd be curious to know what is the default ntp time server?

JoHe ( 2015-06-24 21:41:58 +0300 )edit

connman is using NTP option provided by the DHCP server, otherwise fallback servers are 0.pool.ntp.org, 1.pool.ntp.org, 2.pool.ntp.org and 3.pool.ntp.org. On top of that, connman is also trying to default gateway as an NTP server (pretty strange idea, in my opinion). The order in which servers are contacted may vary.

slava ( 2015-06-25 18:03:31 +0300 )edit

Can connman be configured to not use the NTP option provided by the DHCP server, but only the manually set time servers?

martin ( 2016-01-29 15:09:21 +0300 )edit
Login/Signup to Answer

Question tools



Asked: 2013-12-28 19:47:57 +0300

Seen: 1,450 times

Last updated: Jan 07 '15