Comments (12)
I also have this problem.
from w32time.
I have this problem also,
I suspect that w32time didn't get windows ptp provider, see the output here:
ReferenceId: 0x00000000 (unspecified) //---------------> this should be 0x4D505450
Last Successful Sync Time: unspecified
Source: Local CMOS Clock
But how to change it ?
from w32time.
I found reference to a similar (maybe th
e same) problem under a different issue here; it appears that Microsoft's implementation only works when the PTP domain is 0.
Are either of you using a PTP server that is using a different domain?
from w32time.
actually, PTP service is ready enabled, in event viewer
we can see domain is 0 here. I didn't try different domain.
Req/Resp messages were showed on Wireshark tool.
but still shows error when run w32tm /resync
I total get confused about it
from w32time.
Hi, Guys
finally, I got the ptp4l works with w32tm. but it still has some problems, the phaseoffset should not be correct, it is so huge, and after sync, the time was changed to 1995, i don't know why, because in Wireshark, we checked the correction, it is no problem, but why W32TM shows show a huge gap, Does everyone know it?
attach some picture here
from w32time.
could you share all parameters that you are using starting ptp4l at linux server, please?
In my environment it would see the server messages, but wouldnt synchronize. at least it wouldnt indicate that sync happens in the terminal but would also throw error messages. It was all like half working. tried event viewer and wireshark. client/server also with various parameters etc.
from w32time.
hi all
As I mentioned, W32tm only supports unicast, so please use this command
./ptp4l -E -i (interface) -m -H -f ./configs/UNICAST-MASTER.cfg
you should modify the config as below:
[global]
hybrid_e2e 1
inhibit_multicast_service 0
unicast_listen 1
Hope it can help you.
from w32time.
@Kemler-J
Thank you for sharing!
Will try to get with this config https://github.com/richardcochran/linuxptp/blob/master/configs/UNICAST-MASTER.cfg with the mentioned modifications
from w32time.
@AndreV84
Did you receive Req/Resp messages on Wireshark tool? And did you receive 512,513 messages in event viewer please?
I also tried to deploy the PTP client in Windows to complete the clock synchronization with LinuxPTP in Linux. Windows could only receive sync, follow up and Announce messages, but did not reply any messages(delay_req). What's the matter?
from w32time.
exactly!
receive Req/Resp messages on Wireshark tool also 512,513
however if you are not binded to ptp4l as I am you may use pre-configured ptpd that works but less desireable in certain situations
from w32time.
@AndreV84
Thank you for your replying.
It is a pity that Centos only support Linuxptp.
I also added the unicast_master configuration file as above
And run like this
But the windows did not reply any messages.
from w32time.
My guess is that the currentUtcOffsetValid
-flag (PTP_UTC_REASONABLE
in Wireshark) has to be non-zero, which is something that can be easily accomplished with PTPd, but is not a trivial thing to do with LinuxPTP.
Obviously, also the domain has to be '0' and the PTP_TIMESCALE
-flag also has to be set.
from w32time.
Related Issues (17)
- Software Timestamping API Documentation HOT 1
- Should be able to configure a fallback or priority of sources
- PTP Client not synching HOT 2
- PTP Missing PTPclient register key HOT 1
- Windows SoftwareTimeStamping does not work on physical Windows desktop versions
- PtpClient not showing up with w32tm /query /configuration HOT 1
- Administrative Template for PTP config
- This repo is missing important files
- Layer 2 PTP Not Supported?
- PTP not working
- PTP client operational, yet system time is wrong
- why is the readme empty?
- PTP domain issues HOT 2
- PTP client expects a valid/non-zero originTimestamp in SYNC message
- Windows SW timestamping does not work on server 2019 standard
- Must be able to configure/specify interface for multicast join HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from w32time.