/
How do I setup my own time server
How do I setup my own time server
Open the terminal and enter the following command to edit the time synchronization configuration file:
sudo nano /etc/systemd/timesyncd.conf
In the file, find the line "#NTP=" and replace it with the IP address of your desired NTP server, for example:
NTP=172.16.59.134
Save the changes and exit the text editor.
Restart the systemd-timesyncd service to apply the new configuration:
sudo systemctl restart systemd-timesyncd
If the time is still not synchronized after a while, it could be due to a significant time difference (clock skew). You can remedy this with the following steps:
Stop NTP synchronization
timedatectl set-ntp false
Set the time manually to a value close to the current time:
sudo timedatectl set-time "2021-10-18 09:19:00"
Resume NTP synchronization
timedatectl set-ntp true
If you still have problems, please send a screenshot after entering this command.
systemctl status systemd-timesyncd
Please have also a look here:
Related content
Use Revpi as NTP Server
Use Revpi as NTP Server
More like this
RTC in RevolutionPi
RTC in RevolutionPi
More like this
Real Time Programming
Real Time Programming
Read with this
GATEWAY Module for PROFIBUS FAQ
GATEWAY Module for PROFIBUS FAQ
Read with this
RevolutionPi Flat FAQ
RevolutionPi Flat FAQ
Read with this
Commissioning Teltonika Router and switching Ports
Commissioning Teltonika Router and switching Ports
Read with this