3

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. ;-)

4
  • Could I ask from which ppa/source did you install Gnome 3.10?
    – user.dz
    May 3, 2014 at 21:23
  • 1
    @Sneetsher ppa:gnome3-team/gnome3
    – kelunik
    May 3, 2014 at 21:28
  • Could try its command line client nmcli d disconnect iface wlan0 (change network interface name)
    – user.dz
    May 4, 2014 at 15:36
  • 1
    @Sneetsher thanks, that works. I think I'll include this in my ap-hotspot script.
    – kelunik
    May 4, 2014 at 15:41

3 Answers 3

5
+50

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

3
  • 2
    I would totally agree if this button would be there. This is the way I did it before the upgrade to Gnome 3.10. This is how it looks on my machine: Image 1, Image 2.
    – kelunik
    May 3, 2014 at 18:06
  • Weird, I'm using Ubuntu 14.04, gnome-control-center 1:3.6.3-0ubuntu56, what's your gnome-control-center version?
    – user.dz
    May 3, 2014 at 18:39
  • 1
    gnome-control-center --version prints gnome-control-center 3.10.1.
    – kelunik
    May 3, 2014 at 18:48
0

Can't you click on your wifi settings in the upper right notification panel ? When you expand the details, you should find a "Shut off" option, or something similar (I'm using French translated Gnome).

3
  • This disables WiFi completely, but I just want to disconnect from the current access point.
    – kelunik
    Apr 20, 2014 at 14:43
  • If you need to create a hotspot on your computer, you need to go to WiFi Settings (in the upper right notification panel) and click the "Create a Hotspot" button in the bottom of the window.
    – Murazaki
    Apr 20, 2014 at 14:50
  • This doesn't support custom SSIDs, passphrases and is just WEP encrypted.
    – kelunik
    Apr 20, 2014 at 15:05
0

Click on turn of I am using Ubuntu 14.04 with gnome 3.10 from official repositories.And ap-hotspot works fine for me.Hope this helped.

enter image description here

1
  • 2
    Turn off will turn WiFi off and doesn't disconnect from the current network.
    – kelunik
    May 4, 2014 at 15:02

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .