[lug] NTP Configuration

Hugh Brown hugh at vecna.com
Fri Sep 14 12:30:45 MDT 2001


I have had success just using

server servername1
server servername2
server servername3
server servername4
dirfitfile /etc/ntp/drift
authenticate no

for my ntp.conf

Hugh

"Glenn Murray"
> 
> I have a similar problem:
> 
> 14 Sep 08:58:28 ntpdate[31490]: no servers can be used, exiting  
> 
> My /etc/ntp.conf is below.  The only change I made from the default
> Debian installation was to add some server lines.
> 
> Also, my vague understanding is that the system time is independent of
> the hardware clock, and that ntp is supposed to keep the system time
> correct via ntpd.  There is a command (hwclock --systohc) to bring the
> hardware clock to the system clock's time.  Please correct me if I am
> wrong.
> 
> This is important for me because if I get to a meeting late I may miss
> out on the cookies.
> 
> Any help appreciated,
> Glenn Murray
> www.mines.edu/~glenn/public_html/Welcome.html
> 
> 
> 
> #########################################################
> # /etc/ntp.conf, configuration for xntpd
>  
> # ntpd will use syslog() if logfile is not defined
> #logfile /var/log/ntpd
>  
> 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
>  
> server time-c.timefreq.bldrdoc.gov
> #server time-b.timefreq.bldrdoc.gov
> #server time-a.timefreq.bldrdoc.gov
> server time.nist.gov
> server utcnist.colorado.edu
> 
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> 

------------------------------------
System Administrator/Unix Consultant
hugh at vecna.com
Vecna Technologies, Inc
6525 Belcrest Rd, Suite 612
Hyattsville MD, 20782
301.864.7253
http://www.vecna.com




More information about the LUG mailing list