Thank you for you answer!
When I run $ sudo tcpdump | grep ‘ptp’ it does return a lot of the following
two messages (repeatedly):
15:17:55.746473 IP 10.0.0.218.ptp-event > ptp-primary.mcast.net.ptp-event: UDP,
length 44
15:17:55.746504 IP 10.0.0.218.ptp-general > ptp-primary.mcast.net.ptp-general:
UDP, length 44
15:17:55.784460 IP 10.100.0.1.ptp-event > ptp-primary.mcast.net.ptp-event: UDP,
length 44
When running the command $ sudo ptp4l -H -i eno1 -s -m it returns the following:
ptp4l[9820.775]: selected /dev/ptp0 as PTP clock
ptp4l[9820.776]: port 1: INITIALIZING to LISTENING on INIT_COMPLETE
ptp4l[9820.777]: port 0: INITIALIZING to LISTENING on INIT_COMPLETE
ptp4l[9828.219]: selected best master clock 3c5282.fffe.5abe30
ptp4l[9834.262]: selected best master clock 3c5282.fffe.5abe30
ptp4l[9842.064]: selected best master clock 3c5282.fffe.5abe30
ptp4l[9848.472]: selected best master clock 3c5282.fffe.5abe30
Kind regards,
Jord Pool
> On 20 Apr 2018, at 15:14, Miroslav Lichvar <mlich...@redhat.com> wrote:
>
> On Fri, Apr 20, 2018 at 02:59:09PM +0200, Jord Pool wrote:
>> I am aiming to let NTP synchronise the system clock by using the shared
>> memory which I would like to fill by using PTP. Now I have read that
>> Timemaster is the binary to realise such setup.
>
>> ptp4l_option slaveOnly 1
>> ptp4l_option clock_servo ntpshm
>> ptp4l_option time_stamping hardware
>
> The three options above shouldn't be specified in timemaster config.
> It will add them automatically when needed.
>
> From the log it looks like ptp4l is not in the slave state. Does it
> work when you run it manually as "ptp4l -H -i eno1 -s" ?
> Do you see any ptp-event and ptp-general messages in tcpdump output?
>
> It might be a firewall issue.
>
> --
> Miroslav Lichvar
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users