From dc6715af3dbea752476aa8cf33d6dc21f0ed2715 Mon Sep 17 00:00:00 2001 From: Manuel Canales Esparcia Date: Sat, 30 Apr 2005 11:34:25 +0000 Subject: [PATCH] Tagged ntp.xml. Fixed a small bug in previous netprogs tagged files. git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3866 af4574ff-66df-0310-9fd7-8a98e5e911e0 --- basicnet/netprogs/cvs.xml | 3 +- basicnet/netprogs/inetutils.xml | 2 +- basicnet/netprogs/ncftp.xml | 2 +- basicnet/netprogs/ncpfs.xml | 2 +- basicnet/netprogs/net-tools.xml | 2 +- basicnet/netprogs/ntp.xml | 391 ++++++++++++++++++++------------ 6 files changed, 246 insertions(+), 156 deletions(-) diff --git a/basicnet/netprogs/cvs.xml b/basicnet/netprogs/cvs.xml index 57a7ba71ab..ba7a8b4945 100644 --- a/basicnet/netprogs/cvs.xml +++ b/basicnet/netprogs/cvs.xml @@ -53,7 +53,8 @@ Estimated disk space required: &cvs-buildsize; - Estimated build time: &cvs-time; + Estimated build time: &cvs-time; + Additional Downloads diff --git a/basicnet/netprogs/inetutils.xml b/basicnet/netprogs/inetutils.xml index d9b047a3e5..12a6735489 100644 --- a/basicnet/netprogs/inetutils.xml +++ b/basicnet/netprogs/inetutils.xml @@ -50,7 +50,7 @@ Estimated disk space required: &inetutils-buildsize; - Estimated build time: &inetutils-time; + Estimated build time: &inetutils-time; Additional Downloads diff --git a/basicnet/netprogs/ncftp.xml b/basicnet/netprogs/ncftp.xml index cbbd0611d8..dea75307af 100644 --- a/basicnet/netprogs/ncftp.xml +++ b/basicnet/netprogs/ncftp.xml @@ -53,7 +53,7 @@ Estimated disk space required: &ncftp-buildsize; - Estimated build time: &ncftp-time; + Estimated build time: &ncftp-time; diff --git a/basicnet/netprogs/ncpfs.xml b/basicnet/netprogs/ncpfs.xml index f38a41f59b..3ea53b6895 100644 --- a/basicnet/netprogs/ncpfs.xml +++ b/basicnet/netprogs/ncpfs.xml @@ -51,7 +51,7 @@ Estimated disk space required: &ncpfs-buildsize; - Estimated build time: &ncpfs-time; + Estimated build time: &ncpfs-time; NCPFS Dependencies diff --git a/basicnet/netprogs/net-tools.xml b/basicnet/netprogs/net-tools.xml index a13262b60b..f623048bae 100644 --- a/basicnet/netprogs/net-tools.xml +++ b/basicnet/netprogs/net-tools.xml @@ -56,7 +56,7 @@ Estimated disk space required: &net-tools-buildsize; - Estimated build time: &net-tools-time; + Estimated build time: &net-tools-time; Additional Downloads diff --git a/basicnet/netprogs/ntp.xml b/basicnet/netprogs/ntp.xml index ecc6ca4f66..94f9f9730e 100644 --- a/basicnet/netprogs/ntp.xml +++ b/basicnet/netprogs/ntp.xml @@ -13,75 +13,93 @@ ]> - -$LastChangedBy$ -$Date$ - - -NTP-&ntp-version; + + + + $LastChangedBy$ + $Date$ + + + NTP-&ntp-version; + + + NTP + - -Introduction to <application><acronym>NTP</acronym></application> + + Introduction to NTP + + The NTP package contains a + client and server to keep the time synchronized between various computers over + a network. This package is the official reference implementation of the + NTP protocol. + + Package Information + + + Download (HTTP): + + + Download (FTP): + + + Download MD5 sum: &ntp-md5sum; + + + Download size: &ntp-size; + + + Estimated disk space required: &ntp-buildsize; + + + Estimated build time: &ntp-time; + + + TEMPLATE Dependencies + + Optional + + + + + + Installation of NTP -The NTP package contains a -client and server to keep the time synchronized between various computers over -a network. This package is the official reference implementation of the -NTP protocol. + Install NTP by running + the following commands: -Package information - -Download (HTTP): - -Download (FTP): - -Download MD5 sum: &ntp-md5sum; -Download size: &ntp-size; -Estimated disk space required: -&ntp-buildsize; -Estimated build time: -&ntp-time; - - -<application><acronym>NTP</acronym></application> -dependencies -Optional - - - - - - - -Installation of <application><acronym>NTP</acronym></application> - -Install NTP by running -the following commands: - -./configure --prefix=/usr --bindir=/usr/sbin \ +./configure --prefix=/usr --bindir=/usr/sbin \ --sysconfdir=/etc && make && -make install +make install + + + + + Configuring NTP + + + Config Files + + /etc/ntp.conf + + + /etc/ntp.conf + + + + + + Configuration Information - + The following configuration file defines various NTP + stratum 2 servers with open access from different continents. It also + creates a drift file where ntpd stores the frequency + offset. Since the documentation included with the package is sparse, + visit the NTP website at for more information. - -Configuring <application><acronym>NTP</acronym></application> - -Config files -/etc/ntp.conf - - -Configuration Information - -The following configuration file defines various NTP -stratum 2 servers with open access from different continents. It also -creates a drift file where ntpd stores the frequency -offset. Since the documentation included with the package is sparse, -visit the NTP website at - for more information. - -cat > /etc/ntp.conf << "EOF" -# Africa +cat > /etc/ntp.conf << "EOF" +# Africa server tock.nml.csir.co.za # Asia @@ -96,100 +114,171 @@ server ntp.tuxfamily.net # North America server clock.psu.edu -driftfile /var/cache/ntp.drift -EOF - +driftfile /var/cache/ntp.drift +EOF -Synchronizing the time + + + + Synchronizing the Time -There are two options. Option one is to run ntpd -continuously and allow it to synchronize the time in a gradual manner. The -other option is to run ntpd periodically (using cron) -and update the time each time ntpd is scheduled. + There are two options. Option one is to run ntpd + continuously and allow it to synchronize the time in a gradual manner. The + other option is to run ntpd periodically (using cron) + and update the time each time ntpd is scheduled. + + If you choose Option one, then install the + /etc/rc.d/init.d/ntp + init script included in the + package. + + + ntp + -If you choose Option one, then install the -/etc/rc.d/init.d/ntp -init script included in the - package. +make install-ntp -make install-ntp + If you prefer to run ntpd periodically, add the + following command to root's + crontab: + +ntpd -q -If you prefer to run ntpd periodically, add the following command to -root's crontab: -ntpd -q + Execute the following command if you would like to set the + hardware clock at shutdown and reboot based on the current system + time: -Execute the following command if you would like to set the -hardware clock at shutdown and reboot based on the current system -time: - -ln -sf ../init.d/setclock /etc/rc.d/rc0.d/K46setclock && -ln -sf ../init.d/setclock /etc/rc.d/rc6.d/K46setclock - -The other way around is already set up by -LFS. - - - - - - -Contents - -The NTP package -contains ntp-wait, ntptrace, -ntpd, ntpdate, -ntpdc, ntpq, -ntptime, tickadj and -ntp-keygen. - - - -Description - -ntp-wait -ntp-wait is useful at boot time, to delay the -boot sequence until ntpd has set the -time. - -ntptrace -ntptrace traces a chain of -NTP servers back to the primary source. - -ntpd -ntpd is a NTP daemon that runs in the -background and keeps the date and time synchronized based on response -from configured NTP servers. It also functions as a -NTP server. - -ntpdate -ntpdate is a client program that sets the date -and time based on the response from an NTP server. -This command is deprecated. - -ntpdc -ntpdc is used to query the -NTP daemon about its current state and to request -changes in that state. - -ntpq -ntpq is an utility program used to monitor -ntpd operations and determine -performance. - -ntptime -ntptime reads and displays time-related -kernel variables. - -tickadj -tickadj reads, and optionally modifies, -several timekeeping-related variables in older kernels that do not have -support for precision timekeeping. - -ntp-keygen -ntp-keygen generates cryptographic data files -used by the NTPv4 authentication and identification -schemes. - - +ln -sf ../init.d/setclock /etc/rc.d/rc0.d/K46setclock && +ln -sf ../init.d/setclock /etc/rc.d/rc6.d/K46setclock + The other way around is already set up by LFS. + + + + + + + Contents + + + Installed Programs + Installed Libraries + Installed Directories + + + ntp-keygen, ntp-wait, ntpd, ntpdate, ntpdc, ntpq, + ntptime, ntptrace, and tickadj + None + None + + + + + Short Descriptions + + + + + ntp-keygen + + generates cryptographic data files used by the NTPv4 authentication + and identification schemes. + + ntp-keygen + + + + + + ntp-wait + + is useful at boot time, to delay the boot sequence until + ntpd has set the time. + + ntp-wait + + + + + + ntpd + + is a NTP daemon that runs in the background and keeps + the date and time synchronized based on response from configured + NTP servers. It also functions as a NTP server. + + ntpd + + + + + + ntpdate + + is a client program that sets the date and time based on + the response from an NTP server. This command is deprecated. + + ntpdate + + + + + + ntpdc + + is used to query the NTP daemon about its current state + and to request changes in that state. + + ntpdc + + + + + + ntpq + + is an utility program used to monitor ntpd + operations and determine performance. + + ntpq + + + + + + ntptime + + reads and displays time-related kernel variables. + + ntptime + + + + + + ntptrace + + traces a chain of NTP servers back to the primary source. + + + + + + + + tickadj + + reads, and optionally modifies, several timekeeping-related + variables in older kernels that do not have support for precision + timekeeping. + + tickadj + + + + + + + +