1
wishcraft
Keeping time with ntp.snails.email

hey Xoopstroupers, how are you all, if you didn't know in unix/linux you can specify the /etc/ntp.conf that effects the time retrieval of the server even without ntpd installed; if you want to install NTP Services and Server for example on ubuntu you run the following:

$ sudo apt-get install ntp -y
$ sudo ufw allow 123
$ sudo service ntp start


if you checkhttp://ntp.snails.email you will then be able to add your service into the pooling with the form on there, the hostname needs to be pingable this is only if you install: ntp services

There is a script you can add to a cron to retrieve the detailed /etc/ntp.conf it is:-
##
## file: /var/replace-ntp.conf.sh
##
## CronJob:-
## */15 */4 * * * sh /var/replace-ntp.conf.sh
##
##
cd /tmp
rm 
-vf ntp.conf
wget http
://ntp.snails.email:80/v1/ntp.conf
if [ -"/tmp/ntp.conf" ]
then
   rm 
-vf /etc/ntp.conf 
   mv 
/tmp/ntp.conf /etc
   chmod 
-fv 0644 /etc/ntp.conf
else
   echo 
" ntp.conf was returned empty or not existing! "
fi
####################################################[ 2019-05-07 19.19, Tue, 17:10:21 ]######


You can also change your /etc/ntp.conf to list just as this with the Chronolabs Cooperative as the only pooling:-

pool 0.ntp.snails.email iburst
pool 1.ntp.snails.email iburst
pool 2.ntp.snails.email iburst
pool 3.ntp.snails.email iburst
pool 4.ntp.snails.email iburst
pool 5.ntp.snails.email iburst
pool 6.ntp.snails.email iburst
pool 7.ntp.snails.email iburst
pool 8.ntp.snails.email iburst
pool 9.ntp.snails.email iburst
pool 10.ntp.snails.email iburst
pool 11.ntp.snails.email iburst
pool 12.ntp.snails.email iburst
pool 13.ntp.snails.email iburst
pool 14.ntp.snails.email iburst
pool 15.ntp.snails.email iburst
pool 16.ntp.snails.email iburst
pool 17.ntp.snails.email iburst
pool 18.ntp.snails.email iburst
pool 19.ntp.snails.email iburst
pool 20.ntp.snails.email iburst
pool 21.ntp.snails.email iburst
pool 22.ntp.snails.email iburst
pool 23.ntp.snails.email iburst
pool 24.ntp.snails.email iburst
pool 25.ntp.snails.email iburst
pool 26.ntp.snails.email iburst
pool 27.ntp.snails.email iburst
pool 28.ntp.snails.email iburst
pool 29.ntp.snails.email iburst
pool 30.ntp.snails.email iburst
pool 31.ntp.snails.email iburst
server ntp.snails.email


You can also on your windows or macintosh in the control panel settings under time change the url to: ntp.snails.email!

2
wishcraft
Re: Keeping time with ntp.snails.email

helps to also run:

sudo systemctl enable ntp


it will load it and make sure it running when it reboots

3
wishcraft
Re: Keeping time with ntp.snails.email

A great application for your own NTP Service bell, remember if you set up NTP, you can use it for your time source for your own PC + Router at home, by enabling on the firewall port 123...

Another Great Application is - ClockSync - for Android Mobile Phone see it here:-
Resized Image

Login

Who's Online

244 user(s) are online (137 user(s) are browsing Support Forums)


Members: 0


Guests: 244


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits