You are not logged in.
Pages: 1
ntpdate stopped working after the update to 2.6.30.
reinstalling 'ntp' solved it.
For those that are not allready using ntpdate - there is no better way to keep your computer to the right time:
crontab -e
Then add the following to the end of the file:
09 * * * * /usr/bin/ntpdate north-america.pool.ntp.org >/dev/null 2>/dev/null
If you don't live in Noth-America, you may use 'south-america', 'europe', 'asia', 'africa' or 'oceania' as prefix.
eg. europe.pool.ntp.org
Offline
Wrong - you are checking/setting/resetting the time only once per hour, rather than what the initscript should be doing:
1. Run ntpdate once and ONLY once - at startup.
2. Run ntpd as a daemon (the way that ntp is designed to work), so it continually ensures the PC's clock is accurate.
Offline
I know that - but unless you need split-second accuracy - this is more than sufficient and it saves the ntp-servers.
Offline
The common user hasn't a clue whether they'll need once-per-hour or better accuracy. They'll just be confused when the time seems to occasionally go crazy. So stick to the way ntp is designed, rather than this silly shortcut. NTP is designed to be a daemon, NOT run via crontab.
Offline
Also relevant: ntpdate will be retired, to be replaced by ntpd's -q option. See the man page for details.
Offline
OpenNTPD ftw!
Offline
OpenNTPD ftw!
+1
just install and start up the daemon
Check me out on twitter!!! twitter.com/The_Ringmaster
Offline
(Open)NTP should be run as a daemon, not crontabbed.
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
This has lost me, my systems run for about 45 days between reboots (limited by the frequency of mains power outages) and over this period one system gains about 25 minutes, the other gains about 15 min.
Currently they re-sync at boot with the default configuration from install, I was looking at re-syncing at 12 or 24 hour intervals, what is the responsible way to achieve this result.
Offline
@Cheifchimp
Why don't you use openntpd? It works well and does not require you to open any firewall ports. You can also set one machine to act as an ntp server on your LAN for the others.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
I was looking at re-syncing at 12 or 24 hour intervals, what is the responsible way to achieve this result.
Install and start OpenNTP which will run as a daemon and monitor your system time, adjusting when necessary.
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
ah, hmm, didn't know it existed till I read this thread, I have installed it now and when I started it it pulled the clock back 6 minutes
Offline
Pages: 1