[UCI-Linux] Re: problem with hwclock

Mike IGLESIAS IGLESIAS@uci.edu
Tue, 08 Oct 2002 20:48:09 -0700


You ought to use NTP to keep your clock tickin' right.  Install ntp
from the rpm if you don't have it already installed.  Setup
/etc/ntp.conf with:

restrict default ignore
restrict 127.0.0.1 
restrict 128.200.34.12 mask 255.255.255.255 nomodify notrap noquery
restrict 128.200.62.58 mask 255.255.255.255 nomodify notrap noquery
driftfile /etc/ntp/drift
server 128.200.34.12
server 128.200.62.58

(Some of this is already in the RedHat ntp.conf)

start ntpd.  You can also put the two IP addresses in /etc/ntp/step-tickers
and it will sync your clock on bootup, and then run ntpd.

This will only work on campus.  YOu might have to make adjustments to your
ipchains config since by default it blocks the port ntpd uses (udp 123).


Mike Iglesias                          Internet:    iglesias@draco.acs.uci.edu
University of California, Irvine       phone:       949-824-6926
Network & Academic Computing Services  FAX:         949-824-2069