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

RE: [cobalt-users] Automatic NTP



> 
> Hi,
> 
> i want to update the systemtime on my Qube3 every day.
> The ntp-server is ntp0.fau.de.
> 
> In the webinterface for admin i can't configure it.
> 
> What entries needed for this feature?
> 
> Regards,
> 
> Ralf Homeier


You should be able to login, go to SYSTEM then choose TIME, and enter in
the NTP server address in the last box shown (NTP Server Address
(optional))
Then click on SAVE.

HOWEVER, I have just done this on our Qube, and cannot find where it
schedules the feature, so if you want to make sure, do the following:
SSH into your qube, and go to root (login as admin, then su - and enter
the admin password again)
[root /root]# cd /etc
[root /etc]# pico -w crontab

Add in the following line to the bottom of this page (Use arrow-keys to
navigate)
0 1 * * * root ntpdate ntp0.fau.de

Then save and exit (To save, CTRL-W and to exit CTRL-X)
Then restart the cron:
[root /etc]# /etc/rc.d/init.d/crond restart

That should now sync your system clock to the ntp server you wanted
every day at 1am.

Any problems, let me know.

Andy
andy@xxxxxxxxxxxxxxxxxxxxx
http://ineedlinux.info/