Skip to content

fngsystem:network:sharedconf: Set mac addresses in custom init script

Tobias Kahlki requested to merge fngsystem-mac-address into dunfell

The imx8mPlus' dwmac is not able to change the mac on the fly, which lead to an error when hw_address is specified in network/interfaces. ifup is calls ip with the 'address' parameter always in this case, which makes the command fail completly.

Now the mac address is applied early enough and removed from then network/interfaces config file.

gf-network-conf now has a new option 'apply-mac' to set the interface's mac address using the ip link command. This is called by the init script for fng system.

BCS 746-000504

Merge request reports

Loading