Skip to content

Regression with Linux ≥ 4.12: local-mac-address no longer applied #846

@stapelberg

Description

@stapelberg

In the Linux 4.12 release, the device tree file changed:

--- linux-4.11.8/arch/arm/boot/dts/bcm283x-rpi-smsc9514.dtsi	2017-06-29 13:03:17.000000000 +0200
+++ linux-4.12/arch/arm/boot/dts/bcm283x-rpi-smsc9514.dtsi	2017-07-03 01:07:02.000000000 +0200
@@ -1,6 +1,6 @@
 / {
 	aliases {
-		ethernet = &ethernet;
+		ethernet0 = &ethernet;
 	};
 };

(Upstream commit https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=10b6c0c2e2bb8cd1be682f8d36ef597e3419cb88)

This results in the local-mac-address change implemented in issue #613 no longer having any effect, i.e. my Raspberry Pi starts with a random MAC address.

Could you please support both, the ethernet and the ethernet0 alias, to make this feature work with Linux ≥ 4.12? Thank you very much!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Close within 30 daysThis issue will be closed within 30 days unless further interactions are posted. If you wish this is

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions