Re: netdate - ntp - chrony ?

1999-05-13 Thread John Hasler
Christian Dysthe writes:

 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?

No, though it may be quite accurate enough for your purposes.  The protocol
used by both chrony and xntp3 adjusts for propabation delay.  Chrony also
calculates the drift rate of your clock and makes adjustments while you are
off line.  Both chrony and xntp3 can act as time servers for your LAN.

The biggest advantage of chrony on a dial-up system like yours is that it
will just work straight out of the box.  No configuration necessary.  
-- 
John HaslerThis posting is in the public domain.
[EMAIL PROTECTED]  Do with it what you will.
Dancing Horse Hill Make money from it if you can; I don't mind.
Elmwood, Wisconsin Do not send email advertisements to this address.


Re: netdate - ntp - chrony ?

1999-05-13 Thread Wayne Topa

Subject: netdate - ntp - chrony ?
Date: Wed, May 12, 1999 at 12:25:58PM -0500

In reply to:Christian Dysthe

Quoting Christian Dysthe([EMAIL PROTECTED]):
 Hi,
 
 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
 
 #!/bin/sh
 if [ -x /usr/sbin/netdate ]
 then
 /usr/sbin/netdate 165.91.52.110  /dev/null 21  
 fi
 exit 0
 
 165.91.52.110 is a time server.
 
 
 In /etc/cron.daily I have this script:
 
 #! /bin/sh
 if [ -x /sbin/hwclock ]
 then
hwclock --adjust  
hwclock --systohc --utc
 fi   
 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?
 
 

I'm with you. I do the same as you but have also installed adjtimex
which keeps things in line when I'm not connect for a long period,
like overnight.  For a home network, that combo works fine.

Wayne

-- 
Whom computers would destroy, they must first drive mad.
___
Wayne T. Topa [EMAIL PROTECTED]


netdate - ntp - chrony ?

1999-05-12 Thread Christian Dysthe
Hi,

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

#!/bin/sh
if [ -x /usr/sbin/netdate ]
then
/usr/sbin/netdate 165.91.52.110  /dev/null 21  
fi
exit 0

165.91.52.110 is a time server.


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

#! /bin/sh
if [ -x /sbin/hwclock ]
then
   hwclock --adjust  
   hwclock --systohc --utc
fi   
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?


---
Regards,
Christian Dysthe
Email: [EMAIL PROTECTED]
http://www.bigfoot.com/~cdysthe
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.