Pretty much the same thing, except with ":config addpeer ..." and ":config unconfig ...".
I think... Please feel free to add examples to: http://support.ntp.org/Support/MonitoringAndControllingNTP http://support.ntp.org/Dev/DeprecatingNtpdate H Richard writes: > What is ntpq's equivelant of -c "addpeer <ntp host>" and -c "unconfig > <ntp host>" ? > > > I just upgraded from ntp 4.2.6 to 4.2.8 and ntpdc isn't connecting to my > local ntpd. According to the ntpdc man page: > > "ntpdc is deprecated. Please use ntpq(1) instead - it can do everything > ntpdc used to do," > > > In ntpq how do I do the equivalent of ntpdc's -c "addpeer " or -c > "unconfig" commands? > > > Here is part of what previously did with ntpdc: > > /usr/sbin/ntpc -4 -c "keyid 5" -c "passwd mypassword" \ > -c "addpeer <ntp server> " localhost > > > _______________________________________________ > questions mailing list > [email protected] > http://lists.ntp.org/listinfo/questions > _______________________________________________ questions mailing list [email protected] http://lists.ntp.org/listinfo/questions
