joe,
ntpd is both the server and the client,
though to check it use ntpq not ntpdate:
[EMAIL PROTECTED] downloads-linux]$ ntpq
ntpq> peer
remote refid st t when poll reach delay offset jitter
==============================================================================
LOCAL(0) LOCAL(0) 10 l 55 64 377 0.000 0.000 0.015
*sherlock.excess LOCAL(0) 11 u 105 512 377 4.873 68.425 33.595
ntpq> quit
[EMAIL PROTECTED] downloads-linux]$
in the above output sherlock is my firewall and time server for the lan,
so ntpd is running on that machine and also on my workstation, mycroft.
on mycroft i put the server ip into /etc/ntpd.conf and into the timeserver
/etc/ntpd.conf i put the ip of one of manchester uni's timeservers
, being a firewall of course i also have to allow traffic on port 123 in both
directions!
if i'm right ntpdate is a one off time setter,
it won't keep the time correct and it won't calculate the 'tick' of the local
machine compared to the time server so that if the timeserver goes down local
time is still counted reasonably accurately
at least i think ntpd does that :)
bascule
On Sunday 25 Jan 2004 5:36 am, JoeHill wrote:
> ...and seemingly communicating with NTP servers (Stratum 2): quit
[EMAIL PROTECTED] downloads-linux]$
>
> [EMAIL PROTECTED]:/home/joehill>$ntpdate time.chu.nrc.ca
> 25 Jan 00:29:57 ntpdate[10642]: adjust time server 209.87.233.53 offset
> 0.034102 sec
>
> Sooooo, now what? Will my clock be set automagically, or is there something
> else I need to do?
>
> Followed this howto (google.ca/linux, I love you):
>
> http://www.siliconvalleyccie.com/linux-hn/ntp.htm
>
> Seems I now have an NTP server running, but do I also need a client?
--
Never trust any complicated cocktail that remainds perfectly clear until
the last ingredient goes in, and then immediately clouds.
(alt.fan.pratchett)
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com