alix_voyage_linux_ntp
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
alix_voyage_linux_ntp [2015/01/06 08:46] – [Compile NTP] admin | alix_voyage_linux_ntp [2020/01/01 14:05] – admin | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | {{tag> | + | =====PC Engines |
- | ~~TOC~~ | + | |
- | + | ||
- | =====PC Engines | + | |
====Create device symlinks==== | ====Create device symlinks==== | ||
===Hopf=== | ===Hopf=== | ||
< | < | ||
- | cd / | + | |
- | cat hopf.rules | + | cat > / |
KERNEL==" | KERNEL==" | ||
- | KERNEL==" | + | KERNEL==" |
KERNEL==" | KERNEL==" | ||
+ | EOF | ||
</ | </ | ||
- | ===GPS / PPS=== | + | ====Compile NTP==== |
< | < | ||
- | cat pps.rules | + | (apt-get remove ntp) |
- | KERNEL==" | + | |
- | KERNEL==" | + | |
- | KERNEL==" | + | |
- | KERNEL==" | + | |
- | KERNEL==" | + | |
- | </ | + | |
- | ====Compile NTP==== | + | cd /root |
- | * Remove old ntp software: < | + | apt-get install |
- | * Mark official packages to not update< | + | |
- | * Install tools and depedencies:< | + | apt-get |
- | | + | |
- | * Extract | + | cd ntp<directory> |
- | * Create user and group:< | + | |
- | useradd | + | debuild |
- | -g ntp -s / | + | |
- | | + | dpkg --install |
- | --bindir=/ | + | </ |
- | | + | |
- | --enable-linuxcaps | + | |
- | --with-lineeditlibs=readline \ | + | |
- | --docdir=/ | + | |
- | * Compile:< | + | |
- | * Test:< | + | |
- | * Install:< | + | |
- | install -v -o ntp -g ntp -d / | + | |
====Configuration==== | ====Configuration==== | ||
* Allow write to drift file, edit **/ | * Allow write to drift file, edit **/ | ||
- | * Set hwclock, edit **/ | + | * Set hwclock, edit **/ |
* Load module rtc. < | * Load module rtc. < | ||
rtc</ | rtc</ | ||
Line 195: | Line 179: | ||
## ntp 2.4.7 removed monlist in favour of ntpq's mrulist | ## ntp 2.4.7 removed monlist in favour of ntpq's mrulist | ||
ntpq -c " | ntpq -c " | ||
+ | |||
+ | {{tag> |