blob: a7f116cbbb428504115ec42e90f63e534ec55d7a (
plain)
1
2 REQUIREMENTS
3
4 PRE-INSTALL
5
6 POST-INSTALL
7
8 To use ntpd to keep your time accurate, the minimum required is to find a
9 public server and add it to /etc/ntp/ntp.conf: "server <ip-address>"
10
11 Public stratum 1 servers: http://www.eecis.udel.edu/~mills/ntp/clock1a.html
12 Public stratum 2 servers: http://www.eecis.udel.edu/~mills/ntp/clock2a.html
13
14 or use the DNS round robin servers 'pool.ntp.org'
15
16 The daemon produces log output into the file /var/log/ntp.log. So you should
17 think about adding the line "/usr/sbin/rotatelog ntp.log" to your weekly
18 system crontab file /etc/cron/weekly/syslog.
19
20 If you want to use ntpd to synchronize your lan or similar, or get
21 synchronization from other devices like radio, I suggest reading the manual.
22
23 PRECAUTION
24
25 To keep your time as accurate as possible, you should run ntpd continously, as
26 it works by adjusting the clock by very small intervals (to not disrupt
27 programs depending on time). If your clock is way off, you might want to adjust
28 it with ntpdate first, as ntpd by default does not update your clock when the
29 difference is more than 3600 seconds.
30
31 Beware of dhcpcd without the -N flag, because it overwrites your ntp.conf
32 file. Of course it makes a backup, but it's annoying...
|