Thank you, Werner.

But it did not help. 
Yes, Linux Mint is Ubuntu based distro.
But as I previously said, configuration file for using ptp4l as a service 
placed here:

/etc/ptp4l/ptp4l.conf

But I can’t find any lines dedicated to the interface.
That was the reason I was trying to add  -i (myinterface) option are the end of 
the line, 

systemctl start ptp4l -i enp1s0

but the Linux system did not get that options and generates errors:

Failed to start enp1s0.service: Unit enp1s0.service not found.

So, the best solution is to put name of the interface to the conf file located 
here:

/etc/ptp4l/ptp4l.conf

But where exactly , and what is the syntax of dedication of the interfaces. 

Thank you in advance. 

Best Regards. 

Ivan Zabaluyev. 


Sent from my iPad

> On Nov 24, 2020, at 11:13 AM, Werner Macho <werner.ma...@gmail.com> wrote:
> 
> Hi!
> 
> I am not 100% sure about Linux Mint, but as it is Ubuntu based you
> should have a file called
> 
> /etc/default/ptpd
> 
> where you can set the options for the service ..
> The service itself should only be started with one argument.
> 
> So
> systemctl start ptp4l
> should be enough.
> 
> Hope this helps
> regards
> Werner
> 
>> On Tue, Nov 24, 2020 at 7:26 PM Ivan Zabaluyev <ivan.zabalu...@gmail.com> 
>> wrote:
>> 
>> Dear community,
>> I am making  my first steps in Linux. I am  trying to use ptp4l as a Grand  
>> Master for my AES67/RAVENNA test laboratory. I am not very familiar with 
>> Linux, and probably make something wrong. I am using Linux Mint XFCE distro. 
>> And everything is working fine when I am starting ptp4l as a program. But 
>> when I am trying to start it as a service I am getting errors.
>> As I understand, and I tested it, when I am starting ptp4l as a service,
>> 
>> systemctl start ptp4l
>> 
>> parameters are taken from the /etc/ptp4l/ptp4l.conf file
>> but I can't find where to put the interface I need to use with the ptp4l
>> Whan I am trying to add options to the command, it is not working, probably 
>> because it is not working that way.
>> So, when I am running:
>> 
>> systemctl start ptp4l -i enp1s0
>> 
>> I am getting that:
>> 
>> Failed to start enp1s0.service: Unit enp1s0.service not found.
>> 
>> Please help me to start ptp4l as a service.
>> 
>> Thank you in advance for your help.
>> 
>> _______________________________________________
>> Linuxptp-users mailing list
>> Linuxptp-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/linuxptp-users
_______________________________________________
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users

Reply via email to