Wifi roams too frequently

Bug #1071942 reported by Dima Ryazanov on 2012-10-26
This bug affects 3 people
Affects Status Importance Assigned to Milestone
network-manager (Ubuntu)
Mathieu Trudel-Lapierre

Bug Description

(This is very similar to bug #1057582 - but apport-collect told me to file a new bug.)

There are multiple access points here, and my laptop keeps switching between them for no reason. It was really bad in Ubuntu 12.04, but improved a little in 12.10. Still, it roams frequently enough to be annoying.

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: network-manager
ProcVersionSignature: Ubuntu 3.5.0-18.29+kamal11~DellXPS-generic 3.5.7
Uname: Linux 3.5.0-18-generic x86_64
ApportVersion: 2.6.1-0ubuntu6
Architecture: amd64
Date: Fri Oct 26 14:09:43 2012
 auto lo
 iface lo inet loopback
InstallationDate: Installed on 2012-05-30 (149 days ago)
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
 default via dev wlan0 proto static dev wlan0 scope link metric 1000 dev wlan0 proto kernel scope link src metric 9 dev vmnet8 proto kernel scope link src dev vmnet1 proto kernel scope link src
MarkForUpload: True
 PATH=(custom, no user)
SourcePackage: network-manager
UpgradeStatus: Upgraded to quantal on 2012-09-30 (26 days ago)
 wlan0 802-11-wireless connected /org/freedesktop/NetworkManager/Devices/0
 running connected enabled enabled enabled enabled enabled

Dima Ryazanov (dima-gmail) wrote :
Dima Ryazanov (dima-gmail) wrote :

It literally roams every 5 minutes - and disconnects for 5 seconds while doing that. It's *very* annoying.

So there's this commit upstream which might help a lot to avoid roaming too aggressively when there is relatively good signal:


I'll go ahead and mark the next upload / package as fixing this bug (since it will include this commit); but let's be extra careful and set back this bug to New or Confirmed if there are still issues.

Changed in network-manager (Ubuntu):
status: New → In Progress
importance: Undecided → High
assignee: nobody → Mathieu Trudel-Lapierre (mathieu-tl)
Matthieu Baerts (matttbe) wrote :


I also have this problem but not with an Intel WiFi card and I confirm that it's better with this patch.

@Mathieu: NM devs say that some changes should be made in wpa_supplicant too in order to be less aggressive [1]
Fedora devs are using this patch: http://pkgs.fedoraproject.org/cgit/wpa_supplicant.git/tree/rh837402-less-aggressive-roaming.patch

[1] The discussion: https://mail.gnome.org/archives/networkmanager-list/2013-October/msg00020.html

summary: - [iwlwifi] Wifi roams too frequently
+ Wifi roams too frequently
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package network-manager -

network-manager ( trusty; urgency=low

  * Set "allow-stderr" for debian/tests/apparmor_workaround to avoid failure
    on AppArmor warnings.
 -- Martin Pitt <email address hidden> Tue, 05 Nov 2013 09:48:28 +0100

Changed in network-manager (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers