<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://cblfs.nicewhileitlasted.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=89.182.10.222</id>
	<title>CBLFS - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://cblfs.nicewhileitlasted.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=89.182.10.222"/>
	<link rel="alternate" type="text/html" href="https://cblfs.nicewhileitlasted.com/Special:Contributions/89.182.10.222"/>
	<updated>2026-05-22T15:47:51Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>?title=NTP&amp;diff=8450</id>
		<title>NTP</title>
		<link rel="alternate" type="text/html" href="?title=NTP&amp;diff=8450"/>
		<updated>2007-03-25T21:01:36Z</updated>

		<summary type="html">&lt;p&gt;89.182.10.222: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| style=&amp;quot;text-align: left; background-color: AliceBlue;&amp;quot;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
!Download Source:&lt;br /&gt;
| http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-{{NTP-Version}}.tar.gz&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Introduction to NTP ==&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Project Home Page&#039;&#039;&#039;: http://www.ntp.org/&lt;br /&gt;
&lt;br /&gt;
== Dependencies ==&lt;br /&gt;
&lt;br /&gt;
=== Optional ===&lt;br /&gt;
*[[OpenSSL]]&lt;br /&gt;
&lt;br /&gt;
== Additional Configuration Options ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;--with-crypto&#039;&#039;: Enables [[OpenSSL]] support.&lt;br /&gt;
&lt;br /&gt;
== Non-Multilib ==&lt;br /&gt;
&lt;br /&gt;
[[Silc-toolkit]] provides a md5.h that is incompatible with NTP. Add the following entry to config.cache to make sure the header isn&#039;t used:&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;ac_cv_header_md5_h=no&amp;quot; &amp;gt; config.cache&lt;br /&gt;
&lt;br /&gt;
Compile the package:&lt;br /&gt;
&lt;br /&gt;
 ./configure --prefix=/usr --bindir=/usr/sbin \&lt;br /&gt;
     --sysconfdir=/etc --cache-file=config.cache &amp;amp;&amp;amp;&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
Install the package&lt;br /&gt;
&lt;br /&gt;
 make install&lt;br /&gt;
 install -dv -m755 /usr/share/doc/ntp-{{NTP-Version}} &amp;amp;&amp;amp;&lt;br /&gt;
 cp -Rv html /usr/share/doc/ntp-{{NTP-Version}}/&lt;br /&gt;
&lt;br /&gt;
== Multilib ==&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;This package does not provide any libraries so only one installation is needed.&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== 32Bit ===&lt;br /&gt;
&lt;br /&gt;
[[Silc-toolkit]] provides a md5.h that is incompatible with NTP. Add the following entry to config.cache to make sure the header isn&#039;t used:&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;ac_cv_header_md5_h=no&amp;quot; &amp;gt; config.cache&lt;br /&gt;
&lt;br /&gt;
Compile the package:&lt;br /&gt;
 &lt;br /&gt;
 CC=&amp;quot;gcc ${BUILD32}&amp;quot; USE_ARCH=32 ./configure  --prefix=/usr \&lt;br /&gt;
 --bindir=/usr/sbin --sysconfdir=/etc --cache-file=config.cache &amp;amp;&amp;amp;&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
Install the package&lt;br /&gt;
&lt;br /&gt;
 make install &amp;amp;&amp;amp;&lt;br /&gt;
 install -dv -m755 /usr/share/doc/ntp-{{NTP-Version}} &amp;amp;&amp;amp;&lt;br /&gt;
 cp -Rv html /usr/share/doc/ntp-{{NTP-Version}}/&lt;br /&gt;
&lt;br /&gt;
=== N32 ===&lt;br /&gt;
&lt;br /&gt;
[[Silc-toolkit]] provides a md5.h that is incompatible with NTP. Add the following entry to config.cache to make sure the header isn&#039;t used:&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;ac_cv_header_md5_h=no&amp;quot; &amp;gt; config.cache&lt;br /&gt;
&lt;br /&gt;
Compile the package:&lt;br /&gt;
 &lt;br /&gt;
 CC=&amp;quot;gcc ${BUILDN32}&amp;quot; USE_ARCH=n32 ./configure  --prefix=/usr \&lt;br /&gt;
 --bindir=/usr/sbin --sysconfdir=/etc --cache-file=config.cache &amp;amp;&amp;amp;&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
Install the package&lt;br /&gt;
&lt;br /&gt;
 make install &amp;amp;&amp;amp;&lt;br /&gt;
 install -dv -m755 /usr/share/doc/ntp-{{NTP-Version}} &amp;amp;&amp;amp;&lt;br /&gt;
 cp -Rv html /usr/share/doc/ntp-{{NTP-Version}}/&lt;br /&gt;
&lt;br /&gt;
=== 64Bit ===&lt;br /&gt;
&lt;br /&gt;
[[Silc-toolkit]] provides a md5.h that is incompatible with NTP. Add the following entry to config.cache to make sure the header isn&#039;t used:&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;ac_cv_header_md5_h=no&amp;quot; &amp;gt; config.cache&lt;br /&gt;
&lt;br /&gt;
Compile the package:&lt;br /&gt;
 &lt;br /&gt;
 CC=&amp;quot;gcc ${BUILD64}&amp;quot; USE_ARCH=64 ./configure  --prefix=/usr \&lt;br /&gt;
     --bindir=/usr/sbin --sysconfdir=/etc --cache-file=config.cache &amp;amp;&amp;amp;&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
Install the package&lt;br /&gt;
&lt;br /&gt;
 make install &amp;amp;&amp;amp;&lt;br /&gt;
 install -dv -m755 /usr/share/doc/ntp-{{NTP-Version}} &amp;amp;&amp;amp;&lt;br /&gt;
 cp -Rv html /usr/share/doc/ntp-{{NTP-Version}}/&lt;br /&gt;
&lt;br /&gt;
== Configuring ==&lt;br /&gt;
&lt;br /&gt;
=== Configuration File ===&lt;br /&gt;
&lt;br /&gt;
/etc/ntp.conf&lt;br /&gt;
&lt;br /&gt;
=== Configuration Information ===&lt;br /&gt;
&lt;br /&gt;
You will need to create an ntp.conf file so that ntp knows where to go find ntp servers from which it can get the current time. Here is a sample ntp.conf file suitable for the United States:&lt;br /&gt;
&lt;br /&gt;
 cat &amp;gt; /etc/ntp.conf &amp;lt;&amp;lt; &amp;quot;EOF&amp;quot;&lt;br /&gt;
 server 0.us.pool.ntp.org&lt;br /&gt;
 server 1.us.pool.ntp.org&lt;br /&gt;
 server 2.us.pool.ntp.org&lt;br /&gt;
 driftfile /var/cache/ntp.drift&lt;br /&gt;
 EOF&lt;br /&gt;
&lt;br /&gt;
Of course, if you live elsewhere, you are going to want to list servers closer to home - though ntp should be able to work just fine with any server that you choose. A list of servers can be found at http://www.pool.ntp.org/. Just click on your continent on the right and you&#039;ll find your way to a list of servers for your area. You can then replace the &#039;&#039;server ....&#039;&#039; lines with servers closer to home.&lt;br /&gt;
&lt;br /&gt;
The ntp.drift file allows ntp to compute the error in the intrinsic frequency of the clock on the computer it is running on, helping to keep the time on the computer correct.&lt;br /&gt;
&lt;br /&gt;
Also, if you want more detailed documentation, have a look at http://www.ntp.org/.&lt;br /&gt;
&lt;br /&gt;
=== Bootscript ===&lt;br /&gt;
&lt;br /&gt;
If you want &#039;&#039;&#039;ntp&#039;&#039;&#039; to always be running, install the init script provided by the [[blfs-bootscripts]] package:&lt;br /&gt;
&lt;br /&gt;
 make install-ntp&lt;br /&gt;
&lt;br /&gt;
If you want &#039;&#039;&#039;ntp&#039;&#039;&#039; to run only periodically, then add the following line to root&#039;s crontab (see [[Fcron]]):&lt;br /&gt;
&lt;br /&gt;
 ntpd -q&lt;br /&gt;
&lt;br /&gt;
 &#039;&#039;&#039;Note:&#039;&#039;&#039;&lt;br /&gt;
 If your computer will not always have an active internet&lt;br /&gt;
 connection on boot, then you should use the crontab approach.&lt;br /&gt;
 If you do not have an active internet connection when&lt;br /&gt;
 blfs-bootscripts&#039; ntp script runs, then your computer will&lt;br /&gt;
 not finish booting. It will sit there attempting to contact&lt;br /&gt;
 one of the ntp servers and it&#039;s not smart enough to figure&lt;br /&gt;
 out that you do not have an active internet connection.&lt;br /&gt;
 It&#039;s a problem similar to if you have [[dhcpcd]] installed&lt;br /&gt;
 without either [[ifplugd]] or [[netplug]].&lt;br /&gt;
&lt;br /&gt;
Link over clfs-bootscripts&#039; setclock script so that the hardware clock is set when the computer shuts down or reboots.&lt;br /&gt;
&lt;br /&gt;
 ln -svf ../init.d/setclock /etc/rc.d/rc0.d/K46setclock &amp;amp;&amp;amp;&lt;br /&gt;
 ln -svf ../init.d/setclock /etc/rc.d/rc6.d/K46setclock&lt;/div&gt;</summary>
		<author><name>89.182.10.222</name></author>
	</entry>
	<entry>
		<id>?title=Template:NTP-Version&amp;diff=8449</id>
		<title>Template:NTP-Version</title>
		<link rel="alternate" type="text/html" href="?title=Template:NTP-Version&amp;diff=8449"/>
		<updated>2007-03-25T20:43:00Z</updated>

		<summary type="html">&lt;p&gt;89.182.10.222: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;4.2.4p0&lt;/div&gt;</summary>
		<author><name>89.182.10.222</name></author>
	</entry>
</feed>