uc22 rpi3 ethernet getting renamed on every boot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd |
Invalid
|
Undecided
|
Unassigned | ||
linux-firmware-raspi (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
linux-raspi (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
On rpi3 with uc22 (just confirmed on the latest image from 20220406.1), the built-in ethernet interface should use generic names (i.e. eth0). On rpi4 this works as it should, and it uses eth0.
On the rpi3b+ I'm testing on, I saw it get enxea1a4588e236 on the first boot. On the second boot though, it got renamed to enx3a583dc734b6
The result of this, is that on rpi3 with uc22, if you only configure ethernet, then it will no longer work after you reboot. Since console-conf only runs on first boot, it will be stuck thinking it was unable to get an address. The netplan config file that is generated by console-conf references the device name, so it will still be looking for that original name:
network:
ethernets:
enxea1a4588
dhcp4: true
version: 2
...
Fortunately, the wifi interface gets named wlan0 and does not get renamed every boot. So I was able to configure that interface and still get in to gather some information about this.
However, unless you use wifi, rpi3 devices will be useless after the first boot
tags: | added: kern-2924 |
dmesg: https:/ /paste. ubuntu. com/p/5MxvDqdBm x/
$ sudo journalctl -u systemd-networkd networkd[ 448]: lo: Link UP networkd[ 448]: lo: Gained carrier networkd[ 448]: Enumeration completed networkd[ 448]: wlan0: Link UP networkd[ 448]: eth0: Interface name change detec> networkd[ 448]: wlan0: Connected WiFi access poin> networkd[ 448]: wlan0: Gained carrier networkd[ 448]: wlan0: DHCPv4 address 192.168.2.1> networkd[ 448]: wlan0: Gained IPv6LL
Mar 25 14:32:40 ubuntu systemd[1]: Starting Network Configuration...
Mar 25 14:32:47 ubuntu systemd-
Mar 25 14:32:47 ubuntu systemd-
Mar 25 14:32:47 ubuntu systemd-
Mar 25 14:32:47 ubuntu systemd[1]: Started Network Configuration.
Mar 25 14:32:51 ubuntu systemd-
Mar 25 14:32:52 ubuntu systemd-
Mar 25 14:33:17 ubuntu systemd-
Mar 25 14:33:17 ubuntu systemd-
Mar 25 14:33:18 ubuntu systemd-
Mar 25 14:33:18 ubuntu systemd-