You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Static IP configured through NextcloudPi and the OS reverted to DHCP after reboot #2150
Bug description
Static IP configured through NextcloudPi and the OS reverted to DHCP after reboot.
Root cause
The Netplan rule in /etc/netplan/10-dhcp-all-interfaces.yaml matched end0 via name: "e*".
Using Armbian 26.8.3 with Netplan and systemd-networkd, and the wildcard DHCP rule name: "e*" was matching end0, overriding the intended static IP configuration.
Workaround
Changing the match pattern to name: "eth*" resolved the issue while leaving the end0 static configuration intact.
network:
version: 2
renderer: networkd
ethernets:
all-eth-interfaces:
match:
name: "eth*"
dhcp4: yes
dhcp6: yes
ipv6-privacy: yes # Enabled by default on most current systems, but networkd currently doesn>
all-lan-interfaces: # include interfaces that are renamed to 'lanX' by udev, e.g. nanopi-r2s
match:
name: "lan[0-9]*"
dhcp4: yes
dhcp6: yes
ipv6-privacy: yes # Enabled by default on most current systems, but networkd currently doesn>
all-wan-interfaces: # include interfaces that are renamed to 'wanX' by udev, e.g. nanopi-r1
match:
name: "wan[0-9]*"
dhcp4: yes
dhcp6: yes
ipv6-privacy: yes
Activity