[ntp:questions] How add refclock on a fly?

Dave Hart hart at ntp.org
Sat Mar 10 16:57:03 UTC 2012


On Sat, Mar 10, 2012 at 11:59, alex n <alexvm22 at gmail.com> wrote:
> Hi All,
>
> I'd like add 127.127.22.0 refclock on a fly but ntpdc -c addrefclock
> 127.127.22.0 minpoll 4 gives :
>
> Name or service not known
> ntpdc: connect: Invalid argument

I've never used that approach.  I know the following approach works,
if you have configured a key id and passphrase for remote
administration via ntpq (controlkey, trustedkeys, and keys in
ntp.conf):

ntpq -c ":config server 127.127.22.0 minpoll 4"

Which prompts for the keyid and password to authenticate the change.

Cheers,
Dave Hart


More information about the questions mailing list