Differences between revisions 13 and 14
Revision 13 as of 2010-11-17 02:06:53
Size: 1704
Editor: GeoffSimmons
Comment: ntp-server was merged into ntp at version 1:4.2.2+dfsg-1 (2006); ntpdate is deprecated (BTS #514318) and unnecessary (BTS #319776); formatting.
Revision 14 as of 2012-03-13 19:24:10
Size: 1725
Editor: ?leafa
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
~-[[DebianWiki/EditorGuide#translation|Translation(s)]]: English - [[it/NTP|Italiano]]-~ ~-[[DebianWiki/EditorGuide#translation|Translation(s)]]: English - [[it/NTP|Italiano]]- [[es/NTP|Español]]-~

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


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

date
  • 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

  • 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.


CategoryNetwork