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 632010 - filtering out bogus Ad-Hoc networks
filtering out bogus Ad-Hoc networks
Status: RESOLVED FIXED
Product: NetworkManager
Classification: Platform
Component: general
git master
Other Linux
: Normal enhancement
: ---
Assigned To: Dan Williams
Dan Williams
Depends on:
Blocks:
 
 
Reported: 2010-10-12 20:18 UTC by Mathieu Trudel-Lapierre
Modified: 2011-03-29 21:46 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
hide "Free Public WiFi" (1.72 KB, patch)
2010-10-19 19:12 UTC, Mathieu Trudel-Lapierre
none Details | Review

Description Mathieu Trudel-Lapierre 2010-10-12 20:18:03 UTC
As per https://bugs.edge.launchpad.net/ubuntu/+source/network-manager/+bug/659461

"
See:
 * http://mobile.slashdot.org/story/10/10/11/1738257/Why-You-See-Free-Public-WiFi-In-So-Many-Places?from=rss

Turns out the "Free Public WiFi" ad hoc networks that are seemingly *everywhere* are actually just bugs in Windows XP.

It would be nice if Network Manager would detect this and just filter these from view. They're highly annoying and I've helped more than a few family members/friends trying to connect to these fakey access points in vain.
"
Comment 1 Dan Williams 2010-10-19 16:29:30 UTC
Yeah, we could certainly do this in the applet, though I'd rather not do so in the core daemon since it should still present a 'true' version of the environment.  We can make the applet simply not show these in the menu.  Any chance you'd be up for a patch?  Should be pretty easy, in src/applet-device-wifi.c where each AP gets added to the menu, do something like:

#define FPW_SSID "Free Public WiFi"

const GByteArray *ssid;

ssid = nm_ap_get_ssid (candidate);
if (ssid) {
    if (ssid->len == strlen (FPW_SSID) && !memcmp (ssid->data, FPW_SSID, ssid->len))
        ignore this AP
}

or something like that.
Comment 2 Mathieu Trudel-Lapierre 2010-10-19 19:12:34 UTC
Created attachment 172756 [details] [review]
hide "Free Public WiFi"

As suggested I wrote a quick patch to achieve this.

Not well tested yet, since I don't have that SSID in range... but things don't look horribly broken.