alix_voyage_linux_ntp
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
alix_voyage_linux_ntp [2015/01/06 08:46] – [Compile NTP] admin | alix_voyage_linux_ntp [2015/01/06 09:20] – old revision restored (2014/06/19 21:12) admin | ||
---|---|---|---|
Line 25: | Line 25: | ||
====Compile NTP==== | ====Compile NTP==== | ||
- | * Remove old ntp software: | + | < |
- | * Mark official packages to not update< | + | (apt-get remove ntp) |
- | * Install tools and depedencies:< | + | |
- | | + | cd /root |
- | * Extract | + | apt-get install |
- | * Create user and group:< | + | |
- | useradd | + | apt-get |
- | -g ntp -s / | + | |
- | | + | cd ntp<directory> |
- | --bindir=/ | + | |
- | | + | debuild |
- | --enable-linuxcaps | + | |
- | --with-lineeditlibs=readline \ | + | dpkg --install |
- | --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</ |