How do I stop Network Manager from automatically connecting to APs?

Asked by Justin Dugger on 2007-06-14

Network Manager currently attempts to connect to a site named "linksys" (which it can establish) before my own wireless network. Is there a way to blacklist certain sites in Network Manager?

Question information

English Edit question
Ubuntu Edit question
No assignee Edit question
Solved by:
Justin Dugger
Last query:
Last reply:
Nikoleta Verbeck (nerdynick) said : #1

At this time that I know of you can not Black list a specific AP. What I had found previously was that ~/.gconf/system/networking/wireless/networks is the folder were all your profiles are stored at. You can remove the directory that relates to your SSID of the network that you want to remove. Once you remove that SSID's folder you will no longer auto connect.

I had previously asked this question at at that seemed to be the only solution I could get from the NetworkManager Mailing list at that time.

Also in a post to the NM Mailing list I got this back for the KDE desktop.

MartinG: "FYI, if using KDE and knetworkmanager you can avoid automatic
connections to non-crypted networks by clicking the knetworkmanager
applet - Options - Show networks... - select the unwanted network and
click remove item. Moving it to "untrusted" does not work, see"

Hope this helps you.

Justin Dugger (jldugger) said : #2

As of Ubuntu 8.10, you can view past wireless connections in System->Preferences->Network Connections. Deleting unwanted connections will prevent network manager from automatically connecting.