Talk:Network Time Protocol daemon

From ArchWiki
Revision as of 23:48, 12 August 2012 by Fengchao (talk | contribs) (Remove closed.)
Jump to: navigation, search

This article has been created after splitting "Network Time Protocol" into this and OpenNTPD as discussed here -- Kynikos 16:03, 11 February 2011 (EST)

Syncing at boot

I'm wondering if it's ok to mention { ntpd -qg; hwclock -w; } in Network Time Protocol daemon#Synchronize once at boot time as the main method and using the hwclock daemon only as an alternative, although the latter is an official daemon provided by initscripts.

And in any case, the two methods don't seem equivalent, in fact the hwclock daemon just runs hwclock --adjust at shutdown.

This discussion is also related to Talk:Time#hwclock daemon.

-- Kynikos 11:03, 20 January 2012 (EST)

I think it should be first written without hwclock (as it should be for default config), and then noted that you should check if hwclock is launched, not the other way around like it is now. -- Corvinus 00:42, 21 January 2012 (EST)
I've tried to reword the section a bit in that direction. -- Kynikos 08:32, 21 January 2012 (EST)
Corvinus, I've decided to partly revert one of your recent edits: [1]. Read the explanation I've added in the edit summary and if you don't agree we can of course discuss that here :) -- Kynikos 12:46, 22 January 2012 (EST)
Alright, you're correct. But what I wanted is to have a clear link at the top of article about how to set time just now. It's sad if that's not possible with current layout. -- Corvinus 02:57, 23 January 2012 (EST)
I see, you have a point too indeed... However the name of the main section, "Using without daemon", may be enough to arouse the curiosity of those looking for a way to synchronize just once. Also the fact that the section is placed before the one about using the daemon should help. However there's surely room for improvement, and ideas are welcome! -- Kynikos 07:48, 23 January 2012 (EST)

hwclock and ntp

It seems there's a contradiction when it tells about hwclock.

You should also ensure that the hwclock daemon is added to the DAEMONS array, unless something other already takes care of updating the hardware clock, for example another operating system in dual boot.
Add ntpd to your DAEMONS array so it starts automatically on boot and make sure hwclock is disabled:

Does anyone know more?

Thank you.

P.S.: I also started a thread at

Fturco (talk) 08:02, 11 August 2012 (UTC)

You found an answer in the thread, right? In any case, you've quoted two statements from two different sections: the former refers to running ntpd once (at boot time), the latter refers to running ntpd as a daemon. I'm closing this discussion. -- Kynikos (talk) 15:12, 12 August 2012 (UTC)