Re: [Linuxptp-users] Should Linux PTP syn the clock used by date between PCs?
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
From: Gil G. <Gil...@ha...> - 2015-11-11 15:39:56
|
So if it is not best practice, how else can I sync the system clock on the master and the slaves? I would like all system clocks on the Lan to be synced to the master hardware clock on the master NIC. -----Original Message----- From: Richard Cochran [mailto:ric...@gm...] Sent: Wednesday, November 11, 2015 5:21 PM To: Gil Graiber Cc: lin...@li... Subject: Re: [Linuxptp-users] Should Linux PTP syn the clock used by date between PCs? On Wed, Nov 11, 2015 at 02:44:22PM +0000, Gil Graiber wrote: > I run phc2sys like this on the master and the slave. It is not best practice to use the system for a PTP master. However, you *can* do this if you really, truly want to. On the master, you need to repeat the '-r' phc2sys option in order to confirm the unusual configuration. Master: ptp4l -i eth0 phc2sys -a -r -r Slave: ptp4l -i eth0 -s phc2sys -a -r That should work better for you. Thanks, Richard |