Ntp: Difference between revisions

From Halfface
Jump to navigation Jump to search
No edit summary
No edit summary
Line 12: Line 12:
Set date from ntp server.
Set date from ntp server.
  ntpdate -u ntp.ongame.com
  ntpdate -u ntp.ongame.com
[[Category:Applications]]
[[Category:Unix]]

Revision as of 14:59, 20 October 2008

Supposed to sync clock at startup.

  • /etc/ntp/step-tickers
ntp.halfface.se

Print a list of the peers known to the server as well as a summary of their state

ntpq -p

Verify communication with ntp server.

nc -u -z ntp.ongame.com 123

Set date from ntp server.

ntpdate -u ntp.ongame.com