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

Asked by Justin Dugger

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:
Last query:
Last reply:
Revision history for this message
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.

Revision history for this message
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.