I don't know if this is Pi specific, I assume it's just standard Debian.
I'm using Raspbian Stretch.
Suppose I have a working wireless connection.
I can change wireless configuration in /etc/wpa_supplicant/wpa_supplicant.conf to remove the working details and then use "wpa_cli reconfigure" to take effect. Except that I remain connected to the wifi that I no longer have settings for, and cannot force it to disconnect.
What is the correct way to force the change to have effect other than reboot?
On a related note, how do I change the IP configuration for the cabled network and have that take effect? Making changes to /etc/dhcpcd.conf works after a reboot but I can't reliably make it work without rebooting. (Restarted dhcpcd will add a new IP address, but won't remove old ones and doesn't seem to let me revert to DHCP reliably either.)
In both cases, making a connection seems easier than dropping one.
Mark