NTP server and client in same router

I want to setup NTP server in OpenWrt router. Will it disable NTP client?

Just enable server mode and you'll have both server and client running.

2 Likes


this is how I have it right now.

If your problem is solved, please consider marking this topic as [Solved]. See How to mark a topic as [Solved] for a short how-to.

Just waiting for chrony log on Homeassistant, if it mentions my OpenWrt as NTP server, I will mark it as solved.
Solved.

s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
cont-init: info: running /etc/cont-init.d/00-banner.sh
-----------------------------------------------------------
 Add-on: chrony
 A local NTP (Network Time Protocol) server for cameras etc.
-----------------------------------------------------------
 Add-on version: 2.4.0
 You are running the latest version of this add-on.
 System: Home Assistant OS 8.4  (aarch64 / raspberrypi4-64)
 Home Assistant Core: 2022.8.5
 Home Assistant Supervisor: 2022.08.3
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
cont-init: info: /etc/cont-init.d/00-banner.sh exited 0
cont-init: info: running /etc/cont-init.d/01-log-level.sh
Log level is set to DEBUG
cont-init: info: /etc/cont-init.d/01-log-level.sh exited 0
cont-init: info: running /etc/cont-init.d/chrony.sh
[22:13:33] DEBUG: Running in NTP mode: server
[22:13:34] DEBUG: Adding server 54.39.13.155
[22:13:34] DEBUG: Adding server briareus.schulte.org
[22:13:34] DEBUG: Adding server 192.168.xx.xx
cont-init: info: /etc/cont-init.d/chrony.sh exited 0
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun chronyd (no readiness notification)
s6-rc: info: service legacy-services successfully started
[22:13:34] INFO: Starting chronyd...
2022-08-16T17:13:34Z chronyd version 4.2 starting (+CMDMON +NTP +REFCLOCK +RTC +PRIVDROP -SCFILTER +SIGND +ASYNCDNS +NTS +SECHASH +IPV6 -DEBUG)
2022-08-16T17:13:35Z Initial frequency 20.383 ppm
2022-08-16T17:13:40Z System's initial offset : 0.009576 seconds slow of true (slew)
2022-08-16T17:13:47Z Selected source 192.168.xx.xx
1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.