Closed dheim-pi closed 3 years ago
Delete the connection using comitup-cli or D-Bus. See the man pages for comitup-cli and comitup.
Many Thanks for the quick replay. I was not aware about comitup-cli.
@davesteele I tried using the ciu_client.ciu_delete(connection) method by importing the library and loading the connection variable through state. But that basically disconnects from wifi without the wifi coming back up again. My preferred method of disconnection via a python script was to just run a subprocess and pass d and then q to comitup-cli command but that works once or twice and then just doesn't. Is there a better way to disconnect? Or am I doing something wrong with the ciu_delete method? I do not want to disable the wifi, just to forget a network via a script.
Ciu_client and d do the same thing. If you just disconnect, comitup will just reconnect again.
Hello, is there any way to reset or disconnect from a wifi connection through comitup. Or to forget wifi connections that I entered