Skip to contentSkip to conversation

#yocto eth0 stays down if enp1s0 is renamed in zeus

DISCUSSION Hans-Ulrich Schlieben 1 participant 1 message Jan 17, 2020

lore
Share & tools
lore
#0 lore raw

Hi,

moving from thud to zeus eth0 no longer goes up on boot.

The device has two ethernet ports eth0 and enp1s0. The image renames enp1s0 to eth1 which works fine in thud using:

# cat /etc/systemd/network/50-eth1.link
[Match]
Driver=igb
Path=platform-1ffc000.pcie-pci-0000:01:00.0

[Link]
Name=eth1

Additionally there are two config files to set eth0 to dhcp and eth1 to 192.168.3.1. These i had to rename to precede the new default config file in zeus named /lib/systemd/network/80-wired.network If i deactivate the link file both ethernet ports work just fine in zeus too. As soon as the link-file is active enp1s0 is renamed to eth1 and eth0 stays down.

# networkctl list -a
IDX LINK TYPE     OPERATIONAL SETUP
1 lo   loopback carrier     pending
2 eth0 ether    off         pending
3 eth1 ether    no-carrier  configured
4 sit0 sit      off         pending

A cable is connected to eth0 and there is none on eth1. (It is possible to bring eth0 up manually.) I red something about IPv6 problems but enabling/disabling brought no change.
The status of systemd-networkd is active (running)
The status of systemd-networkd-wait-online is Active: failed

Any help would be great. Thank you

Regards

hu