User Tools

Site Tools



Let's start keeping time on our server. Otherwise logging and Kerberos won't work as expected and you might forget your coffee break!

If you have a static IP and a somewhat reliable internet connection, you might consider joining the initiative. See for more information.


Check your timezone settings by issuing:



Install the software:

apt-get install ntp-server ntp-doc


Adjust /etc/ntp.conf for the ntp-servers you want to sync to. Remember to check the policy for their usage! If you want more info about the Debian NTP packages, check the docs at /usr/share/doc/ntp and /usr/share/doc/ntp-doc


driftfile /var/lib/ntp/ntp.drift
statsdir /var/log/ntpstats/
statistics loopstats peerstats clockstats
filegen loopstats file loopstats type day enable
filegen peerstats file peerstats type day enable
filegen clockstats file clockstats type day enable
# maps to more than 100 low-stratum NTP servers.
# Your server will pick a different set every time it starts up.
#  *** Please consider joining the pool! ***
#  ***  <>  ***
fudge stratum 10
restrict default kod notrap nomodify nopeer noquery
restrict nomodify

Restart the daemon:

/etc/init.d/ntp restart
hannibal/ntp.txt · Last modified: 2008/06/25 11:59 by Olivier Brugman