Time Updates

Mark Fraser kubuntu at mfraz.orangehome.co.uk
Wed Sep 10 16:45:49 UTC 2008


On Wednesday 10 September 2008 15:34:11 Derek Broughton wrote:
> Mark Fraser wrote:
> > On Wednesday 10 September 2008 03:27:51 Larry Hartman wrote:
> >> On Tuesday 09 September 2008 07:03:11 am Mark Fraser wrote:
> >> > On Tuesday 09 September 2008 02:33:33 Larry Hartman wrote:
> >> > > On Monday 08 September 2008 08:00:29 am Derek Broughton wrote:
> >> > > > So look at the logs:
> >> > > > $ grep ntpd /var/log/syslog*
> >> > >
> >> > > absolutely nothing....this is plenty curious.
> >> >
> >> > I'm getting nothing here too. Manually doing a sudo ntpdate-debian
> >> > works:
> >> >
> >> > 9 Sep 14:47:58 ntpdate[32107]: step time server 91.189.94.4 offset
> >> > -2.149841 sec
> >>
> >> Only one question, does this tell me when the time server was last
> >> polled by my computer, or does it actually poll and adjust my current
> >> time?
> >
> > It polls and adjusts your current time. I'm sure there must be some way
> > of getting to update upon boot.
>
> Do you have /etc/network/if-up.d/ntpdate?

Yes I do.

> If not, you should, because it is part of the ntpdate package.  If you do,
> what happens if you disconnect from and reconnect to the network?  It's
> possible that that runs before you can actually get to a time server (I've
> seen that) but even so, it should give a message.

I found from https://help.ubuntu.com/community/UbuntuTime that I needed to 
install the ntp package. After rebooting and running
grep ntp /var/log/syslog*

I get:

Sep 10 15:42:28 Rachael ntpd[1324]: time reset -0.135819 s
Sep 10 15:54:36 Rachael ntpd[1324]: synchronized to 91.189.94.4, stratum 2
Sep 10 17:09:07 Rachael ntpd[4371]: synchronized to 91.189.94.4, stratum 2

So, it looks like it is working OK now.

-- 
Registered Linux User #466407 http://counter.li.org





More information about the kubuntu-users mailing list