Hello, Miroslav, thank you very much. It worked.

I stopped using the "--" because some options generated an error.

For example:

cve@cve-sbc-flt2:~/work/linuxptp-3.1.1$ sudo ptp4l -4 -S -m -q
--clientOnly=1 --step_threshold=0.001 -i enp3s0
ptp4l: unrecognized option '--clientOnly=1'

As ptp4l did not complain about the lack of --, I assumed (wrongly) it
was all OK.
I just learned it has been corrected in the latest version cloned from
git so I will
use it for further tests.

Once again, thank you very much.

Em qui., 11 de mai. de 2023 às 09:26, Miroslav Lichvar
<mlich...@redhat.com> escreveu:
>
> On Thu, May 11, 2023 at 08:45:02AM -0300, Elder Costa wrote:
> > Hello, Richard, thank you for the explanation. It confirms my initial
> > understanding of the
> > parameter. But I must be doing something wrong as I am not getting
> > this clock step.
>
> > cve@cve-sbc-flt2:~$ sudo ptp4l -4 -S -s -m -q step_threshold=0.001 -i enp3s0
>
> step_threshold is an option. If specified on command line, it needs to
> have the "--" prefix: --step_threshold=0.001
>
> --
> Miroslav Lichvar
>


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

Reply via email to