Re: [ntp:questions] moving from ntpdc to ntpq

2015-03-07 Thread Harlan Stenn
catherine.wei1...@gmail.com writes: > Hi,David, just like you said, we're offering ntpq to our customers to > test the ntp function, for example, they have sevral ntp servers and > need to choose which servers are good, they need to switch between > these servers. Thank you. Why not list all (or a

Re: [ntp:questions] moving from ntpdc to ntpq

2015-03-07 Thread David Taylor
On 07/03/2015 08:35, catherine.wei1...@gmail.com wrote: [] Hi,Dayvid, just like you said, we're offering ntpq to our customers to test the ntp function, for example, they have sevral ntp servers and need to choose which servers are good, they need to switch between these servers. Thank you. O

Re: [ntp:questions] moving from ntpdc to ntpq

2015-03-07 Thread catherine . wei1989
On Monday, March 2, 2015 at 6:43:03 PM UTC+8, David Taylor wrote: > On 02/03/2015 09:30, catherine.wei1...@gmail.com wrote: > > Hi,David, > > In our system, we need to unconfig and restrict in some operations through > > ntpq utility which originally was realized by ntpdc. However, ntpdc doesn't

Re: [ntp:questions] moving from ntpdc to ntpq

2015-03-02 Thread David Taylor
On 02/03/2015 09:30, catherine.wei1...@gmail.com wrote: Hi,David, In our system, we need to unconfig and restrict in some operations through ntpq utility which originally was realized by ntpdc. However, ntpdc doesn't work now. In other words, we need to find an equivalent of ntpdc to unconfig,

Re: [ntp:questions] moving from ntpdc to ntpq

2015-03-02 Thread catherine . wei1989
On Saturday, February 28, 2015 at 4:24:14 PM UTC+8, David Taylor wrote: > On 28/02/2015 01:17, catherine.wei1...@gmail.com wrote: > [] > > Hi, Harlan > > In my system, ntpdc was used to add an ntp server and the command is like > > this: > > ntpdc -c "keyid 0" -c addserver 10.172.161.16 minpo

Re: [ntp:questions] moving from ntpdc to ntpq

2015-02-28 Thread David Taylor
On 28/02/2015 01:17, catherine.wei1...@gmail.com wrote: [] Hi, Harlan In my system, ntpdc was used to add an ntp server and the command is like this: ntpdc -c "keyid 0" -c addserver 10.172.161.16 minpoll 3 maxpoll 4 burst since keyid is 0, we don't need authentication. But now, I use ntpq to

Re: [ntp:questions] moving from ntpdc to ntpq

2015-02-27 Thread catherine . wei1989
On Friday, February 27, 2015 at 5:10:02 PM UTC+8, Harlan Stenn wrote: > catherine.wei1...@gmail.com writes: > > > Hi, if I add :config in front of addpeer, it seems that an > > authentication is required. When I specify the keyid to 0, it said > > "invalid key identifier". > > If you are going to

Re: [ntp:questions] moving from ntpdc to ntpq

2015-02-27 Thread Martin Burnicki
catherine.wei1...@gmail.com schrieb: On Saturday, February 7, 2015 at 11:25:02 AM UTC+8, Harlan Stenn wrote: 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/MonitoringAnd

Re: [ntp:questions] moving from ntpdc to ntpq

2015-02-27 Thread Harlan Stenn
catherine.wei1...@gmail.com writes: > Hi, if I add :config in front of addpeer, it seems that an > authentication is required. When I specify the keyid to 0, it said > "invalid key identifier". If you are going to use :config you will need to specify a 'controlkey' entry in your ntp.conf file (se

Re: [ntp:questions] moving from ntpdc to ntpq

2015-02-26 Thread Mike Cook
"Ceux qui sont prêts à abandonner une liberté essentielle pour obtenir une petite et provisoire sécurité, ne méritent ni liberté ni sécurité." Benjimin Franklin > Le 27 févr. 2015 à 08:22, catherine.wei1...@gmail.com a écrit : > > On Saturday, February 7, 2015 at 11:25:02 AM UTC+8, Harlan Stenn

Re: [ntp:questions] moving from ntpdc to ntpq

2015-02-26 Thread catherine . wei1989
On Saturday, February 7, 2015 at 11:25:02 AM UTC+8, Harlan Stenn wrote: > 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://

Re: [ntp:questions] moving from ntpdc to ntpq

2015-02-11 Thread catherine . wei1989
On Saturday, February 7, 2015 at 11:25:02 AM UTC+8, Harlan Stenn wrote: > 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://

Re: [ntp:questions] moving from ntpdc to ntpq

2015-02-06 Thread Harlan Stenn
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 -

[ntp:questions] moving from ntpdc to ntpq

2015-02-06 Thread Richard
What is ntpq's equivelant of -c "addpeer " and -c "unconfig " ? 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