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

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Justin Dugger
Solved:
2009-05-03
Last query:
2009-05-03
Last reply:
2007-06-15
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 http://ubuntuforums.org/showthread.php?t=299367 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
http://bugs.kde.org/show_bug.cgi?id=134402"

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.