After successfully setting up a network using
wpa_supplicant.conf, how can I change the network and have the changes take effect without rebooting? After editing
wpa_supplicant.conf it seems no matter what I do I can't connect to the new network unless I reboot.
Tried in all possible permutations:
wpa_cli reconfigure wlan0
ip addr flush dev wlan0
ifconfig wlan0 up/down
If it matters, I'm using a Wifi dongle and disabling the onboard Wifi with a line in
Rebooting always works and
wlan0 will succesfully connect to the new network. I want to try to avoid this reboot.