openwrt-pf/package/base-files/files
Felix Fietkau 8c613a9a22 base-files: derive DHCP DUID from device MAC address
The DUID-UUID was generated from a random UUID, which is regenerated on
every fresh flash and therefore does not survive reconfiguration events
such as reflashing without keeping the configuration. RFC8415/RFC6355
prefer a DUID that remains stable across such events.

Add a ucode helper that picks the first LAN port (falling back to WAN)
from /etc/board.json, resolves its MAC address and derives a stable UUID
from it, falling back to a random UUID only when that fails.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2026-06-24 11:21:28 +02:00
..
bin base-files: ipcalc.sh: get rid of basename dependency 2026-04-24 01:48:15 +01:00
etc base-files: derive DHCP DUID from device MAC address 2026-06-24 11:21:28 +02:00
lib base-files: handle name collision between kernel UBI volume and MTD partition 2026-06-16 16:07:58 +02:00
rom
sbin base-files: sysupgrade: exclude apk files from backup 2026-04-16 21:22:22 +02:00
usr base-files: derive DHCP DUID from device MAC address 2026-06-24 11:21:28 +02:00