Bug 238046 - [PATCH] knetworkmanager doesn´t recognize BSSID
Summary: [PATCH] knetworkmanager doesn´t recognize BSSID
Status: RESOLVED FIXED
Alias: None
Product: knetworkmanager
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Will Stephenson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-18 15:26 UTC by imehl_adresse
Modified: 2011-02-17 17:07 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
fix BSSID and MAC address provided to NM (6.51 KB, patch)
2010-09-14 15:17 UTC, Jirka Klimes
Details

Note You need to log in before you can comment on or make changes to this bug.
Description imehl_adresse 2010-05-18 15:26:19 UTC
Version:            (using KDE 4.4.3)
Compiler:          gcc-4.4.3 
OS:                Linux
Installed from:    Gentoo Packages

If I add the BSSID from my accesspoint to the Network Configuration (instead of __:__:__:__:__:__), there is no way to get connection working. It seems as if  knetworkmanager is not even trying to connect to. 


I have to add all BSSIDs because of the problem, I have to deal with many different APs that have the same name (SSID).
Comment 1 Sven Lankes 2010-07-10 20:04:08 UTC
I can confirm this on kde 4.5 rc2 (using the fedora prerelease-packages) and with the networkmanagement plasmoid.

Additionally once a network connection has been created with an bssid, it's no longer possible to remove that bssid without deleting the connection.
Comment 2 Jirka Klimes 2010-09-14 15:15:21 UTC
knetworkmanager provides BSSID in a bad format to NM daemon, which causes connection failures.
Also, MAC address is not sent correctly when you use "Restrict to Interface" combo. For WiFi that causes connection failure, for wired the setting is just ignored.

(in reply to comment #1)
> Additionally once a network connection has been created with an bssid,
> it's no longer possible to remove that bssid without deleting the connection.
Thats's corrected by the patch.
As a temporary solution, it's possible to manually edit the connection in
~/.kde/share/apps/networkmanagement/connections/<connection_UUID> and set bssid empty:
bssid=

All these problems are fixed by the attached patch.
Comment 3 Jirka Klimes 2010-09-14 15:17:41 UTC
Created attachment 51638 [details]
fix BSSID and MAC address provided to NM
Comment 4 Rex Dieter 2010-09-14 18:26:08 UTC
marking confirmed(new), I'll whip up some test builds incorporating the patch.
Comment 5 Benni Hill 2011-02-12 03:46:45 UTC
I can confirm this on KDE 4.6. Has the patch already been commited?
Comment 6 Rex Dieter 2011-02-15 18:30:36 UTC
It has not been committed.
Comment 7 Rex Dieter 2011-02-15 18:32:41 UTC
fwiw, all current fedora kde-plasma-networkmanagement packages do include this patch now.
Comment 8 imehl_adresse 2011-02-17 16:04:09 UTC
Thank you for the patch!

Works fine on gentoo (self patched)
Comment 9 Rex Dieter 2011-02-17 16:26:18 UTC
Patch submitted to reviewboard, for wider exposure,
https://git.reviewboard.kde.org/r/100674/