NTP Server configuration

Hello community,

I‘m operating HAOS 14 on a raspberry PI4.
I‘m experiencing trouble with the NTP sync and like to adjust the server settings.
Thus, I opened the terminal, Login and tried to follow operating-system/Documentation/configuration.md at 329caf6c1c0b6267146bd39199ccf62c387784c0 · home-assistant/operating-system · GitHub
However I cannot find in /etc
`/etc/systemd/timesyncd.conf
Has anyone an idea?

Sounds like you could be in the homeassitant container rather than root.

I think /etc is a part of the overlay FS, so it is read-only and even if you make it writable, then changes will be discarded at next reboot.

You could install the Chrony addon instead, then your RPi use NTP instead of SNTP.

1 Like

The link says it is editable:

NTP

You can manual edit the systemd timesync file on /etc/systemd/timesyncd.conf. Our default ntp configuration look like:

Mind you, that file is six years old.

Do you know how this might work with the current release of the HAOS?

That file is not accessible without enabling port 22222 if you are using the ssh addon. If you connect a monitor and keyboard, I think you can do it without enabling port 22222.

It should be accessible through a monitor and keyboard directly to the HA server hardware and then use

docker container exec homeassistant nano /etc/..

Thanks, I’ll check this later the week