Wicd has issues when multiple access points share an SSID

Bug #529553 reported by Richard
24
This bug affects 5 people
Affects Status Importance Assigned to Milestone
wicd
Confirmed
Undecided
Unassigned

Bug Description

I am running Wicd 1.7.0 on the Linux 2.6.33 kernel with the iwl3945 driver on Gentoo Linux using ACCEPT_KEYWORDS="~x86" in /etc/make.conf with all of the latest updates as of 02/27/2010. My desktop environment is KDE SC 4.4.0. There is a similar bug report filed, but the circumstances under which issues occur and the software and hardware configuration are so remarkably dissimilar that I think this merits a separate bug report:

https://bugs.launchpad.net/wicd/+bug/268257

I am sure you love it when someone reports an instance of a bug on a system that has all of the latest software installed, as opposed to some Ubuntu installation running old software that has likely had the issue fixed already, but that is not relevant to this bug report.

I have two wireless access points setup in my home. One is a Actiontec MI424WR Verizon FiOS Revision C Router running Firmware Version "4.0.16.1.56.0.10.11.6". It is connected to the ONT Verizon installed and is configured to do all routing and DHCP on my network. The other wireless access point is a Linksys WRT54GS v2.1 running DD-WRT v24-sp2 (10/10/09) mega Firmware. It has Linksys' special high gain antennae installed and it is configured to act as a switch/wireless access point and is connected to my Actiontec router by a 100Mbps category 5e link that is approximately 15 meters long. The two access points are approximately 8 meters apart, without LoS between them. Both have WPA2 encryption enabled, the same SSID, the same WPA2 key and Mac ID filtering configured. They are also both configured to reject 802.11b connection attempts and operate in 802.11g only mode. I have the Actiontec on channel 11 and the Linksys on channel 1.

My home has a 2.4GHz cordless phone that when in use, selects a channel at random and consequently, will randomly kill my wireless connection. The idea behind the second access point is to function as a backup in the event that the other is down, so that I can continue my work with minimal interruption.

Two separate issues occur. One is that while I am in proximity to access point A (pick one of the two arbitrarily), if I attempt to connect to access point B, which is further away, my laptop will connect to access point A. The other issue is that if I am connected to access point A (pick one of the two arbitrarily), I move my laptop into proximity of access point B and then open the GUI, I will lose my internet connection and must manually connect to access point B. Again, I cannot connect to access point A because the laptop is in proximity to access point B.

Finding the entries that correspond to these events in /var/log/wicd/wicd.log is difficult because there are many, many entries, so I will reproduce these events and post the corresponding log entries. Because I am typing this on my laptop, I will post this bug report first and the logs later, because I am afraid of having to retype this in the event I discover a third issue while reproducing the first two issues.

Revision history for this message
Richard (shiningarcanine) wrote :
Revision history for this message
Richard (shiningarcanine) wrote :

I had trouble reproducing these issues, possibly because the microwave was running while I did this, so I had to take some additional steps to reproduce it these issues.

Here are the steps I took.

1. I executed "rm -rf /var/log/wicd/*" inside konsole and then "reboot".
2. I logged into KDM, opened the Wicd GUI to verify to which access point it was connected and closed the Wicd GUI. It was in proximity to the Actiontec access point and was connected to channel 11, which indicates that the was connected to the Actiontec access point, which was good. I also opened Chromium and verified that I had a connection to the network via the actiontec's html-based configuration GUI.
3. I brought the laptop into proximity to the Linksys router and opened the Wicd GUI. It did not drop my connection. At this time, the microwave was going and I noticed that Wicd was reporting a higher -dBM for the Linksys access point than it was for the Actiontec access point (-52 dBm Actiontec, -60 dBm Linksys), which is atypical.
4. To fix this, I moved my laptop within 0.2 meters of the linksys access point and clicked refresh in the Wicd GUI. The GUI indicated that the Linksys access point was at -29 dBm, which was a typical level for the router. I promptly lost my internet connection.
5. I then attempted to connect to the Actiontec access point (channel 11) and it connected to the Linksys access point (channel 1). I verified in Chromium that I had a connection to the network via the actiontec's html-based configuration GUI.

I have attached the contents of /var/log/wicd/wicd.log after this exercise.

Revision history for this message
Roman Zimmermann (torotil) wrote :

I have a very similar problem with the WLAN in my university. It has a lot of access points to cover the whole area. So I usually can reach several access points with the same SSIDs working on different channels.
Normally I would like to connect to the access point with the highest connectivity, but when I click connect on the item in wicd's list, it seems to pick one of the access points at random. In order to get a good connection (to the right AP) I have to reconnect a few times.

This is on gentoo with a 2.6.32-tuxonice kernel and wicd 1.7.0.

Revision history for this message
cfr (reescf) wrote :

I think my issue is related. The only difference is that in my case, wicd insists on connecting to the weaker signal. Even if I disconnect and manually select the stronger one, it connects to the weaker, more distant point.

What it seems to be doing is connecting to the main access point and refusing to connect to the secondary one which was set up because the signal from the main access point is relatively weak upstairs. So even though I am sitting right next to the booster point (100% strength), wicd insists on connecting directly to the primary access point downstairs (35%).

Both points are configured identically in the wicd preferences, with the option to use the same settings for all points which share the same essid checked.

I'm not sure if this is a regression as I don't think I saw this with earlier versions of wicd but I have also changed linux distro and hardware so it is hard to tell.

The problematic case for me involves a laptop with Intel Centrino 1000 wireless using iwlagn and wicd 1.7.0-13 in arch linux 3.1.5-1.

I would be happy to provide further information if that would be helpful.

Revision history for this message
acimmarusti (andrescimmarusti) wrote :

I have the same issue with wicd. I'm using the latest stable version 1.7.1.

At University, the wlan has many many access points with the same SSID. I was in my lab about an hour ago, and I had set up wicd to connect automatically to the university's secure (PEAP + TKIP + MSCHAPv2 + certificate) wireless network.

I moved under 30 meters to another room, resumed my laptop and bam! wicd could not find the wireless network I had saved my settings to, because that access point wasn't available in that other room, even though another wlan with same SSID had a good signal in that room. As a result: wicd did not connect to anything automatically and I had to set everything up again.

I've used network-manager on this laptop before (but now that I've moved to xfce, I want to stay away from gnome stuff). It works without problems with any access point and associates all under the same SSID.

Could it be possible to have wicd store the connection / authentication info for a broad SSID with many access points so it doesn't fail to connect everytime?

Revision history for this message
David Paleino (dpaleino) wrote :

It should already work like this.

Just to be sure: can you avoid suspending + resuming the laptop when you move under another AP's range?
It might be that your problem is related to suspend+resume.

Unfortunately, I don't have any multi-AP network handy, so I can't really try to reproduce this.

Changed in wicd:
status: New → Confirmed
Revision history for this message
Eugene Pakhomov (p-himik) wrote :

Can confirm that it's still happening with Wicd 1.7.4 on Ubuntu 16.04.4. It's a particularly annoying issue as multiple hotels/hostels tend to have a setup with multiple APs having the same SSID.

Revision history for this message
Troy Belding (tbelding) wrote :

Can confirm that this is still a bug in the system. Now at Ubuntu 20.10.
Wicd 1.7.4+tb2-6

Understood that this is a stalled development project, and has not been updated since 2016. Simply adding that there's another person with the same issue.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.