Files
photoframe2/overlay/etc/systemd/network/95-default.network
Dustin C. Hatch 9ab95e37d2
All checks were successful
dustin/photoframe2/pipeline/pr-main This commit looks good
network: Use MAC address as DHCP client ID
_systemd-networkd_ uses a randomly-generated ID as the DHCP client
identifier by default.  On Aimee OS, it is not able to persist this ID
between boots; I think it may derive the value from the machine ID.  To
avoid getting a new IP address every boot, we can configure it to use
the MAC address of the device as the DHCP client ID.
2025-01-02 17:53:40 -06:00

13 lines
115 B
SYSTEMD

[Match]
Type=ether wlan
[Network]
DHCP=yes
[DHCPv4]
ClientIdentifier=mac
UseDomains=yes
[DHCPv6]
UseDomains=yes