slitaz-forge rev 531

arm: add a setup guide to codex about NTP server
author Christophe Lincoln <pankso@slitaz.org>
date Wed Apr 30 17:17:10 2014 +0200 (2014-04-30)
parents 24baa7b96b46
children 70f4970cbe77
files arm/codex/setup.html
line diff
     1.1 --- a/arm/codex/setup.html	Fri Apr 25 18:25:59 2014 +0100
     1.2 +++ b/arm/codex/setup.html	Wed Apr 30 17:17:10 2014 +0200
     1.3 @@ -35,6 +35,7 @@
     1.4  <ul>
     1.5  	<li><a href="#httpd">HTTP Web server</a></li>
     1.6  	<li><a href="#znc">IRC bouncer setup</a></li>
     1.7 +	<li><a href="#ntpd">Lightweight time server</a></li>
     1.8  </ul>
     1.9  
    1.10  <h2 id="httpd">HTTP Web server</h2>
    1.11 @@ -79,6 +80,31 @@
    1.12  # killall znc
    1.13  </pre>
    1.14  
    1.15 +<h2 id="ntpd">Lightweigt time server</h2>
    1.16 +<p>
    1.17 +	SliTaz Busybox multi-tool binary provide a built-in NTP 
    1.18 +	(Network Time Protocol) client/server. If you have many machines
    1.19 +	in a local network that need to keep system clock up-to-date, it
    1.20 +	may be useful to setup your own NTP server to save traffic to
    1.21 +	the web. To start the NTP daemon using '0.pool.ntp.org' server
    1.22 +	has reference:
    1.23 +</p>
    1.24 +
    1.25 +<pre>
    1.26 +# ntpd -l -p 0.pool.ntp.org
    1.27 +</pre>
    1.28 +
    1.29 +<p>
    1.30 +	You can add this command to '/etc/init.d/local.sh' to start the daemon
    1.31 +	on each boot. Then from a other local mahine you just have to edit
    1.32 +	/etc/rcS.conf to set NTPD_HOST witj the IP address of you NTP server.
    1.33 +	You can also test the server with:
    1.34 +</p>
    1.35 +
    1.36 +<pre>
    1.37 +# ntpd -q -p 192.168.x.xxx
    1.38 +</pre>
    1.39 +
    1.40  
    1.41  <!-- Close content -->
    1.42  </div>