Differences between netdate, ntp and chrony ?
Extracted from debian-user
Tip provided by Christian Dysthe
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 220.127.116.11 > /dev/null 2>&1
18.104.22.168 is a time server.
In /etc/cron.daily I have this script:
if [ -x /sbin/hwclock ]
hwclock --systohc --utc
This last script is there since I do not often reboot, and still want the
hardware clock adjusted.
Previous | Next | Index of category | Main Index | Submit |
Appears in section(s) :
Tip recorded : 27-07-1999 18:32:16
HTML page last changed : 27-07-1999 20:10:09