Chrony config documentation

Hi - Is there any documentation available for the /etc/config directives supported by the chrony package? The page on the wiki just contains package details:

2 Likes

You can add pools, peers, and servers to /etc/config/chrony like this:

config pool
	option hostname '2.openwrt.pool.ntp.org'
	option maxpoll '12'
	option iburst 'yes'

config peer
	option hostname '192.168.1.3'
	option maxpoll '5'
	option minpoll '1'
	option xleave

config server
        option hostname 'ntp1.server.tld'
        option maxpoll '12'
        option iburst 'yes'

Here is what else I find in my config:

config dhcp_ntp_server
	option iburst 'yes'
	option disabled 'no'

config allow
	option interface 'lan'

config makestep
	option threshold '1.0'
	option limit '3'

config nts
	option rtccheck 'yes'
	option systemcerts 'yes'

I don't know about other options

1 Like

Also check out this: LuCI APP: luci-app-chrony

What about the refclock option? is it supported?
Something like this is not being used

config refclock
        option SHM '1'
        option poll '3'
        option refid 'GPS1'