by krabat » Sun Jan 11, 2015 2:07 am
Recent Arch Linux ARM images have both systemd-networkd and systemd-resolved enabled by default. The former is featuring its own DHCP client which is why you still obtain a DHCP lease after uninstalling dhcpcd.
Modifying /etc/systemd/network/eth0 or using a different *.network file is all right as this file doesn't belong to any package and thus won't get overwritten by updates. See man systemd.network for details.
If you want to use netctl you first have to disable both services and turn /etc/resolv.conf into a file as it's handled as a symbolic link pointing at /run/systemd/resolve/resolv.conf by systemd-resolved, e. g.
$this->bbcode_second_pass_code('', '
# systemctl stop systemd-networkd.service && systemctl disable systemd-networkd.service
# systemctl stop systemd-resolved.service && systemctl disable systemd-resolved.service
# rm /etc/resolv.conf && touch /etc/resolv.conf
')(not sure whether the last 'touch...' is necessary but it won't hurt)