Ask / Submit
46

option NTP for automatic time update

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

axaq gravatar image

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

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

Comments

4

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 +0200 )edit
1

I agree, would be nice.

MMori ( 2013-12-28 19:59:25 +0200 )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 +0200 )edit

2 Answers

Sort by » oldest newest most voted
13

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

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

Comments

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 +0200 )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 +0200 )edit
10

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

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

Comments

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 +0200 )edit

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

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

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 +0200 )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 +0200 )edit
Login/Signup to Answer

Question tools

Follow
8 followers

Stats

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

Seen: 1,221 times

Last updated: Jan 07 '15