Hello Everyone I would like to try to use a time server on the internet to sychronize my server. I have no idea where to start. Can any one lead me by the hand. Thanks for you valuable time. bob
install xntpd.rpm from suse disks or ftp site. then setup your /etc/ntp.conf file like so server ntp-1.cso.uiuc.edu prefer server ntp-2.mcs.anl.gov driftfile /etc/ntp.drift statsdir /var/ntpstats logfile /var/log/ntp keys /etc/ntp.keys trustedkey 3 4 5 6 14 requestkey 15 controlkey 15 then start up xntpd with /etc/init.d/xntpd start if you get errors you may need to do touch /etc/ntp.drift about 2 hours later, try to synch the time from a client machine with the server. on the client (linux) do ntpdate -b -s server.domain.com if your machine has samba on it and you are serving to windows clients, they can set their time by doing net time //servername /set /yes from a command prompt. thats it. On Mon, 23 Jul 2001, Robert Barish wrote:
Hello Everyone I would like to try to use a time server on the internet to sychronize my server. I have no idea where to start. Can any one lead me by the hand. Thanks for you valuable time. bob
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq and the archives at http://lists.suse.com
Chad Whitten Network/Systems Administrator Nexband Communications chadwick@nexband.com
Hi Bob,
Start with the package xntpd, and then read its man pages. It will be on the
SuSE disks. Use an up-to-date version as a few months ago there was a
rewrite to incorporate security fixes. It's a daemon that will serve time
to your clients, and get it from a suitable time server. The configuration
file is pretty easy to set up. The daemon will write logs you can check out
to see how things are going. If you have firewalling / packet filtering in
place, you will need to open a hole to & from UDP port 123 to & from the
appropriate public servers.
I did this recently because a lot of older pcs on my network had the time
way off. On the client side, if you have windows clients, there is a nice
little client called Automachron you can get from http://oneguycoding.com.
It's free and nice and easy to set up so it iconises in the system tray and
syncs time with your local time server.
There are good articles and help at http://www.eecis.udel.edu/~ntp/, though
in many ways some of these articles are probably a bit too complex for what
you want. The xntpd man page will get you there. Somewhere on there are
links to suitable public servers. I didn't find it too hard to get time
properly running and distributed on the network.
Hope it helps
Fergus
----- Original Message -----
From: "Robert Barish"
Hello Everyone I would like to try to use a time server on the internet to sychronize my server. I have no idea where to start. Can any one lead me by the hand. Thanks for you valuable time. bob
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq and the archives at http://lists.suse.com
For me, I installed xntpd, but do not run it. I instead, added to my crontab: 29 0 * * * /usr/sbin/ntpdate sundial.columbia.edu so that it updates the time at 12:29am every day. Then I uncommented in /etc/inetd.conf: time stream tcp nowait root internal so that people coulds synchronize off me. It seems to work right to me, am I doing it wrong? -BarkerJr
Hello Everyone I would like to try to use a time server on the internet to sychronize my server. I have no idea where to start. Can any one lead me by the hand. Thanks for you valuable time. bob
participants (4)
-
BarkerJr
-
dog@intop.net
-
Fergus Wilde
-
Robert Barish