Using NTP

From Tučňák Wiki
Jump to: navigation, search


Package ntp you probably have in your distribution. Older version have named xntp. You need programs ntpdate which is used for a single set date and (x)ntp for synchronization time for all time of system running. Ntp daemon has /etc/ntpd.conf configuration file.

In file /etc/ntp.conf should be contained next lines.

fudge stratum 10 - Using local time if not present master time server.

If you can, use time server from the Internet.


The slave computers will have in configure file address master computer.

Next items you have on default setting.

driftfile /etc/ntp/drift
multicastclient broadcastdelay authenticate no

If different between times on computers are highest than few second is better set to clock by ntpdate program if computer boots. This case is possible to use witting master computer address to file /etc/ntp/step-tickers or write command ntpdate <master> on end of /etc/local file.

Hint: ntpd synchronize time after several minute, sometimes you'll have to very patient.


You can download NTP for windows here: . Setup wizard leads you through settins. Defaults will be probably usable for you.