Ubuntu: How to turn off wifi-hotspot in Ubuntu 16.04 (Gnome)


A family member has configured our family computer's wifi to create a hotspot. We are using Ubuntu 16.04 with the Gnome desktop.

Now every time the computer restarts or wakes from a suspend (using the Gnome Suspend Button extension) the wifi hotspot is turned on by default, and we have to manually turn it off and connect to the internet.

There is currently no wired connection, only wireless, and yet the wifi hotspot gives itself permission to turn on anyway. I suppose I should report this, but that is a complicated process.

I just want to know the magic words to make the wifi hotspot go away. There is no option to remove, let alone edit the hotspot in the new GUI. I suppose somebody could point me to a CLI tool or a config file, which I know how to use since I've been using Ubuntu for 12 years. But by the same token, I know that is a low-quality answer because it requires the end user to do the developer's job, and it is potentially a long and winding road.


I would use terminal to remove the hotspot

sudo rm /etc/NetworkManager/system-connections/Hotspot Then reboot


In Ubuntu-Gnome 17.04, if I open the network manager I see a screen like the one shown below:

enter image description here

The option to use the wireless device is a button at the bottom of the screen. If I click on it, I loose connection to the internet, and if I turn the wifi off, I go back to connecting to my wifi. This screen is shown in the image below:

enter image description here


Apparently in 16.04 the file in ./system-connections is not named "Hotspot". It has the user-configured name of the hotspot connection, in this case:

My LGg5  

Yes, that is a space. I have failed my daughter. But I went like:

sudo -H nautilus /etc/NetworkManager/system-connections/  

and then I found the offending file, deleted it, and rebooted. That worked.

I have also done:

cd /etc/NetworkManager/system-connections/  ls  sudo rm 'My LGg5'  sudo shutdown -r now  

In this case the GUI method is quicker or as quick, and it leaves the deleted file in the Trash in case you need it later.

Finally, so that you can breathe a sigh of relief, I have in fact migrated to 17.10 on my primary box. So this is hopefully moot for the future.

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Next Post »