Ubuntu – How to prevent ubuntu from connecting to wifi hotspots automatically

hot-spotnetwork-managernetworkingwireless

Note: this question is distinct from "How to disable automatically connecting to WiFi?", as I do not wish to disable automatic WiFi connection in general.

Problem: The Ubuntu WiFi module connects automatically in priority with WiFi networks without a password, even if there is a already known password-protected WiFi network nearby. Worse, most of the times these "unprotected" networks are in fact hotspots that require authentification from the browser.
Example: I am at home, and most of the times my Ubuntu laptop will connect by itself to a nearby hotspot instead of choosing my local ADSL box (password-protected, with a password that is already known by the computer). I then have to select my own WiFi network manually.

Is there a way to disable automatic connection to /all/ hotspots ?

Best Answer

You can stop Ubuntu from automatically connecting to Wifi connections without deleting the connection entry itself.

Go to: network-indicator > Edit Connections > Wireless

Select the entry that you do not want automatically connecting. Once selected/highlighted, click on the "Edit" button on the right side of the window. At the top of the window that opens, you will see an option to disable "Connect automatically".

Related Question