RE: System on time

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Niki Kovacs wrote:
> 
> Hi,
> 
> To get my system on time, I usually issue these two commands:
> 
> # ntpdate de.pool.ntp.org
> # hwclock -w
> 
> And when I want this to be done on startup, I put the two lines in 
> rc.local.
> 
> I wonder if this is an orthodox way to do things. Or is there 
> something 
> more appropriate?

Choose a couple publically available time servers, I believe a link
was posted on this thread, and set them in /etc/ntp.conf.

I suppose with 'hwclock -w' that your bios clock is set to localtime
and your system dual boots? If that is the case then set UTC=false
in /etc/sysconfig/clock.

-Ross

______________________________________________________________________
This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux