davesteele / comitup

Bootstrap Wifi support over Wifi
https://davesteele.github.io/comitup/
GNU General Public License v2.0
320 stars 54 forks source link

how to disconnect from network and go back to hotspot mode #85

Closed mrsstaceyseigle closed 4 years ago

mrsstaceyseigle commented 4 years ago

Is there a way to disconnect from a network and go back to hostspot mode.

davesteele commented 4 years ago

There is a delete command in comitup-cli, or delete the connection with nmcli.

mrsstaceyseigle commented 4 years ago

comitup-cli then d option gives the option to delete the connections also we can delete the connection with nmcli

Problems. When using nmcli it takes comitup a while to detect and go back to hotspot mode.

could you please give us the option to input options with the command like sudo comitup-cli d or sudo comitup-cli -d

Im using the raspberry pi with a push button to delete the connection

davesteele commented 4 years ago

Noted.

Try something like "(echo d; echo q) | comitup-cli".

mrsstaceyseigle commented 4 years ago

Yes (echo d; echo q) | comitup-cli Works great.

I love to see a enhancement on your next version to use it like " comitup-cli -option"