Skip to contentSkip to conversation

connman-conf: don't take over any ethernet devices, not just eth0

PATCH New [email protected] 1 participant 1 message Aug 9, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 connman-conf: don't take over any ethernet devices, not just eth0

From: Ross Burton <[email protected]>

The goal of connman-conf in qemu environments is to stop connman from trying to control the network device, because runqemu will set it up appropriately.

It currently hardcodes eth0, but 6.2 kernels onwards will rename eth0 to en* even when the interface is already up[1]. So that this recipe continues to work as intended, expand the list to "eth,en" so that connman ignores _all_ ethernet devices with either the new or old names.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit?id=bd039b5ea2a91ea707ee8539df26456bd5be80af

---
 meta/recipes-connectivity/connman/connman-conf/main.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-connectivity/connman/connman-conf/main.conf +1 -1
index a394e8f25bd..3c9dd396f66 100644
@@ -1,2 +1,2 @@
 [General]
-NetworkInterfaceBlacklist = eth0
+NetworkInterfaceBlacklist = eth,en
Signature · 1 line
2.34.1