ntpd -U ntp -g
Brian Gaynor
briang at pmccorp.com
Fri Jun 4 18:43:11 UTC 2004
On Fri, 2004-06-04 at 11:00, Al Sparks wrote:
> Interesting. The man pages at ntp.org don't list an upper-case -U,
> just a lower case one, and default setups of both RHAS 2.x, and Fedora
> Core Release 1 don't have ntpd man pages
My nearby systems all seem to have man pages for ntpd (two Core 1
systems and a Core 2 system).
> Essentially, I'm trying to act as a time server for my internal
> network. But I'm doing it with a default fedora ntp setup. It looks
> like I may have to delete the rpm and roll my own install.
>
> I've gotten that configuration to work where I've done that.
> === Al
>
I had to play with ntp.conf to get it all to work (well, everything but
XP clients):
restrict default ignore
restrict 127.0.0.1
# permit your local network goes here
restrict 192.168.1.1 mask 255.255.255.0 nomodify
# clock.redhat.com - permit this upstream server
restrict 66.187.233.4 mask 255.255.255.255 nomodify notrap noquery
server 66.187.233.4
# ntp.ucsd.edu - permit this upstream server
restrict 132.239.1.6 mask 255.255.255.255 nomodify notrap noquery
server 132.239.1.6
fudge 127.127.1.0 stratum 10
driftfile /var/lib/ntp/drift
broadcastdelay 0.008
# instead of authenticate no use:
disable auth
keys /etc/ntp/keys
Best regards,
Brian
More information about the fedora-list
mailing list