Network Time Protocol
From FrugalWiki
Dansk – Deutsch – English – Español – Français – Indonesia – Italiano – Lietuviškai – Magyar – Nederlands – Polski – Português – Română – Slovenský – Suomi – Svenska – Türkçe – Česky – Ελληνικά – Български – Русский – Српски – Українська – עברית – ไทย – 日本語 – 正體中文 – 简体中文 – 한국어
Chrony, an alternative NTP client and server that is dial-up friendly and designed specifically for systems that are not online all the time. Chrony is the default ntp client of Frugalware since 1.6.
Contents |
Chrony
- Install chrony
- Add and Start the service
Alternatives
This part describes two different methods to synchronize the Linux software clock (system clock) to internet time servers. OpenNTPD (part of the OpenBSD project) is explained is explained first and then Traditional ntpd . Both daemons can sync the local clock and act as a time server if needed. OpenNTPD is designed to be simple and secure, while ntpd has a larger set of features.
OpenNTPD
- Install openntpd
- Add and Start the service
- If you have an offset:
Ctrl + c to stop it .
NTP
- Installation
- Choose your NTP server
See the ntp servers list here: http://www.pool.ntp.org/
Then choose one closer from your location, for example
- Ntpdate started at boot
Add this line to /etc/rc.d/rc.local
ntpdate fr.pool.ntp.org &
See also
If you have a time problem when you reboot: