Discussion:
[Linuxptp-users] How to configure linuxptp
Caleb Yu
2015-06-20 06:55:35 UTC
Permalink
To whom it may interest,
I am new to linuxptp. I have not able to check on Linux-users archive yet
since I just recently added due to read access required error. I have
installed linuxptp according to the website but I don't know the commands
to configure or start it. I searched around a little bit but not able to
find what I need. It will help a lot if I get to know how to use this
program. Thank you.
Caleb
Richard Cochran
2015-06-20 10:34:48 UTC
Permalink
Post by Caleb Yu
To whom it may interest,
I am new to linuxptp. I have not able to check on Linux-users archive yet
since I just recently added due to read access required error.
Archives on Gmane:

http://news.gmane.org/gmane.comp.linux.ptp.devel
http://news.gmane.org/gmane.comp.linux.ptp.user
Post by Caleb Yu
I have
installed linuxptp according to the website but I don't know the commands
to configure or start it. I searched around a little bit but not able to
find what I need. It will help a lot if I get to know how to use this
program. Thank you.
The easiest way to start is like this:

ptp4l -m -q -i eth0

If your MAC only has SW time stamping, then add '-S' to the command line.

Everything else depends on your special requirements, but if you don't
have any, then you also don't need any other options.

HTH,
Richard

------------------------------------------------------------------------------
Caleb Yu
2015-06-20 10:59:07 UTC
Permalink
To Richard:
Thank you for replying so fast. Which file can I go and see what each
configurations options like -m, -q configure? -m should master mode right?
This will help me to able to have more advanced configuration if needed.
Thank you again. I am looking forwarding to using the program.
Sincerely,
Caleb
Post by Richard Cochran
Post by Caleb Yu
To whom it may interest,
I am new to linuxptp. I have not able to check on Linux-users archive yet
since I just recently added due to read access required error.
http://news.gmane.org/gmane.comp.linux.ptp.devel
http://news.gmane.org/gmane.comp.linux.ptp.user
Post by Caleb Yu
I have
installed linuxptp according to the website but I don't know the commands
to configure or start it. I searched around a little bit but not able to
find what I need. It will help a lot if I get to know how to use this
program. Thank you.
ptp4l -m -q -i eth0
If your MAC only has SW time stamping, then add '-S' to the command line.
Everything else depends on your special requirements, but if you don't
have any, then you also don't need any other options.
HTH,
Richard
Richard Cochran
2015-06-20 14:56:37 UTC
Permalink
Post by Caleb Yu
Thank you for replying so fast. Which file can I go and see what each
configurations options like -m, -q configure? -m should master mode right?
No, '-m' is to print the program's output to the terminal.
You can get a summary of the command line options like this:

ptp4l -h

To read the complete documentation, enter this command:

man ptp4l

If you didn't run "make install", then you can simply read the man
page in place:

man -l ptp4l.8

The other programs, phc2sys and pmc, also have man pages.

Cheers,
Richard

------------------------------------------------------------------------------
Caleb Yu
2015-06-20 15:35:13 UTC
Permalink
Thank you Richard. I will try it out.
Caleb
Post by Caleb Yu
Post by Caleb Yu
Thank you for replying so fast. Which file can I go and see what each
configurations options like -m, -q configure? -m should master mode
right?
No, '-m' is to print the program's output to the terminal.
ptp4l -h
man ptp4l
If you didn't run "make install", then you can simply read the man
man -l ptp4l.8
The other programs, phc2sys and pmc, also have man pages.
Cheers,
Richard
Loading...