Networking Forums  

Go Back   Networking Forums > Networking Newsgroups > Linux Networking

Firing up Time Synchronization Between Win XP and RH Linux?

Reply
 
Thread Tools Display Modes
  #1  
Old 11-25-2004, 02:52 AM
Default Firing up Time Synchronization Between Win XP and RH Linux?



Well, I've finally got, I think, a network connection between my RH 9.0 Enterprise
Linux machine and my Win XP computer. I pinged the Linux machine from Win XP, and
that worked, so I went out to another building to use the LInux machine. I tried
ntpdate -8 192.168.0.3 (the IP of XP), and got a message that said something like
"could use server to synch time". What else do I need to do to get this working?
Maybe my firewall is interferring? I didn't see any notice from it that it had
rejected a query.

BTW, what's with XP's time? I've not taken any measure to keep it up to date, but
it's only 10 seconds off. Does it have some automatic time synch when I'm on the
internet?
--
Wayne T. Watson (Watson Adventures, Prop., Nevada City, CA)
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet
(Formerly Homo habilis, erectus, heidelbergensis and now sapiens)

"I'm not going to die. It would ruin my image."
-- Jack La Lanne, 90 year old early TV health
& exercise promoter

Web Page: <home.earthlink.net/~mtnviews>


W. Watson
Reply With Quote
  #2  
Old 11-25-2004, 04:42 AM
Christopher Browne
Guest
 
Posts: n/a
Default Re: Firing up Time Synchronization Between Win XP and RH Linux?

Martha Stewart called it a Good Thing when "W. Watson" <(E-Mail Removed)> wrote:
> Well, I've finally got, I think, a network connection between my RH
> 9.0 Enterprise Linux machine and my Win XP computer. I pinged the
> Linux machine from Win XP, and that worked, so I went out to another
> building to use the LInux machine. I tried ntpdate -8 192.168.0.3 (the
> IP of XP), and got a message that said something like "could use
> server to synch time". What else do I need to do to get this working?
> Maybe my firewall is interferring? I didn't see any notice from it
> that it had rejected a query.
>
> BTW, what's with XP's time? I've not taken any measure to keep it up
> to date, but it's only 10 seconds off. Does it have some automatic
> time synch when I'm on the internet?


If XP is 10 seconds off, then it's not going to be any good as a time
source.

On the Linux side, what you need to configure is not ntpdate, but
rather ntp. Once ntp is successfully syncing against one or more
hosts elsewhere on the Internet, you could then have other hosts "hit"
that server. The ntp server will not accept requests until it
considers itself "in sync," which will likely take several minutes.

Information on how to configure ntp may be found at
<http://www.ntp.org/>
--
let name="cbbrowne" and tld="ntlug.org" in String.concat "@" [name;tld];;
http://www.ntlug.org/~cbbrowne/ntp.html
Rules of the Evil Overlord #49. "If I learn the whereabouts of the one
artifact which can destroy me, I will not send all my troops out to
seize it. Instead I will send them out to seize something else and
quietly put a Want-Ad in the local paper."
<http://www.eviloverlord.com/>
Reply With Quote
  #3  
Old 11-25-2004, 05:30 AM
Steve Wolfe
Guest
 
Posts: n/a
Default Re: Firing up Time Synchronization Between Win XP and RH Linux?

> Well, I've finally got, I think, a network connection between my RH 9.0
Enterprise
> Linux machine and my Win XP computer. I pinged the Linux machine from Win

XP, and
> that worked, so I went out to another building to use the LInux machine. I

tried
> ntpdate -8 192.168.0.3 (the IP of XP), and got a message that said

something like
> "could use server to synch time". What else do I need to do to get this

working?
> Maybe my firewall is interferring? I didn't see any notice from it that it

had
> rejected a query.
>
> BTW, what's with XP's time? I've not taken any measure to keep it up to

date, but
> it's only 10 seconds off. Does it have some automatic time synch when I'm

on the
> internet?


Not that I'm aware of. You'll be better off configuring NTP on the Linux
machine, and having your Windows machine get their time from the Linux
machine. There are two registry entries (search for "windows registry ntp",
and they'll likely turn up), and then the Windows time service will happily
use a Linux machine for synchronization.

steve


Reply With Quote
  #4  
Old 11-25-2004, 09:28 AM
W. Watson
Guest
 
Posts: n/a
Default Re: Firing up Time Synchronization Between Win XP and RH Linux?

Steve Wolfe wrote:

>>Well, I've finally got, I think, a network connection between my RH 9.0

>
> Enterprise
>
>>Linux machine and my Win XP computer. I pinged the Linux machine from Win

>
> XP, and
>
>>that worked, so I went out to another building to use the LInux machine. I

>
> tried
>
>>ntpdate -8 192.168.0.3 (the IP of XP), and got a message that said

>
> something like
>
>>"could use server to synch time". What else do I need to do to get this

>
> working?
>
>>Maybe my firewall is interferring? I didn't see any notice from it that it

>
> had
>
>>rejected a query.
>>
>>BTW, what's with XP's time? I've not taken any measure to keep it up to

>
> date, but
>
>>it's only 10 seconds off. Does it have some automatic time synch when I'm

>
> on the
>
>>internet?

>
>
> Not that I'm aware of. You'll be better off configuring NTP on the Linux
> machine, and having your Windows machine get their time from the Linux
> machine. There are two registry entries (search for "windows registry ntp",
> and they'll likely turn up), and then the Windows time service will happily
> use a Linux machine for synchronization.
>
> steve
>
>

The problem with using the Linux machine to synch off the internet is that I'm
seldom, almost never, on the internet with it. It's running a meteor camera observing
program 7/24 and has no need to interface with the internet, yet. The Windows machine
s don't need accurate time. The meteor Linux machine needs fairly accurate times. I'd
be happy to keep it within 0.5 seconds per day.

--
Wayne T. Watson (Watson Adventures, Prop., Nevada City, CA)
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet
(Formerly Homo habilis, erectus, heidelbergensis and now sapiens)

"I'm not going to die. It would ruin my image."
-- Jack La Lanne, 90 year old early TV health
& exercise promoter

Web Page: <home.earthlink.net/~mtnviews>
Reply With Quote
  #5  
Old 11-25-2004, 09:33 AM
W. Watson
Guest
 
Posts: n/a
Default Re: Firing up Time Synchronization Between Win XP and RH Linux?

Christopher Browne wrote:

> Martha Stewart called it a Good Thing when "W. Watson" <(E-Mail Removed)> wrote:
>
>>Well, I've finally got, I think, a network connection between my RH
>>9.0 Enterprise Linux machine and my Win XP computer. I pinged the
>>Linux machine from Win XP, and that worked, so I went out to another
>>building to use the LInux machine. I tried ntpdate -8 192.168.0.3 (the
>>IP of XP), and got a message that said something like "could use
>>server to synch time". What else do I need to do to get this working?
>>Maybe my firewall is interferring? I didn't see any notice from it
>>that it had rejected a query.
>>
>>BTW, what's with XP's time? I've not taken any measure to keep it up
>>to date, but it's only 10 seconds off. Does it have some automatic
>>time synch when I'm on the internet?

>
>
> If XP is 10 seconds off, then it's not going to be any good as a time
> source.
>
> On the Linux side, what you need to configure is not ntpdate, but
> rather ntp. Once ntp is successfully syncing against one or more
> hosts elsewhere on the Internet, you could then have other hosts "hit"
> that server. The ntp server will not accept requests until it
> considers itself "in sync," which will likely take several minutes.
>
> Information on how to configure ntp may be found at
> <http://www.ntp.org/>

See my post to S. Wolfe, just below yours. 10 seconds in several months is pretty
decent, but it's not the machine that requires better accuracy. I'm quite surprised
though that the Win machine drifts so little whereas the Linux machine drifts 5-8
minutes per month. I'm familiar with the Linux commands to improve that, but ...
Well, that's a long story. Networking should be the most efficient and least costly
method for getting a better accuracy. The best choice would be a $300+ board.

--
Wayne T. Watson (Watson Adventures, Prop., Nevada City, CA)
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet
(Formerly Homo habilis, erectus, heidelbergensis and now sapiens)

"I'm not going to die. It would ruin my image."
-- Jack La Lanne, 90 year old early TV health
& exercise promoter

Web Page: <home.earthlink.net/~mtnviews>
Reply With Quote
  #6  
Old 11-25-2004, 01:20 PM
chris-usenet@roaima.co.uk
Guest
 
Posts: n/a
Default Re: Firing up Time Synchronization Between Win XP and RH Linux?

W. Watson <(E-Mail Removed)> wrote:
> The problem with using the Linux machine to synch off the internet is that I'm
> seldom, almost never, on the internet with it. It's running a meteor camera observing
> program 7/24 and has no need to interface with the internet, yet. The Windows machine
> s don't need accurate time. The meteor Linux machine needs fairly accurate times. I'd
> be happy to keep it within 0.5 seconds per day.


OK, well run a NTP server on the windows box and use that to sync to
the Internet, then sync your linux box from the windows system. There
are versions of NTP for windows freely available.

Chris
Reply With Quote
  #7  
Old 11-25-2004, 01:23 PM
James Knott
Guest
 
Posts: n/a
Default Re: Firing up Time Synchronization Between Win XP and RH Linux?

W. Watson wrote:

> BTW, what's with XP's time? I've not taken any measure to keep it up to
> date, but it's only 10 seconds off. Does it have some automatic time synch
> when I'm on the internet?


It has an ntp client, but it has to be enabled and configured.

Reply With Quote
Reply

Tags
firing, linux, synchronization, time, win

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 01:52 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.