Is there a way to disconnect from a network via wpa_cli? I'm reading the man page and I've been able to use wpa_cli to connect to my router via push-button connect (WPS); however I'm trying to write a script that will disconnect from the network upon a certain event.
I attempted to find the network via nmcli but the network I'm connected to doesn't even show up when invoking the nmcli connection show -active command. Many thanks.