After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 687803 - NetworkManager should have a notion of preferred wireless network.
NetworkManager should have a notion of preferred wireless network.
Status: RESOLVED DUPLICATE of bug 580018
Product: NetworkManager
Classification: Platform
Component: general
0.9.x
Other Linux
: Normal normal
: ---
Assigned To: NetworkManager maintainer(s)
NetworkManager maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2012-11-06 20:35 UTC by Kim Nguyễn
Modified: 2012-11-12 08:05 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Kim Nguyễn 2012-11-06 20:35:14 UTC
NM uses a heuristic to determine which wireless network it should associate
with. IIRC, it keeps the list of SSID to which it has successfully associated, sort from the most recently connected to, to the least recently connected to, and chooses the first one.

The following happens to me. I believe this situation is quite common:

- Connecting from a public place, using a widely deployed wireless network in my city (let's call the SSID "Freewifi")
- Suspend my laptop, go back home
- Open my laptop. Since Freewifi is also visible from my place, it will associate to it instead of my home network.
- I have to manually change the network.

There could be some possible solution to that:
- give control to the user by allowing him to mark a connection as 'preferred'
- uses a more clever heuristic. I can think of the following ones
(1) prefer encrypted network over unencrypted ones (I think that would cover most cases)
(2) do not sort by most recently used, but maybe most 'frequently used' or 'whose total connection time is the longest' (I'm less sure about that one).


This situation is very real and is bound to happen in every big city where telco companies use people's DSL boxes to deploy their own city-wide wifi network.
Comment 1 Pavel Simerda 2012-11-12 08:05:59 UTC

*** This bug has been marked as a duplicate of bug 580018 ***