Caution: May be gentoo specific

Scenario:

1 Master Server
Many clients
LAN

Installing on the Master Server

  1. Install clockserver package on server.
  2. get script from http://www.guinix.com/software/clocksd.html – appears dead.
    or the one local which has been changed for gentoo gentoo diff for clocksd.

Make sure /usr/local/etc exists.
Create the users and group.

groupadd sntp
useradd -g sntp -d /var/lib -s /bin/false clocksd; passwd -l clocksd
useradd -g sntp -d /var/lib -s /bin/false clocksl; passwd -l clocksl

edit clockspeed.conf
make sure your paths are correct, i.e. for gentoo change to:
CLOCKSPEED_BIN=”/usr/bin”
CLOCKSPEED_HOME=”/usr/sbin”

make sure that
CLOCKSPEED_TAID=”YES”
for the server and NO for the clients, there is no need to have tai servers on all boxes.
CLOCK_TYPE=”ntpclock” for servers

make sure your
CLOCK_IP=”128.118.25.3″
is correct and close to you

run sh install.sh

—-
the client install is similar,
CLOCK_TYPE=”taiclock” for accessing the master clock on the LAN
CLOCK_IP=”192.168.1.1″ or your LAN server.

run sh install.sh
That is it.



powered by Wordpress Multibox Plugin v1.3.5

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.

Categories : Computers, Legacy