Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
5
rated 0 times [  5] [ 0]  / answers: 1 / hits: 1868  / 2 Years ago, mon, september 5, 2022, 12:38:06

I wanted to start my hotspot (using ap-hotspot). To enable it, you have to disconnect from the wireless network you're connected to.



This was no problem in Gnome 3.8's network manager, but I cannot find a similar functionallity in Gnome 3.10.



The only way I found to disconnect is clicking on "forget this network". Is there a way to just disconnect without forgetting all my settings?



Edit:



$ gnome-control-center --version
gnome-control-center 3.10.1


Just in case somebody has an old control center but a new gnome shell. ;-)


More From » wireless

 Answers
7

As the below GUI method was not valid for gnome-control-center 3.10. It is possible to use nmcli (command‐line tool for controlling NetworkManager)



nmcli d disconnect iface wlan0



  • d for device

  • disconnect command to disconnect network interface

  • iface wlan0 network interface name (Check from ifconfig -a or iwconfig)



otherway, using connection id:



nmcli c down id WiFiConn



  • c for connection

  • down command to drop connection

  • id WiFiConn name of connection as it was saved in NetworkManager (Check nmcli c).



Reference: man nmcli






This for gnome-control-center 3.6.3 (still used by Ubuntu 14.04). From Gnome indicator bar:




  1. Wi-Fi → WiFi Settings



    enter image description here


  2. Click on arrow to the right of current active connection



    enter image description here


  3. Disconnect



    enter image description here



[#25865] Tuesday, September 6, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
hergy

Total Points: 64
Total Questions: 115
Total Answers: 109

Location: Saint Helena
Member since Tue, Nov 3, 2020
4 Years ago
;