mirror of
https://github.com/cjfranko/NTP-Timeturner.git
synced 2025-11-08 18:32:02 +00:00
Update README.md
added some chrony documentation
This commit is contained in:
parent
3cf2ee2383
commit
3d92d0e060
1 changed files with 24 additions and 0 deletions
24
README.md
24
README.md
|
|
@ -36,3 +36,27 @@ Clone and run the installer:
|
||||||
wget https://raw.githubusercontent.com/cjfranko/NTP-Timeturner/master/setup.sh
|
wget https://raw.githubusercontent.com/cjfranko/NTP-Timeturner/master/setup.sh
|
||||||
chmod +x setup.sh
|
chmod +x setup.sh
|
||||||
./setup.sh
|
./setup.sh
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
## 🕰️ Chrony NTP
|
||||||
|
```bash
|
||||||
|
chronyc sources | Checks Source
|
||||||
|
chronyc tracking | NTP Tracking
|
||||||
|
sudo nano /etc/chrony/chrony.conf | Default Chrony Conf File
|
||||||
|
|
||||||
|
Add to top:
|
||||||
|
# Serve the system clock as a reference at stratum 10
|
||||||
|
server 127.127.1.0
|
||||||
|
allow 127.0.0.0/8
|
||||||
|
local stratum 10
|
||||||
|
|
||||||
|
Add to bottom:
|
||||||
|
# Allow LAN clients
|
||||||
|
allow 0.0.0.0/0
|
||||||
|
|
||||||
|
# comment out:
|
||||||
|
pool 2.debian.pool.ntp.org iburst
|
||||||
|
sourcedir /run/chrony-dhcp
|
||||||
|
```
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue