[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

netdate - ntp - chrony ?


I want a simple task performed. ntp does it, but is not really made for a
dial-up system like mine.

chrony does it also, but what I wondered is: couldn't It use netdate for this?

I have put the following script in my /etc/ip-up.d

if [ -x /usr/sbin/netdate ]
/usr/sbin/netdate > /dev/null 2>&1  
exit 0 is a time server.

In /etc/cron.daily I have this script:

#! /bin/sh
if [ -x /sbin/hwclock ]
   hwclock --adjust  
   hwclock --systohc --utc
exit 0

This last script is there since I do not often reboot, and still want the
hardware clock adjusted.

These two scripts seems to keep my clock correct without having to install ntp
or chrony, or have I as a newbie missed something here?

I would really like to know the difference between netdate and ntp/chrony. And
if you choose a time server to use with netdate, shouldn't it be just as
accurate as if you used ntp?

Christian Dysthe
Email: cdysthe@bigfoot.com
ICQ 3945810
Date: 12-May-99
Time: 12:25:58
Powered by Debian GNU/Linux

	   "Things are more like they used to be than they are now."

Reply to: