Ntp: Difference between revisions

From Halfface
Jump to navigation Jump to search
No edit summary
No edit summary
Line 9: Line 9:
Verify communication with ntp server.
Verify communication with ntp server.
  nc -u -z ntp.ongame.com 123
  nc -u -z ntp.ongame.com 123
Set date from ntp server.
ntpdate -u ntp.ongame.com

Revision as of 08:52, 11 July 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