tech:ntp_temps_horloge_heure
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| tech:ntp_temps_horloge_heure [2025/03/31 09:38] – Jean-Baptiste | tech:ntp_temps_horloge_heure [2025/10/24 09:49] (Version actuelle) – Jean-Baptiste | ||
|---|---|---|---|
| Ligne 15: | Ligne 15: | ||
| * / | * / | ||
| * '' | * '' | ||
| + | * https:// | ||
| Ligne 81: | Ligne 82: | ||
| - | #### Autres | ||
| - | Pour éviter la dérive sur les VM | + | |
| + | #### Pour éviter la dérive sur les VM | ||
| + | |||
| + | ** Ou passer à Chrony ** | ||
| ~~~ | ~~~ | ||
| tinker panic 0 | tinker panic 0 | ||
| Ligne 90: | Ligne 94: | ||
| "The tinker panic value of 0 tells NTP that no matter what the time offset is, not to panic and exit. This is recommended for virtual machines because virtual machines have no physical clock and can be paused at anytime and started back up hours later." | "The tinker panic value of 0 tells NTP that no matter what the time offset is, not to panic and exit. This is recommended for virtual machines because virtual machines have no physical clock and can be paused at anytime and started back up hours later." | ||
| - | Voir : https:// | + | Source |
| + | Voir : | ||
| + | * https:// | ||
| - | Autres | ||
| - | ''/ | + | 1 - Add the following line to the beginning of the ''/ |
| + | ~~~bash | ||
| + | tinker panic 0 | ||
| + | ~~~ | ||
| + | 2 - Remove or comment the " | ||
| ~~~bash | ~~~bash | ||
| - | SYNC_HWCLOCK=yes | + | #driftfile / |
| ~~~ | ~~~ | ||
| - | This is an option to ntpdate | + | 3 - Restart the ntpd.service |
| + | ~~~bash | ||
| + | / | ||
| + | ~~~ | ||
| + | Voir https:// | ||
| Ligne 137: | Ligne 150: | ||
| ~~~ | ~~~ | ||
| + | |||
| + | #### Autres | ||
| + | |||
| + | ''/ | ||
| + | |||
| + | ~~~bash | ||
| + | SYNC_HWCLOCK=yes | ||
| + | ~~~ | ||
| + | |||
| + | This is an option to ntpdate | ||
| Ligne 250: | Ligne 273: | ||
| - | ## Autres | + | ## Autres |
| + | |||
| + | ### Timesyncd | ||
| + | |||
| + | ''/ | ||
| + | ~~~ini | ||
| + | # Enable timesyncd on WSL machines | ||
| + | # so WSL clock is synced on resume from suspend of the host. | ||
| + | |||
| + | [Unit] | ||
| + | ConditionVirtualization= | ||
| + | ConditionVirtualization=|!container | ||
| + | ConditionVirtualization=|wsl | ||
| + | ~~~ | ||
| + | |||
| + | |||
| + | ### Adjtimex | ||
| ~~~bash | ~~~bash | ||
tech/ntp_temps_horloge_heure.1743406730.txt.gz · Dernière modification : de Jean-Baptiste
