3

In Ubuntu 17.10 there is no option to disconnect a Wi-Fi network. I now have to turn off Wi-Fi which will enable airplane mode.

How can I just disconnect from Wi-Fi without entering airplane mode?

pomsky
  • 68,507
rudmer
  • 43

2 Answers2

4

You may try one GNOME shell extension called Disconnect Wifi to achieve your goal. It

Adds a Disconnect option for Wifi in status menu, when a network is connected. Shows a Reconnect option, after network is disconnected.

enter image description here
(screenshot source: extension's homepage at extensions.gnome.org)

pomsky
  • 68,507
1

In terminal type:

nmcli nm enable false

To disconnect from all connections using the default Network-Manager. Alternatively:

nmcli nm enable true

To connect again.

You can also use:

nmcli c down id <SSID>

and

nmcli c up id <SSID>

to connect/disconnect from networks.

pomsky
  • 68,507
kung
  • 275