]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commit
network: Assign "static" MAC addresses to QMI interfaces
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 1 Dec 2022 17:23:16 +0000 (17:23 +0000)
committerPeter Müller <peter.mueller@ipfire.org>
Sat, 17 Dec 2022 17:20:46 +0000 (17:20 +0000)
commit580c249a5b8d5800d62c98ca50f8936e7a906452
tree7a917338511b4120261f231ff31cc3bab981f4e5
parent8d09028b69202788d92631655764b78f70b6dc23
network: Assign "static" MAC addresses to QMI interfaces

This is really badly hacky, but I do not know a better way to solve this
with our existing "setup" program which would be a nightmare to extend.

So we are using the device number to generate a static MAC address which
can then be used as usual. I doubt many people will have more than one
device.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/udev/network-hotplug-rename
src/initscripts/networking/functions.network