Changeset dc6715a


Ignore:
Timestamp:
04/30/2005 11:34:25 AM (19 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
7b27885e
Parents:
c174c5f
Message:

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

Location:
basicnet/netprogs
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • basicnet/netprogs/cvs.xml

    rc174c5f rdc6715a  
    5454      </listitem>
    5555      <listitem>
    56       <para>Estimated build time: &cvs-time;</para></listitem>
     56        <para>Estimated build time: &cvs-time;</para>
     57      </listitem>
    5758    </itemizedlist>
    5859   
  • basicnet/netprogs/inetutils.xml

    rc174c5f rdc6715a  
    5151      </listitem>
    5252      <listitem>
    53       <para>Estimated build time: &inetutils-time;</para></listitem>
     53        <para>Estimated build time: &inetutils-time;</para></listitem>
    5454    </itemizedlist>
    5555   
  • basicnet/netprogs/ncftp.xml

    rc174c5f rdc6715a  
    5454      </listitem>
    5555      <listitem>
    56       <para>Estimated build time: &ncftp-time;</para></listitem>
     56        <para>Estimated build time: &ncftp-time;</para></listitem>
    5757    </itemizedlist>
    5858   
  • basicnet/netprogs/ncpfs.xml

    rc174c5f rdc6715a  
    5252      </listitem>
    5353      <listitem>
    54       <para>Estimated build time: &ncpfs-time;</para></listitem>
     54        <para>Estimated build time: &ncpfs-time;</para></listitem>
    5555    </itemizedlist>
    5656   
  • basicnet/netprogs/net-tools.xml

    rc174c5f rdc6715a  
    5757      </listitem>
    5858      <listitem>
    59       <para>Estimated build time: &net-tools-time;</para></listitem>
     59        <para>Estimated build time: &net-tools-time;</para></listitem>
    6060    </itemizedlist>
    6161   
  • basicnet/netprogs/ntp.xml

    rc174c5f rdc6715a  
    1414
    1515<sect1 id="ntp" xreflabel="NTP-&ntp-version;">
    16 <sect1info>
    17 <othername>$LastChangedBy$</othername>
    18 <date>$Date$</date>
    19 </sect1info>
    20 <?dbhtml filename="ntp.html"?>
    21 <title>NTP-&ntp-version;</title>
    22 
    23 <sect2>
    24 <title>Introduction to <application><acronym>NTP</acronym></application></title>
    25 
    26 <para>The <application><acronym>NTP</acronym></application> package contains a
    27 client and server to keep the time synchronized between various computers over
    28 a network. This package is the official reference implementation of the
    29 <acronym>NTP</acronym> protocol.</para>
    30 
    31 <sect3><title>Package information</title>
    32 <itemizedlist spacing='compact'>
    33 <listitem><para>Download (HTTP):
    34 <ulink url="&ntp-download-http;"/></para></listitem>
    35 <listitem><para>Download (FTP):
    36 <ulink url="&ntp-download-ftp;"/></para></listitem>
    37 <listitem><para>Download MD5 sum: &ntp-md5sum;</para></listitem>
    38 <listitem><para>Download size: &ntp-size;</para></listitem>
    39 <listitem><para>Estimated disk space required:
    40 &ntp-buildsize;</para></listitem>
    41 <listitem><para>Estimated build time:
    42 &ntp-time;</para></listitem></itemizedlist>
    43 </sect3>
    44 
    45 <sect3><title><application><acronym>NTP</acronym></application>
    46 dependencies</title>
    47 <sect4><title>Optional</title>
    48 <para><xref linkend="openssl"/></para>
    49 </sect4>
    50 </sect3>
    51 
    52 </sect2>
    53 
    54 <sect2>
    55 <title>Installation of <application><acronym>NTP</acronym></application></title>
    56 
    57 <para>Install <application><acronym>NTP</acronym></application> by running
    58 the following commands:</para>
    59 
    60 <screen><userinput><command>./configure --prefix=/usr --bindir=/usr/sbin \
     16  <?dbhtml filename="ntp.html"?>
     17 
     18  <sect1info>
     19    <othername>$LastChangedBy$</othername>
     20    <date>$Date$</date>
     21  </sect1info>
     22 
     23  <title>NTP-&ntp-version;</title>
     24 
     25  <indexterm zone="ntp">
     26    <primary sortas="a-NTP">NTP</primary>
     27  </indexterm>
     28
     29  <sect2 role="package">
     30    <title>Introduction to NTP</title>
     31   
     32    <para>The <application>NTP</application> package contains a
     33    client and server to keep the time synchronized between various computers over
     34    a network. This package is the official reference implementation of the
     35    NTP protocol.</para>
     36   
     37    <bridgehead renderas="sect3">Package Information</bridgehead>
     38    <itemizedlist spacing="compact">
     39      <listitem>
     40        <para>Download (HTTP): <ulink url="&ntp-download-http;"/></para>
     41      </listitem>
     42      <listitem>
     43        <para>Download (FTP): <ulink url="&ntp-download-ftp;"/></para>
     44      </listitem>
     45      <listitem>
     46        <para>Download MD5 sum: &ntp-md5sum;</para>
     47      </listitem>
     48      <listitem>
     49        <para>Download size: &ntp-size;</para>
     50      </listitem>
     51      <listitem>
     52        <para>Estimated disk space required: &ntp-buildsize;</para>
     53      </listitem>
     54      <listitem>
     55        <para>Estimated build time: &ntp-time;</para></listitem>
     56    </itemizedlist>
     57   
     58    <bridgehead renderas="sect3">TEMPLATE Dependencies</bridgehead>
     59   
     60    <bridgehead renderas="sect4">Optional</bridgehead>
     61    <para><xref linkend="openssl"/></para>
     62   
     63  </sect2>
     64 
     65  <sect2 role="installation">
     66    <title>Installation of NTP</title>
     67
     68    <para>Install <application>NTP</application> by running
     69    the following commands:</para>
     70
     71<screen><userinput>./configure --prefix=/usr --bindir=/usr/sbin \
    6172    --sysconfdir=/etc &amp;&amp;
    6273make &amp;&amp;
    63 make install</command></userinput></screen>
    64 
    65 </sect2>
    66 
    67 <sect2>
    68 <title>Configuring <application><acronym>NTP</acronym></application></title>
    69 
    70 <sect3><title>Config files</title>
    71 <para><filename>/etc/ntp.conf</filename></para>
    72 </sect3>
    73 
    74 <sect3><title>Configuration Information</title>
    75 
    76 <para>The following configuration file defines various <acronym>NTP</acronym>
    77 stratum 2 servers with open access from different continents. It also
    78 creates a drift file where <command>ntpd</command> stores the frequency
    79 offset. Since the documentation included with the package is sparse,
    80 visit the <acronym>NTP</acronym> website at
    81 <ulink url="http://www.ntp.org/"/> for more information.</para>
    82 
    83 <screen><userinput><command>cat &gt; /etc/ntp.conf &lt;&lt; "EOF"</command>
    84 # Africa
     74make install</userinput></screen>
     75   
     76  </sect2>
     77 
     78  <sect2 role="configuration">
     79    <title>Configuring NTP</title>
     80   
     81    <sect3 id="ntp-config">
     82      <title>Config Files</title>
     83     
     84      <para><filename>/etc/ntp.conf</filename></para>
     85     
     86      <indexterm zone="ntp ntp-config">
     87        <primary sortas="e-etc-ntp.conf">/etc/ntp.conf</primary>
     88      </indexterm>
     89     
     90    </sect3>
     91   
     92    <sect3>
     93      <title>Configuration Information</title>
     94
     95      <para>The following configuration file defines various NTP
     96      stratum 2 servers with open access from different continents. It also
     97      creates a drift file where <command>ntpd</command> stores the frequency
     98      offset. Since the documentation included with the package is sparse,
     99      visit the NTP website at <ulink url="http://www.ntp.org/"/> for more information.</para>
     100
     101<screen role="root"><userinput>cat &gt; /etc/ntp.conf &lt;&lt; "EOF"
     102<literal># Africa
    85103server tock.nml.csir.co.za
    86104
     
    97115server clock.psu.edu
    98116
    99 driftfile /var/cache/ntp.drift
    100 <command>EOF</command></userinput></screen>
    101 </sect3>
    102 
    103 <sect3><title>Synchronizing the time</title>
    104 
    105 <para>There are two options. Option one is to run <command>ntpd</command>
    106 continuously and allow it to synchronize the time in a gradual manner. The
    107 other option is to run <command>ntpd</command> periodically (using cron)
    108 and update the time each time <command>ntpd</command> is scheduled.</para>
    109 
    110 <para>If you choose Option one, then install the
    111 <filename>/etc/rc.d/init.d/ntp</filename>
    112 init script included in the
    113 <xref linkend="intro-important-bootscripts"/> package.</para>
    114 
    115 <screen><userinput><command>make install-ntp</command></userinput></screen>
    116 
    117 <para>If you prefer to run ntpd periodically, add the following command to
    118 root's <filename>crontab</filename>:</para>
    119 <screen><userinput>ntpd -q</userinput></screen>
    120 
    121 <para>Execute the following command if you would like to set the
    122 hardware clock at shutdown and reboot based on the current system
    123 time:</para>
    124 
    125 <screen><userinput><command>ln -sf ../init.d/setclock /etc/rc.d/rc0.d/K46setclock &amp;&amp;
    126 ln -sf ../init.d/setclock /etc/rc.d/rc6.d/K46setclock</command></userinput></screen>
    127 
    128 <para>The other way around is already set up by
    129 <acronym>LFS</acronym>.</para>
    130 
    131 </sect3>
    132 
    133 </sect2>
    134 
    135 <sect2>
    136 <title>Contents</title>
    137 
    138 <para>The <application><acronym>NTP</acronym></application> package
    139 contains <command>ntp-wait</command>, <command>ntptrace</command>,
    140 <command>ntpd</command>, <command>ntpdate</command>,
    141 <command>ntpdc</command>, <command>ntpq</command>,
    142 <command>ntptime</command>, <command>tickadj</command> and
    143 <command>ntp-keygen</command>.</para>
    144 
    145 </sect2>
    146 
    147 <sect2><title>Description</title>
    148 
    149 <sect3><title>ntp-wait</title>
    150 <para><command>ntp-wait</command> is useful at boot time, to delay the
    151 boot sequence until <command>ntpd</command> has set the
    152 time.</para></sect3>
    153 
    154 <sect3><title>ntptrace</title>
    155 <para><command>ntptrace</command> traces a chain of
    156 <acronym>NTP</acronym> servers back to the primary source.</para></sect3>
    157 
    158 <sect3><title>ntpd</title>
    159 <para><command>ntpd</command> is a NTP daemon that runs in the
    160 background and keeps the date and time synchronized based on response
    161 from configured <acronym>NTP</acronym> servers. It also functions as a
    162 <acronym>NTP</acronym> server.</para></sect3>
    163 
    164 <sect3><title>ntpdate</title>
    165 <para><command>ntpdate</command> is a client program that sets the date
    166 and time based on the response from an <acronym>NTP</acronym> server.
    167 This command is deprecated.</para></sect3>
    168 
    169 <sect3><title>ntpdc</title>
    170 <para><command>ntpdc</command> is used to query the
    171 <acronym>NTP</acronym> daemon about its current state and to request
    172 changes in that state.</para></sect3>
    173 
    174 <sect3><title>ntpq</title>
    175 <para><command>ntpq</command> is an utility program used to monitor
    176 <command>ntpd</command> operations and determine
    177 performance.</para></sect3>
    178 
    179 <sect3><title>ntptime</title>
    180 <para><command>ntptime</command> reads and displays time-related
    181 kernel variables.</para></sect3>
    182 
    183 <sect3><title>tickadj</title>
    184 <para><command>tickadj</command> reads, and optionally modifies,
    185 several timekeeping-related variables in older kernels that do not have
    186 support for precision timekeeping.</para></sect3>
    187 
    188 <sect3><title>ntp-keygen</title>
    189 <para><command>ntp-keygen</command> generates cryptographic data files
    190 used by the <acronym>NTP</acronym>v4 authentication and identification
    191 schemes.</para></sect3>
    192 
    193 </sect2>
    194 
     117driftfile /var/cache/ntp.drift</literal>
     118EOF</userinput></screen>
     119
     120    </sect3>
     121   
     122    <sect3  id="ntp-init">
     123      <title>Synchronizing the Time</title>
     124
     125      <para>There are two options. Option one is to run <command>ntpd</command>
     126      continuously and allow it to synchronize the time in a gradual manner. The
     127      other option is to run <command>ntpd</command> periodically (using cron)
     128      and update the time each time <command>ntpd</command> is scheduled.</para>
     129     
     130      <para>If you choose Option one, then install the
     131      <filename>/etc/rc.d/init.d/ntp</filename>
     132      init script included in the
     133      <xref linkend="intro-important-bootscripts"/> package.</para>
     134     
     135      <indexterm zone="ntp ntp-init">
     136        <primary sortas="f-ntp">ntp</primary>
     137      </indexterm>
     138
     139<screen role="root"><userinput>make install-ntp</userinput></screen>
     140
     141      <para>If you prefer to run <command>ntpd</command> periodically, add the
     142      following command to <systemitem class="username">root</systemitem>'s
     143      <filename>crontab</filename>:</para>
     144     
     145<screen><literal>ntpd -q</literal></screen>
     146
     147      <para>Execute the following command if you would like to set the
     148      hardware clock at shutdown and reboot based on the current system
     149      time:</para>
     150
     151<screen role="root"><userinput>ln -sf ../init.d/setclock /etc/rc.d/rc0.d/K46setclock &amp;&amp;
     152ln -sf ../init.d/setclock /etc/rc.d/rc6.d/K46setclock</userinput></screen>
     153
     154      <para>The other way around is already set up by LFS.</para>
     155     
     156    </sect3>
     157   
     158  </sect2>
     159 
     160  <sect2 role="content">
     161    <title>Contents</title>
     162   
     163    <segmentedlist>
     164      <segtitle>Installed Programs</segtitle>
     165      <segtitle>Installed Libraries</segtitle>
     166      <segtitle>Installed Directories</segtitle>
     167     
     168      <seglistitem>
     169        <seg>ntp-keygen, ntp-wait, ntpd, ntpdate, ntpdc, ntpq,
     170        ntptime, ntptrace,  and tickadj</seg>
     171        <seg>None</seg>
     172        <seg>None</seg>
     173      </seglistitem>
     174    </segmentedlist>
     175   
     176    <variablelist>
     177      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
     178      <?dbfo list-presentation="list"?>
     179      <?dbhtml list-presentation="table"?>
     180     
     181      <varlistentry id="ntp-keygen">
     182        <term><command>ntp-keygen</command></term>
     183        <listitem>
     184          <para>generates cryptographic data files used by the NTPv4 authentication
     185          and identification schemes.</para>
     186          <indexterm zone="ntp ntp-keygen">
     187            <primary sortas="b-ntp-keygen">ntp-keygen</primary>
     188          </indexterm>
     189        </listitem>
     190      </varlistentry>
     191     
     192      <varlistentry id="ntp-wait">
     193        <term><command>ntp-wait</command></term>
     194        <listitem>
     195          <para>is useful at boot time, to delay the boot sequence until
     196          <command>ntpd</command> has set the time.</para>
     197          <indexterm zone="ntp ntp-wait">
     198            <primary sortas="b-ntp-wait">ntp-wait</primary>
     199          </indexterm>
     200        </listitem>
     201      </varlistentry>
     202     
     203      <varlistentry id="ntpd">
     204        <term><command>ntpd</command></term>
     205        <listitem>
     206          <para>is a NTP daemon that runs in the background and keeps
     207          the date and time synchronized based on response from configured
     208          NTP servers. It also functions as a NTP server.</para>
     209          <indexterm zone="ntp ntpd">
     210            <primary sortas="b-ntpd">ntpd</primary>
     211          </indexterm>
     212        </listitem>
     213      </varlistentry>
     214     
     215      <varlistentry id="ntpdate">
     216        <term><command>ntpdate</command></term>
     217        <listitem>
     218          <para>is a client program that sets the date and time based on
     219          the response from an NTP server. This command is deprecated.</para>
     220          <indexterm zone="ntp ntpdate">
     221            <primary sortas="b-ntpdate">ntpdate</primary>
     222          </indexterm>
     223        </listitem>
     224      </varlistentry>
     225     
     226      <varlistentry id="ntpdc">
     227        <term><command>ntpdc</command></term>
     228        <listitem>
     229          <para>is used to query the NTP daemon about its current state
     230          and to request changes in that state.</para>
     231          <indexterm zone="ntp ntpdc">
     232            <primary sortas="b-ntpdc">ntpdc</primary>
     233          </indexterm>
     234        </listitem>
     235      </varlistentry>
     236     
     237      <varlistentry id="ntpq">
     238        <term><command>ntpq</command></term>
     239        <listitem>
     240          <para>is an utility program used to monitor <command>ntpd</command>
     241          operations and determine performance.</para>
     242          <indexterm zone="ntp ntpq">
     243            <primary sortas="b-ntpq">ntpq</primary>
     244          </indexterm>
     245        </listitem>
     246      </varlistentry>
     247     
     248      <varlistentry id="ntptime">
     249        <term><command>ntptime</command></term>
     250        <listitem>
     251          <para>reads and displays time-related kernel variables.</para>
     252          <indexterm zone="ntp ntptime">
     253            <primary sortas="b-ntptime">ntptime</primary>
     254          </indexterm>
     255        </listitem>
     256      </varlistentry>
     257     
     258      <varlistentry id="ntptrace">
     259        <term><command>ntptrace</command></term>
     260        <listitem>
     261          <para>traces a chain of NTP servers back to the primary source.</para>
     262          <indexterm zone="ntp ntptrace">
     263            <primary sortas="b-ntptrace"></primary>
     264          </indexterm>
     265        </listitem>
     266      </varlistentry>
     267     
     268      <varlistentry id="tickadj">
     269        <term><command>tickadj</command></term>
     270        <listitem>
     271          <para>reads, and optionally modifies, several timekeeping-related
     272          variables in older kernels that do not have support for precision
     273          timekeeping.</para>
     274          <indexterm zone="ntp tickadj">
     275            <primary sortas="b-tickadj">tickadj</primary>
     276          </indexterm>
     277        </listitem>
     278      </varlistentry>
     279     
     280    </variablelist>
     281   
     282  </sect2>
     283 
    195284</sect1>
Note: See TracChangeset for help on using the changeset viewer.