I have a Pi5 with a Waveshare "PCIe TO Gigabit ETH USB3.2 HAT+" (part# 27541). I am using CODESYS 3.5.21.1 on the Pi5. CODESYS is using the eth0 port (assumed to be the native PI5 port) for an EtherCAT control network. I am using the Waveshare port (assumed eth1) for LAN connection to the PI5.
My problem is that sometimes (apparently randomly) the eth0 interface is assigned to the Waveshare port and eth1 is assigned to the native PI5 port. This cripples the EtherCAT network assigned (in software) to the eth0 port but no longer physically attached (physically) to the eth0 port.
Is there a way to make sure that the native PI5 port will be assigned the eth0 interface on bootup?
My problem is that sometimes (apparently randomly) the eth0 interface is assigned to the Waveshare port and eth1 is assigned to the native PI5 port. This cripples the EtherCAT network assigned (in software) to the eth0 port but no longer physically attached (physically) to the eth0 port.
Is there a way to make sure that the native PI5 port will be assigned the eth0 interface on bootup?
Statistics: Posted by km1234567 — Mon Sep 01, 2025 2:56 pm — Replies 0 — Views 21