On 2005-12-07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

> When I run ntpq -p I get the following line in the ouput:
> 172.16.1.255    .NKEY.  16 u    -   16    0    0.000 0.000 4000.00
> even though the ntp.keys file does have the appropriate key defined.

See http://www.eecis.udel.edu/~mills/ntp/html/debug.html

> Here are the relevant lines from ntp.conf:
>
>       broadcast 172.16.1.255 key 1
>
> and ntp.keys
>
>       1 M SOMEtext

You have to tell ntpd where to find the keys and which keys to trust:

        keys    /etc/ntp.keys
        trustedkey 1
        requestkey 1

You may, or may not, need:

        controlkey 1

-- 
Steve Kostecke <[EMAIL PROTECTED]>
NTP Public Services Project - http://ntp.isc.org/>

_______________________________________________
questions mailing list
[email protected]
https://lists.ntp.isc.org/mailman/listinfo/questions

Reply via email to