On Thu, Sep 16, 2004 at 11:23:07 +1000, Rod Butcher wrote:
> Mandrake 10 provides a user-friendly install for NTP time server
> connection but it doesn't seem to actually adjust my time.. the modem
> light flickers but time doesn't change. I've tried uadelaide.edu.au and
Check your firewall rules. You need to allow ntp (port 123 udp) in and
out.
What does ntpq -p tell you? It should look something like this:
[EMAIL PROTECTED] ~]$ /usr/sbin/ntpq -p
remote refid st t when poll reach delay offset jitter
==============================================================================
*dalek.internode ntp1.cs.mu.OZ.A 2 u 380 1024 377 41.900 0.625 0.979
The character before the remote hostname is a clue to what's happening.
A '*' means everything's OK.
What does your ntp.conf contain? Mine looks like this:
# ignore all hosts by default
restrict default ignore
# allow localhost to do anything
restrict 127.0.0.1
# serve time to the local subnet
restrict 192.168.1.0 mask 255.255.255.0 notrust nomodify notrap
# allow this host to do anything
restrict 192.168.1.1
# define parent server
server ntp.internode.on.net
# and limit what it can do (more recent versions of ntp take
# hostnames in restrict but this one needs the ip address)
restrict 203.16.214.199 nomodify noquery noserve notrap
# define driftfile location
driftfile /etc/ntp/drift
# disable authentication
authenticate no
Cheers,
John
--
Nice thing about memo wars, allows you to smile sweetly and say "fuck
you" in triplicate.
-- Zebee Johnstone
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html