You are not logged in.
I added "nohook recolv.conf" to /etc/dhcpcd.conf.
But NetworkManager keeps rewriting the content of /etc/recolv.conf each time I connect to WiFi.
Offline
https://wiki.archlinux.org/index.php/Re … ifications
If you use NetworkManager, you do not use dhcpcd...
Last edited by Haller (2018-05-04 05:26:18)
Offline
Uncommented dns=none in /etc/NetworkManager/NetworkManager.conf and this didn't help.
Offline
I guess you have to add rc-manager=unmanaged.
/etc/NetworkManager/NetworkManager.conf
[main]
dns=none
rc-manager=unmanaged
Offline
If you use dhcpcd then add to stop dhcpcd from touching your DNS settings (IIRC NM uses wpa_supplicant so this should suffice .. )
nohook resolv.conf, wpa_supplicant
to /etc/dhcpcd.conf to stop overwriting the resolv.conf
Last edited by cirrus (2018-05-07 00:03:35)
Ancestoral Clan https://cirrus.freevar.com/mclean.html
Offline
They specifically said they're using NetworkManager, so dhcpcd has nothing to do with anything at all.
Online
Which answer is correct?
I'm using NetworkManager, but I don't know whether or not I'm also using dhcpcd. How to check that?
Offline
As stated in the beginning of the wiki entry, NetworkManager has basic DHCP support. To figure out if dhcpd is enabled separately, run `systemctl status dhcpcd.service`. If it is running/enabled, check this to see how to stop/disable it.
Last edited by robg (2018-05-10 11:11:19)
Offline