In regards to coLinux getting the time from Windows, it only does this
when booting when it mentions "Setting system clock from hardware
clock" or similar. This is when coLinux checks Windows. After this
point, it keeps its own time (which accounts for why there can be a
discrepency). It appears to me that the problem exists in Windows, not
coLinux, although it may be a result of coLinux.
On 26 Apr 2005 20:11:21 +0100, Joe Wells (reverse mailbox letters only
for non-public replies) <sllewbj@...> wrote:
> "Robert K Coffman Jr - Info From Data Corporation" <bcoffman@...=
> > > > C:\Documents and Settings\jbw\Desktop>w32tm /monitor
> > > > GetDcList failed with error code: 0x80070057.
> > > > Exiting with error 0x80070057
> > >
> > >Huh?
> > /monitor will, I believe, pull time from a domain (or with alternate
> > switches, a computer) similar to net time /set, except using NTP rather=
> > SMB. It appears to me that your WinXP machine is not in a domain. On =
> > machine, this finds my DCs and notes which ones have NTP server running=
> Right, I am on my own, not in any domain.
> Does this mean this command is not actually helping me? If so, which
> command is succeeding in updating the time?
> > > > C:\Documents and Settings\jbw\Desktop>w32tm /resync
> > > > Sending resync command to local computer...
> > > > The following error occurred: The RPC server is unavailable. (0x800=
> > >
> > >Huh? What is with this error?
> > I just tried it here and mine fails also. I believe this line should
> > actually be put after the "net start w32time" line because it requires =
> > service to be running. I'm fixing my script....
> That seems to mean this command is also not needed for me,
> because it can't be working, right?
> So that means these lines should be enough:
> net stop w32time
> w32tm /unregister
> w32tm /unregister
> w32tm /register
> net time /setsntp:pool.ntp.org
> net start w32time
> I'm going to go try this now. Okay, I am now looking at the results.
> Removing those two lines prevents the time from being fixed. Removing
> the "w32tm /monitor" line but keeping the "w32tm /resync" line
> succeeds in getting the time fixed, despite emitting the error
> message. Moving the "w32tm /resync" line after the "net start
> w32time" line succeeds in fixing the time, without the error message.
> Now I am trying just the "w32tm /resync" line on its own. Yes, it
> succeeds! Only this one line is needed:
> w32tm /resync
> All the other lines are unneeded for my problem.
> My big question is why the "Update Now" button in the Windows user
> interface is not doing this.
> SF.Net email is sponsored by: Tell us your software development plans!
> Take this survey and enter to win a one-year sub to SourceForge.net
> Plus IDC's 2005 look-ahead and a copy of this survey
> Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=3D105hix
> coLinux-users mailing list