[lug] NTP question
Zan Lynx
zlynx at acm.org
Tue Mar 18 09:27:58 MST 2003
On Mon, 2003-03-17 at 18:32, Steve Sullivan wrote:
> Hi,
>
> I'm learning to use NTP, but it doesn't seem to work.
> I'm running Redhat 7.3 on a pentium.
>
> ntpdate works great.
>
> So I decided to try ntpd. I deliberately set my clock 20 seconds off,
> and set up /etc/ntp.conf. Then I started /etc/rc.d/init.d/ntpd,
> and waited. And waited. And waited. 45 minutes later and my clock
> is still 20 seconds off. What am I doing wrong here?
>
> Here is my /etc/ntpd file:
> =========== /etc/ntpd ========
> restrict default ignore
> restrict 127.0.0.1
> server 204.34.198.41
> server 132.163.4.103
> server 128.138.140.44
> server 164.67.62.194
> driftfile /etc/ntp/drift
> ========== end file ========
I would say that the real problem here is your restrict lines. The only
server it can contact is 127.0.0.1. You need to add a restrict line for
each server.
A restrict <host> with no third argument allows everything.
--
Zan Lynx <zlynx at acm.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.lug.boulder.co.us/pipermail/lug/attachments/20030318/74b8cb2b/attachment.pgp>
More information about the LUG
mailing list