Differences between revisions 15 and 17 (spanning 2 versions)
Revision 15 as of 2012-03-13 19:48:22
Size: 1726
Editor: ?leafa
Comment:
Revision 17 as of 2013-06-29 18:23:15
Size: 1863
Editor: BobProulx
Comment: Change from 3 small examples to point to the NTP Pool Project for pool information
Deletions are marked like this. Additions are marked like this.
Line 10: Line 10:
 * Type date to see current date and time  * Type date to see current date and time. (Use -R to get a standard unambiguous format. Locale specific timezones are ambiguous.)
Line 12: Line 12:
date date -R
Line 45: Line 45:
 * {{{pool.ntp.org}}} - This points to a random worldwide time server.
 * {{{europe.pool.ntp.org}}} - This points to a random European time server.
 * {{{uk.pool.ntp.org}}} - This points to a random United Kingdom based time server.

The Debian package will install a default set of time servers which should be good for most typical client installations. However you may customize this for your network location. A good source of NTP pool information is the NTP Pool Project.

 * http://www.pool.ntp.org/

Translation(s): English - Español - Italiano


NTP

Network Time Protocol. This will keep you system date with exact match to actual date.

Install and Configure

  • Type date to see current date and time. (Use -R to get a standard unambiguous format. Locale specific timezones are ambiguous.)

date -R
  • Install NTP

aptitude install ntp
  • Done.
  • Type ntpq -p to see servers you are syncing with.

  • Type date again to see if the time changed. You time should be synced in a next minute.

  • Done.

Troubleshooting

  • If you run ntpq -p and you get

No association ID's returned
  • Run

dpkg-reconfigure ntp
  • And then again:

ntpq -p

     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
 ntp.pbx.org     xx.xxx.xxx.xxx   2 u    -   64    1   33.763  1799619   1.054
 xray.metadom.co xx.xxx.xxx.xxx   2 u    1   64    1   40.367  1799619   0.001
 hydrogen.cert.u xx.xxx.xxx.xxx   2 u    -   64    1   64.740  1799619   0.001
 mirror          .INIT.          16 u    -   64    0    0.000    0.000   0.001

Public Internet Time Servers

The Debian package will install a default set of time servers which should be good for most typical client installations. However you may customize this for your network location. A good source of NTP pool information is the NTP Pool Project.


CategoryNetwork