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:richardcoch...@gmail.com] 
Sent: Wednesday, November 11, 2015 5:21 PM
To: Gil Graiber
Cc: linuxptp-users@lists.sourceforge.net
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

------------------------------------------------------------------------------
_______________________________________________
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users

Reply via email to