Gentoo Logo

NTP Configuration Guide for Gentoo Infrastructure Servers

1.  Gentoo Infrastructure guidelines for running NTP

General Guidelines

NTP is required to be configured and running on all Gentoo Infrastructure servers. Below are sample configuration settings for NTP:

Code Listing 1.1: /etc/ntp.conf

logfile         /var/log/ntpd.log
driftfile       /var/state/ntp.drift

# Name of the servers ntpd should sync with
server ntp.ctr.columbia.edu
server ntp0.cornell.edu
server sundial.columbia.edu
server timex.cs.columbia.edu

Code Listing 1.2: /etc/conf.d/ntp-client

NTPCLIENT_CMD="ntpdate"
NTPCLIENT_OPTS="-b time.orst.edu"

Add both ntpd and ntp-client to the default run level via rc-update so that ntpd will use only the system logger instead of both when doing time synchronization.



Print

Updated 03 January, 2005

Summary: This guide documents how NTP should be configured on Gentoo Infrastructure servers.

Kurt Lieber
Author

Donate to support our development efforts.

Support OSL
Gentoo Centric Hosting: vr.org
Tek Alchemy
SevenL.net
Global Netoptex Inc.
Bytemark
Online Kredit Index
Copyright 2001-2010 Gentoo Foundation, Inc. Questions, Comments? Contact us.