mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2026-02-12 05:56:20 -05:00
Despite coming with multiple I2C EEPROMs supposedly dedicated for that purpose, the BPi-R4 does not seem to have factory assigned MAC addresses. Hence, just like for all other BPi boards, store a randomly generated MAC address on first boot and derive WAN and Wi-Fi MAC addresses from that as well. Not perfect, but better than random on every boot. Signed-off-by: Daniel Golle <daniel@makrotopia.org>