OPNsense Forum

Archive => 24.1, 24.4 Legacy Series => Topic started by: b3k on February 02, 2024, 08:21:15 PM

Title: /etc/ntp.keys
Post by: b3k on February 02, 2024, 08:21:15 PM
Where does the /etc/ntp.keys file need to be dropped?

Thanks!
Title: Re: /etc/ntp.keys
Post by: b3k on February 02, 2024, 08:43:25 PM
Searching for the word ntpd in /usr/local/opnsense doesn't turn up much.
Title: Re: /etc/ntp.keys
Post by: b3k on February 02, 2024, 11:10:44 PM
Tried switching to chrony.  No go.
Title: Re: /etc/ntp.keys
Post by: newsense on February 03, 2024, 03:58:00 AM
Chrony works great with NTS.

"No go" isn't helpful in troubleshooting though
Title: Re: /etc/ntp.keys
Post by: b3k on February 04, 2024, 09:02:09 PM
How do I ensure that ntp.keys survives reboot?

Do I need to submit a change to one of the following?
https://github.com/opnsense/plugins/tree/master/net/chrony OR
https://github.com/opnsense/core/blob/master/src/etc/inc/plugins.inc.d/ntpd.inc

Title: Re: /etc/ntp.keys
Post by: b3k on February 17, 2024, 09:28:28 PM
Quote from: newsense on February 03, 2024, 03:58:00 AM
Chrony works great with NTS.

"No go" isn't helpful in troubleshooting though

I can't find a place to save the chrony.keys file.  Am I missing something? 
Title: Re: /etc/ntp.keys
Post by: Patrick M. Hausen on February 17, 2024, 09:50:35 PM
Quote from: b3k on February 02, 2024, 08:21:15 PM
Where does the /etc/ntp.keys file need to be dropped?
I do not quite understand the question? What exactly are you trying to achieve? ntpd is running just fine in about a dozen of OPNsense installations for me.
Title: Re: /etc/ntp.keys
Post by: b3k on February 19, 2024, 04:24:54 PM
I see that someone posted a feature request and candidate fix - for chrony.