NTP

NTP is a TCP/IP protocol for synchronizing time over a network.

Slackware

Update clock

Run the command as superuser:

Date and time should be stored in UTC.

Info on slack docs:

Enable the service:

Start the service manually:

Add ntp server

   1 server  127.127.1.0     # local clock                                           
   2 fudge   127.127.1.0 stratum 10
   3 server pt.pool.ntp.org
   4 driftfile /etc/ntp/drift
   5 # Don't serve time or stats to anyone else by default (more secure)             
   6 restrict default noquery nomodify
   7 # Trust ourselves.  :-)                                                         
   8 restrict 127.0.0.1

Check the offset in seconds

CentOS

Ubuntu / Debian

FreeBSD 9.0

Run the command:

Check the UTC date:

Edit the file /etc/rc.conf:

Start and check the NTPD service status:

Windows

NTP (last edited 2014-02-28 17:04:30 by bl7-65-145)