If I make changes to /etc/dhcpcd.conf and/or /etc/wpa_supplicant/wpa_supplicant.conf and then:
Code: Select all
sudo systemctl daemon-reload sudo systemctl restart dhcpcd
However any old configuration seems to persist. This is most obvious if I remove the wireless settings then repeat the dhcpcd restart; iwconfig will confirm that the wireless is no longer connected but ifconfig will show that wlan0 still has an IP address, and nothing I do short of rebooting will remove it.
The same seems to be the case with the wired ethernet (eg if I add a static IP, then change to a different static IP, then both seem to be retained until reboot). This description is a bit wooly and it doesn't seem consistent, so if anyone is trying to replicate I suggest playing with the wireless settings as that is easy to reproduce: enter settings, restart dhcpcd, remove settings, restart dhcpcd, look at ifconfig,
What am I missing?