Differences between revisions 27 and 30 (spanning 3 versions)
Revision 27 as of 2020-03-17 08:36:42
Size: 2769
Comment: create parent section otherwise links to info are subsection of totally unrelated one
Revision 30 as of 2021-03-03 21:41:25
Size: 2802
Editor: AndMizyk
Comment: link to uk translation
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
~-[[DebianWiki/EditorGuide#translation|Translation(s)]]: English - [[es/NTP|Español]] - [[it/NTP|Italiano]] - [[pt_BR/NTP|Português Brasileiro]]-~ ~-[[DebianWiki/EditorGuide#translation|Translation(s)]]: English - [[es/NTP|Español]] - [[it/NTP|Italiano]] - [[pt_BR/NTP|Português (Brasil)]] - [[uk/NTP|Українська]]-~
Line 23: Line 23:
 * Type '''date''' again to see if the time changed. You time should be synced in a next minute.  * Type '''date''' again to see if the time changed. Your time should be synced in a next minute.

Translation(s): English - Español - Italiano - Português (Brasil) - Українська


Network Time Protocol. This will make your system date match actual date, by synchronizing with network time servers.

{i} systemd-timesyncd acts as a NTP client even when no network is available. This is enough to synchronize a system. NTP deamon is required only when a NTP server is required. See Freedesktop.org's page on timesyncd for more details

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. Your time should be synced in a next minute.

  • Done.


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

See also

Debian-specific information

Upstream specific information

Other information

CategoryNetwork CategorySoftware CategorySystemAdministration ?CatgeoryTime