[CentOS] system date using ntp client is drifting

Mon Jun 11 13:57:30 UTC 2012
Arun Khan <knura9 at gmail.com>

On Mon, Jun 11, 2012 at 2:49 PM, John Doe <jdmls at yahoo.com> wrote:
> From: Arun Khan <knura9 at gmail.com>
>
>> On Tue, Jun 5, 2012 at 1:57 AM, Nate Duehr <denverpilot at me.com> wrote:
>>>  After getting the clock in sync, "hwclock --systohc" to push it
>> into the CMOS clock.
>>
>> +1
>>
>> On a PC Engines ALIX board (no battery backup for CMOS) that I am
>> using as an WiFi AP, I have had to resort to a similar trick.  Once at
>> boot up and then every 20 mins from the system crontab.
>
> /etc/sysconfig/ntpd:
>   # Set to 'yes' to sync hw clock after successful ntpdate
>   SYNC_HWCLOCK=yes

Thanks; will try out in the ALIX box.

-- Arun Khan