I'am trying to synchronize my 3 RaspberryPi clock on ptpd-2.1.0 but I can't.
I want 1 master and 2 slaves.
So I ran on the master : sudo ptpd -b wlan0
On the slaves : sudo ptpd -g -b wlan0
The clocks are synchronized but close to 0.5/1 second no more.
Where am I wrong?
Thanks for your help.
Last edit: antrob 2015-06-18
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
On another note - you are using a Raspberry Pi with a wireless LAN adapter via USB. This is going to give you very poor timing performance, in those conditions NTP may actually fare better, unless you wait for ptpd 2.3.1 which adds some enhanced outlier filtering and statistical filtering, but still the platform you've got is useful for testing but not much else.
Regards,
Wojciech
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
thank for your responses.
Concerning the subject, it was to late when I realized that I had forgotten it, I'm really sorry about that.
Concerning the version, it is the latest version in the official repositories (using apt-get) and I had difficulties to compile the 2.3 version.
Wojciech, thanks for this note, thus I think I will use NTP.
Thanks for you help.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I'am trying to synchronize my 3 RaspberryPi clock on ptpd-2.1.0 but I can't.
I want 1 master and 2 slaves.
So I ran on the master : sudo ptpd -b wlan0
On the slaves : sudo ptpd -g -b wlan0
The clocks are synchronized but close to 0.5/1 second no more.
Where am I wrong?
Thanks for your help.
Last edit: antrob 2015-06-18
Hello,
I think, that version 2.1 has wrong default settins to P2P delay mechanism instead of E2E (-h option)
You should also provide more info about whats going on. Try to run ptpd on all devices in foreground mode (-c option)
You should also enable statistics (-D option)
So
master: sudo ptpd -hcDb wlan0
slave: sudo ptpd -hcDgb wlan0
You should see also state of the synchronization - listening, master, slave.
All slaves should go to "slave" state after master goes to "master" state.
Jan
Hi,
On another note - you are using a Raspberry Pi with a wireless LAN adapter via USB. This is going to give you very poor timing performance, in those conditions NTP may actually fare better, unless you wait for ptpd 2.3.1 which adds some enhanced outlier filtering and statistical filtering, but still the platform you've got is useful for testing but not much else.
Regards,
Wojciech
Hi,
thank for your responses.
Concerning the subject, it was to late when I realized that I had forgotten it, I'm really sorry about that.
Concerning the version, it is the latest version in the official repositories (using apt-get) and I had difficulties to compile the 2.3 version.
Wojciech, thanks for this note, thus I think I will use NTP.
Thanks for you help.