Network ESSID configured to "Use settings...essid" does not autoconnect

Bug #1440952 reported by RobinMHolt on 2015-04-07
This bug affects 1 person
Affects Status Importance Assigned to Milestone
wicd (Ubuntu)

Bug Description

At work, we have a network consisting of dozens of access points, each with two separate ESSIDs, one for 2.4Ghz and one for 5Ghz with separate BSSIDs. An autoconnect to any will result in dhcp retrieving the same IP, etc.

wicd will only autoconnect to a BSSID which I had previously selected and asked it to connect.

Changing wicd-daemon as follows gets the behavior I had expected:

rholt@work:~/bzr/wicd$ bzr diff
=== modified file 'wicd/'
--- wicd/ 2015-02-12 17:01:42 +0000
+++ wicd/ 2015-04-07 02:05:39 +0000
@@ -1404,7 +1404,8 @@

         for x, network in enumerate(self.LastScan):
- if self.config.has_section(network['bssid']):
+ essid_key = "essid:%s" % network['essid']
+ if self.config.has_section(network['bssid']) or self.config.has_section(essid_key):
                 if self.debug_mode:
                     print network["essid"] + ' has profile'
                 if bool(network.get('automatic')):

With this change, wicd connects to the strongest AP signal at the time without me having to bring up the cli and select it.

This had an added benefit with my wifi tethering. When my Android phone sets up a hotspot, the BSSID changes each time, so now wicd-daemon connects to my phone without me needing to bring up the cli at all.

Related branches

RobinMHolt (holt) wrote :
RobinMHolt (holt) wrote :

Sorry, my initial add said "two separate ESSIDs" when it should have said "two identical ESSIDs".

The attachment "Fix for current devel branch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Changed in ubuntu:
status: New → Confirmed
affects: ubuntu → wicd (Ubuntu)
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers