Re: [Linuxptp-users] instable mapping of ptp device to interface
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
From: Fabian <fab...@gm...> - 2022-07-13 14:23:14
|
Hi, I had the same issue, systemd configurations did not affect the order of ptpX devices. I use chrony however. My script is attached. It's not the cleanest or nicest code but it works. Hope you find some inspiration from that. Before chrony is started the script is executed via a ExecStartPre=/etc/chrony/change_ptp.py line in the service file. br Am 13.07.2022 um 15:33 schrieb Marco Davids (SIDN) via Linuxptp-users: > Hi, > > Most of the time when I reboot this Linux server, ptp0 is connected to > eno1: > > ptp4l: [18.144] eno1 selected /dev/ptp0 as PTP clock > > But sometimes this is ptp1, which is pretty annoying: > > ptp4l: [18.745] eno1 selected /dev/ptp1 as PTP clock > > Does anyone has a suggestion on how to prevent this and make the mapping > between interface and ptp device more robust? > > > > > > _______________________________________________ > Linuxptp-users mailing list > Lin...@li... > https://lists.sourceforge.net/lists/listinfo/linuxptp-users > |