Re: update time
On 14:53 Fri 07 Oct , Jacob Bresciani wrote:
> On Oct 7, 2005, at 2:35 PM, Ernest jw ter Kuile wrote:
>
> >On Friday 07 October 2005 02:25, Dr Gavin Seddon wrote:
> >
> >>Hi, I looked in the archives and to update my console clock the
> >>command
> >>is 'ntupdate' however this doesn't work. Can anyone tell me the
> >>command?
> >>
> >
> >This is a bit unclear. do you have the command or not ?
> >
> >it should be located in /usr/sbin, so trying it out as user will
> >usually fail.
> >
> >If you find it, try as root :
> >
> >#> ntpdate pool.ntp.org
> >
> >This will try to read the time on a server over using UDP with port
> >123, so
> >that port should be opened outbound in your firewall.
> >
> >if you install the debian package, ntpdate will do this during each
> >boot.
> >So if you are like most people and reboot regularly, your system
> >should stay
> >quite on time.
> >
> >Cheers,
> >
> >Ernest.
> >
> >
> >--
> >To UNSUBSCRIBE, email to debian-amd64-REQUEST@lists.debian.org
> >with a subject of "unsubscribe". Trouble? Contact
> >listmaster@lists.debian.org
> >
>
> or just cron it to happen on a regular basis (hourly...). I for one
> don't reboot unless there is a kernel upgrade/patch and my clocks
> need to stay sync'ed for Kerberos to function properly.
>
> And an FYI
>
> jacob@prometheus:~ $ sudo apt-get install ntpdate
> Reading Package Lists... Done
> Building Dependency Tree... Done
> Package ntpdate is not available, but is referred to by another package.
> This may mean that the package is missing, has been obsoleted, or
> is only available from another source
> E: Package ntpdate has no installation candidate
>
> my sources are as follows:
> deb http://amd64.debian.net/debian-amd64/ testing main contrib non-free
> deb http://debian.csail.mit.edu/debian-amd64/debian/ testing main
> contrib non-free
> deb-src http://debian.csail.mit.edu/debian-amd64/debian/ testing main
> contrib non-free
>
I got ntpdate from the _stable_ tree a few days ago.
Reply to: