I've upgrading the ntp from 4.6.1 to 4.8.1, and need to change some commands 
which depend on ntpdc to ntpq since ntpdc has been depreciated in 4.8.1 
version. And I met a problem.

When I first set the keyid to 0, it said "Invalid key identifier", so I set it 
to 1, but it requires a MD5 Password. I don't quite understand how to get the 
keyid and password. 

Can you give me some advice? Appreciate your help very much.


~ # ntpq
ntpq> :config addserver 192.168.1.101 minpoll 3 maxpoll 4 burst
Keyid: 0
Invalid key identifier
ntpq> :config addserver 192.168.1.101 minpoll 3 maxpoll 4 burst
Keyid: 1
MD5 Password: 
***Server disallowed request (authentication?)
ntpq> 

_______________________________________________
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions

Reply via email to