ntpd does a sanity check before it adjusts time on your system.  If your current 
system time is too far off, then ntpd won't do anything, even though it might appear 
to load at bootup.  Type "ntpq", then "pe" to see which servers your system is trying 
to sync to.  I prefer to have 2 or 3, but be sure you have at least 1 valid ntp server 
in your ntp.conf such as:

server     tick.usno.navy.mil    prefer

Obviously, you gotta be connected for ntp to work.  Are you sure the laptop isn't 
going into standby or something?  Maybe try resetting your system time to something 
close and then be sure the bios clock is set to the same thing using the "hwclock 
--systohc" command, then restart ntpd.  Possibly the system is loosing enough time 
while shut down that it fails the ntp sanity check on startup.  Just some ideas.


Sincerely,
Jim Hubbard

              .--.
             |o_o |
             |:_/ |
            //   \ \
           (|     | )
          /'\_   _/`\
          \___)=(___/

Rockingham County Linux Users Group
        www.rock.lug.net
____________________________________




> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Matthew Saltzman
> Sent: Monday, January 27, 2003 9:51 PM
> To: [EMAIL PROTECTED]
> Subject: Re: clock falling behind 2-3 minutes every hour!
> 
> 
> On Tue, 28 Jan 2003, Markku Kolkka wrote:
> 
> > Viestissä Maanantai 27. Tammikuuta 2003 18:36, Dave Sherman kirjoitti:
> > > I have NTPd setup, and it correctly updates my system every time I
> > > bootup. But when I leave my laptop running for several hours 
> (every day
> > > at the office, for example), I can watch as the clock falls behind.
> >
> > ntpd should keep your clock in sync, apparently it isn't 
> configured correctly.
> > redhat-config-time is known to create broken config files, check your
> > /etc/ntp.conf.
> 
> >From the discussion in the Bugzilla entries, it appears that if the clock
> drift is too fast, ntp can't keep the clock in sync.  Also, it is a bit of
> a pain to run it on a machine that is not connected to a network full
> time.
> 
> -- 
>               Matthew Saltzman
> 
> Clemson University Math Sciences
> [EMAIL PROTECTED]
> http://www.math.clemson.edu/~mjs
> 
> 
> 
> -- 
> Psyche-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/psyche-list
> 



-- 
Psyche-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/psyche-list

Reply via email to