Note

The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.

Package:Ntp

From Funtoo
Revision as of 10:04, January 6, 2015 by Threesixes (talk | contribs) (hw clock info from gentoo)
Jump to navigation Jump to search

Ntp

   Tip

We welcome improvements to this page. To edit this page, Create a Funtoo account. Then log in and then click here to edit this page. See our editing guidelines to becoming a wiki-editing pro.


Installation

root # emerge net-misc/ntp

Configuration

Client

Hardware Clock

To write your NTP sync time to the hardware at shutdown, and read hw clock at start.

root # echo 'clock_hctosys="YES"' >> /etc/conf.d/hwclock
root # echo 'clock_hctosys="YES"' >> /etc/conf.d/hwclock
root # rc-service hwclock restart
root # rc-update add hwclock boot

Server

Runtime

root # rc-update add ntpd
root # rc-update add ntp-client
root # rc