OPNsense Forum
English Forums => 23.7 Legacy Series => Topic started by: Imnot A Robot on December 29, 2023, 11:32:16 pm
-
Hello all,
I need to know if my NIC's support PTP hardware time stamping and a clock but it does not look like there's a PTPd.
Is there a freebsd equivalent of ethtool -T em0 ?
Ultimately this is to see if I can use OPNsense for long distance transmission of precision-clocked multichannel audio.
Thank you
-
Never used, nor had any need to personally, but it looks like you can just install ptpd from ports?
https://man.freebsd.org/cgi/man.cgi?query=ptpd2&sektion=8&apropos=0&manpath=FreeBSD+13.2-RELEASE+and+Ports
https://www.freshports.org/net/ptpd2/
opnsense ports docs:
https://docs.opnsense.org/manual/software_included.html#the-ports-tree
However, it would appear there is no hardware based support:
As of 2.3.1, PTPd still does not support hardware timestamping. This
functionality will appear in the upcoming version 2.4 - potentially an
interim version of 2.3.x may be delivered that will support hardware
clocks and timestamping on Linux. This is very much OS-specific and to
a large extent, hardware-specific. Linux has a PTP kernel API but not
all hardware supports it. Because PTPd supports multiple OS platforms,
where hardware timestamping may use different mechanisms on every plat-
form, it has to be re-written in a modular way to allow this without
unnecessarily increasing code complexity, which already is a problem.
source: https://man.freebsd.org/cgi/man.cgi?query=ptpd2&sektion=8&manpath=freebsd-ports#end
-
Thanks for the reply iMx. That is what I suspected. Maybe I'll briefly run Puppy on the appliance so that I can run ethtool -T.