Subject: | |
From: | |
Reply To: | |
Date: | Wed, 19 Sep 2001 13:17:50 -0700 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
ntpd -q is not 100% equivalent to ntpdate.
When I was porting NTP 4.1.0, I saw that ntpdate notice and then discovered
ntpd -q and thought "aha!", let's switch to using -q. But alas, it was not
meant to be.
It seems that -q does a bunch of mini clock adjustments before making the final
clock adjustment and exiting. Those mini clock adjustments screw up your
clock(s) as described by SR 5003462838.
So for now, ntpdate is still the preferred way to do a one-time adjustment of
your e3000 clock. FWIW, ntptimeset will also work. But ANY use of ntpd to
adjust your clock WILL NOT work.
I have no updated status on that SR to share with you. :-(
- Mark B.
PS: ntpd -q relies on the ntpd configuration file to choose the time server(s)
used for the clock adjustment.
Donna Garverick wrote:
>
> hi all!
>
> i put on the latest version of ntp the other day (thanks,
> mark!) and it 'works'. i was reading the documentation (am
> i supposed to admit that? :-) and i saw that ntpdate -- the
> program i've been using for quite some time -- is being
> phased out in favor of ntpd. ok, says i. so the
> documentation goes onto say -- run ntpd with -q to mimic the
> behaviour of ntpdate. ok, i sez again :-) but this is what
> i get:
>
> :/NTP/CURRENT/bin/ntpd "-q time.longs.com"
> usage: NTPD.V0401000.NTP [ -abdgmnqx ] [ -c config_file ] [
> -e e_delay ]
> [ -f freq_file ] [ -k key_file ] [ -l
> log_file ]
> [ -p pid_file ] [ -r broad_delay ] [ -s
> statdir ]
> [ -t trust_key ] [ -v sys_var ] [ -V
> default_sysvar ]
>
> ok...so it doesn't like the nodename (-q doesn't accept a
> parameter). before everyone gets excited -- yes,
> time.longs.com is real and available and everything else.
> the issue (as usual) is me :-) i'm guessing i need a config
> file? but what should it look like and where is the common
> place for it to live? - d
>
> --
> Donna Garverick Sr. System Programmer
> 925-210-6631 [log in to unmask]
>
> >>>MY opinions, not Longs Drug Stores'<<<
>
> * To join/leave the list, search archives, change list settings, *
> * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
--
[log in to unmask]
Remainder of .sig suppressed to conserve scarce California electrons...
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|
|
|