Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add time synchronisation with NTP #579

Merged
merged 6 commits into from
Feb 18, 2024
Merged

Add time synchronisation with NTP #579

merged 6 commits into from
Feb 18, 2024

Conversation

vinc
Copy link
Owner

@vinc vinc commented Feb 13, 2024

A new ntp program will now be available to get the time from NTP servers and update the RTC of the computer. This is the first program written in Lisp using the new hashbang system for scripts (#570).

ntp

@vinc
Copy link
Owner Author

vinc commented Feb 13, 2024

The default time server can be configured in /ini/ntp.

Currently it is set to time.cloudflare.com. I had an issue with a lot of servers from pool.ntp.org that I fixed by changing a flag in the first byte of the network packet, but another less frequent one remain it seems.

The NTP client I wrote is pretty trivial but it does the job for a small personal system.

@vinc vinc marked this pull request as ready for review February 13, 2024 19:51
@vinc vinc merged commit 699ddf0 into trunk Feb 18, 2024
1 check passed
@vinc vinc deleted the feature/ntp branch February 18, 2024 20:41
@vinc vinc mentioned this pull request Mar 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant