|Source Repository:||Repository:Gentoo Portage Tree|
Summary: Network Time Protocol suite/programs
- Allow ntp to be installed alongside openntpd
- Add support for PARSE clocks
- Provide support for Samba's signing daemon (needed for Active Directory domain controllers)
Perl UpdatesGentoo has bumped perl from 5.20 to 5.22. Be sure to run perl-cleaner --all after the upgrade.
ARM RebuildARM systems will use new stage3's that are not compatible with earlier versions.
ABI X86 64 and 32Funtoo Linux has new 32-bit compatibility libraries inherited from Gentoo. Learn about them here.
# emerge net-misc/ntp
The ntp-client command immediately synchronizes your clock, and has separate ntp sync settings from the daemon:
NTPCLIENT_OPTS="-s -b -u \ 0.pool.ntp.org 1.pool.ntp.org \ 2.pool.ntp.org 3.pool.ntp.org"
The ntpd server is also an ntp-client of upstream servers. Ntpd continuously, and gradually synchronizes the local clock.
# Pools for Gentoo users server 0.pool.ntp.org server 1.pool.ntp.org server 2.pool.ntp.org server 3.pool.ntp.org
# rc-update add ntpd # rc-update add ntp-client # rc
To write your NTP sync time to the hardware at shutdown, and read hw clock at start.
# echo 'clock_hctosys="YES"' >> /etc/conf.d/hwclock # echo 'clock_hctosys="YES"' >> /etc/conf.d/hwclock # rc-service hwclock restart # rc-update add hwclock boot