google comes up trumps again,
http://www.redhat.com/swr/i386/xntp3-5.93-14.i386_dl.html
IWD
-----Original Message-----
From: Mark Hannah [mailto:[EMAIL PROTECTED]]
Sent: 18 April 2001 12:37
To: Paul Millar; scottish
Subject: RE: [scottish] Linux time.
Am I doing something silly here?
I am going to "www.redhat.com" and "serach the marketplace: Software".
I then do a search on "ntp" and it comes back with "no resultd found".
What am I doing wrong?
Thanks,
Mark.
>===== Original Message From Paul Millar <[EMAIL PROTECTED]> =====
>On Wed, 18 Apr 2001, Mark Hannah wrote:
>> Thanks to everyone for replying...this was the exact problem...dual boot
with
>> windows. I have updates the hardware clock and things are perfect now.
>>
>> I don't have an "ntpdate" command though. Is it simply a matter of
>> downloading
>> this prog and running it? Or does it need any other config?
>
>ntpdate is part of the ntp package, which tries to keep your clock
>synchronised with various time servers dotted around the Internet, it
>takes into account latency in packets and jitter in the time-servers to
>get a best-guess of the correct time.
>
>ntpdate does a one-shot request from a particular time-server and updates
>the system time accordingly. ntpd is the daemon that maintains the system
>time by periodically (typ. 2-3 minutes) contacts a selection of
>time-servers to make sure everything's ok.
>
>To get it, either get hold of the ntp package (ntp-4.0.99k-15.i386.rpm,
>for RH) or compile the source (which is painless).
>
>Cheers,
>
>Paul.
>
>> >===== Original Message From Paul Millar <[EMAIL PROTECTED]> =====
>> >Hi Mark,
>> >
>> >On Wed, 18 Apr 2001, Mark Hannah wrote:
>> >> Can anyone help me with a problem that has been driving me crazy for
the
>> last
>> >> few weeks?
>> >>
>> >> Since we switched to BST, my linux time has somehow got an hour ahead.
>> >> I can chage the time by doing :-
>> >>
>> >> date --set='-1 hour'
>> >>
>> >> but, on the next re-boot the time reverts back to being an hour fast.
>> >> Can anyone tell me what is going on?
>> >
>> >Is this a dual boot with a windows machine, by an chance ?
>> >
>> >Ok, There are two distinct clocks on a PC a `hardware' clock (works when
>> >the power is off, but tends to drift badly) and a `system' clock
>> >(maintained by Linux in software, generally a lot better but not
perfect).
>> >
>> >On power-up (in /etc/rc.d/rc.sysinit for the curious), Linux reads the
>> >time from the hardware clock. There are two conventions for the hardware
>> >clock: storing UTC or local time. If you store UTC in your hardware
clock,
>> >then you don't have to alter the clock when entering BST, if you store
>> >local time then you do.
>> >
>> >To alter the hardware clock, use the hwclock command, e.g.:
>> > hwclock (look at current time in hardware clock)
>> > hwclock --systohc (copies system clock to hardware clock,
assuming
>> > hardware clock stores local time)
>> > hwclock --systohc --utc (as above but hardware clock stores UTC)
>> >
>> >Unfortunately, windows assumes that the hardware clock stores the local
>> >time and will adjust the clock accordingly when entering BST, hence the
>> >problem. You can either reset the clock to UTC and live with windows
>> >having the wrong idea of time, or update Linux to mirror windows'
>> >behaviour. If you have a RedHat machine, look at the
/etc/sysconfig/clock
>> >file and change UTC=true to UTC=false.
>> >
>> >HTH
>> >
>> >Paul.
>> >
>> >PS. If you are going to use ntp (which is very good) make sure you've
>> >updated your copy. There's a vulnerability that can lead to a remote
root
>> >compromise. Updates are available from RedHat (and I assume SuSE,
>> >mandrake, ...)
>> >
>>
>---------------------------------------------------------------------------
--
>> -
>> >Paul Millar yo-yo, n. :
>> >Particle Physics Theory Group Something that is
occasionally
>> >Department of Physics and Astronomy up but normally down.
>> >University of Glasgow, (see also Computer)
>> >Glasgow G12 8QQ,
>> [EMAIL PROTECTED]
>> >Scotland +44 (0)141 330
4717
>>
>---------------------------------------------------------------------------
--
>> -
>> >
>> >--------------------------------------------------------------------
>> >http://www.lug.org.uk http://www.linuxportal.co.uk
>> >http://www.linuxjob.co.uk http://www.linuxshop.co.uk
>> >--------------------------------------------------------------------
>>
>> Totalise - the Users ISP
>> ----------------------
>> To become a member and a shareholder
>> visit http://www.totalise.net
>>
>> -----------------------
>> The Totalise Email system, probably the most flexible email system in the
>> world. To register for an account goto http://www.totalise.net
>>
>> --------------------------------------------------------------------
>> http://www.lug.org.uk http://www.linuxportal.co.uk
>> http://www.linuxjob.co.uk http://www.linuxshop.co.uk
>> --------------------------------------------------------------------
>>
>
>---------------------------------------------------------------------------
--
-
>Paul Millar yo-yo, n. :
>Particle Physics Theory Group Something that is occasionally
>Department of Physics and Astronomy up but normally down.
>University of Glasgow, (see also Computer)
>Glasgow G12 8QQ,
[EMAIL PROTECTED]
>Scotland +44 (0)141 330 4717
>---------------------------------------------------------------------------
--
-
>
>
>--------------------------------------------------------------------
>http://www.lug.org.uk http://www.linuxportal.co.uk
>http://www.linuxjob.co.uk http://www.linuxshop.co.uk
>--------------------------------------------------------------------
Totalise - the Users ISP
----------------------
To become a member and a shareholder
visit http://www.totalise.net
-----------------------
The Totalise Email system, probably the most flexible email system in the
world. To register for an account goto http://www.totalise.net
--------------------------------------------------------------------
http://www.lug.org.uk http://www.linuxportal.co.uk
http://www.linuxjob.co.uk http://www.linuxshop.co.uk
--------------------------------------------------------------------
________________________________________________________________________
Scottish Enterprise Network
http://www.scottish-enterprise.com
This message is sent in confidence for the addressee only.
It may contain legally privileged information. The contents are not to
be disclosed to anyone other than the addressee. Unauthorised recipients
are requested to preserve this confidentiality and to advise the sender
immediately of any error in transmission.
--------------------------------------------------------------------
http://www.lug.org.uk http://www.linuxportal.co.uk
http://www.linuxjob.co.uk http://www.linuxshop.co.uk
--------------------------------------------------------------------