You are not logged in.
I have a pretty basic Arch install and figured I'd use systemd-networkd to handle networking. I have most things working except for one little item. When the dhcp client requests an address from the dhcp server, it does not send the hostname of the computer like my other Linux boxes. I've used hostnamectl to set the hostname. My network file in /etc/systemd/network has the following:
[Match]
Name=ens18
[Network]
DHCP=yes
[DHCPv4]
SendHostname=trueI am on version 254.1-1 of systemd. Is there any other tasks that I need to do to get this working?
Offline
SendHostname defaults to "true" anyway.
Please post the outputs of
hostnamectl; ip a;
find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -fDid you try whether eg. dhcpcd behaves as expected?
Offline