This commit is contained in:
parent
3616dcee22
commit
b551aa06b3
49
content/content/blog/timeserver.md
Normal file
49
content/content/blog/timeserver.md
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
# Just another Stratum 1 Timeserver
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
This server utilizes `ntpsec` on Debian on a BeagleBone Black with a UBlox GPS module.
|
||||||
|
|
||||||
|
```
|
||||||
|
interface listen all
|
||||||
|
logconfig +all
|
||||||
|
logfile /var/log/ntp.log
|
||||||
|
|
||||||
|
statsdir /var/log/ntpsec/
|
||||||
|
statistics loopstats peerstats clockstats protostats sysstats rawstats
|
||||||
|
filegen loopstats file loopstats type day disable
|
||||||
|
filegen peerstats file peerstats type day enable
|
||||||
|
filegen clockstats file clockstats type day enable
|
||||||
|
filegen protostats file protostats type day enable
|
||||||
|
filegen sysstats file sysstats type day enable
|
||||||
|
filegen rawstats file rawstats type day disable
|
||||||
|
|
||||||
|
driftfile /var/lib/ntpsec/ntp.drift
|
||||||
|
leapfile /usr/share/zoneinfo/leap-seconds.list
|
||||||
|
|
||||||
|
tos maxclock 11
|
||||||
|
tos minclock 4 minsane 3
|
||||||
|
|
||||||
|
refclock nmea unit 0 prefer mode 0x10 minpoll 4 maxpoll 4 path /dev/ttyO4 ppspath /dev/pps0 baud 9600 flag1 1 refid BBgp
|
||||||
|
# refclock shm unit 0 refid BBg minpoll 4 maxpoll 4 time1 0.1555
|
||||||
|
# refclock shm unit 2 refid BBp minpoll 4 maxpoll 4 prefer
|
||||||
|
# refclock pps unit 0 prefer refid BBp ppspath /dev/pps0 minpoll 4 maxpoll 4
|
||||||
|
# refclock gpsd unit 0 prefer refid BBgp mode 1 minpoll 4 maxpoll 4
|
||||||
|
|
||||||
|
server ntps1-1.uni-erlangen.de
|
||||||
|
server ntps1-0.cs.tu-berlin.de
|
||||||
|
server ptbtime1.ptb.de
|
||||||
|
server rustime01.rus.uni-stuttgart.de
|
||||||
|
server ntp1.sda.t-online.de
|
||||||
|
server ntps1.gwdg.de
|
||||||
|
|
||||||
|
restrict default kod nomodify nopeer noquery limited notrap
|
||||||
|
restrict 127.0.0.1
|
||||||
|
restrict ::1
|
||||||
|
```
|
||||||
|
|
||||||
|
Although the `nmea` reference clock driver is obsolete according to [https://ntpsec.org/removal-plan.html](https://ntpsec.org/removal-plan.html), it works perfectly for me, in particular better then the other drivers. However, maybe I was not trying hard enough with the others.
|
||||||
|
|
||||||
|
The server has been joined the NTP pool, the statistics are available [here](https://www.ntppool.org/scores/93.241.86.156).
|
||||||
|
|
||||||
|
|
BIN
content/static/IMG_6045.jpg
Normal file
BIN
content/static/IMG_6045.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 391 KiB |
Loading…
x
Reference in New Issue
Block a user