NetworkManager problems

Just recently, probably after a system upgrade, my work laptop stopped configuring the WiFi interface properly. Manual settings worked, but DHCP and name resolution were broken more often than not. Having to manually running dhcpcd was not impressing me.

I came across these bugs in the Arch bugtracker that were informative.

I don’t know if the machine has gone crazy or if something recently changed in the NetworkManager / systemd worlds. I have disabled systemd-resolved since I don’t see why systemd should be replacing name resolution, so that might be causing trouble. The following fixes it.

First, add this to /etc/NetworkManager/NetworkManager.conf:

[main]
systemd-resolved=false

This adding the following to /etc/NetworkManager/conf.d/dhcp-client.conf may also be required, although the lack of it isn’t currently causing me problems:

[main]
dhcp=dhcpcd

Finally, enable dhcpcd:

% sudo systemctl enable dhcpcd
% sydo systemctl start dhcpcd

Posted Tuesday, January 7, 2020

Blog contents