Bug 289194 - networkmanagement and rfkill
Summary: networkmanagement and rfkill
Status: RESOLVED UPSTREAM
Alias: None
Product: Network Management
Classification: Unmaintained
Component: KDED Module (other bugs)
Version First Reported In: 0.9
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Lamarque V. Souza
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-17 12:50 UTC by David
Modified: 2011-12-17 13:20 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David 2011-12-17 12:50:46 UTC
Version:           4.7 (using KDE 4.7.3) 
OS:                Linux

Don't know if this is a bug in networkmanager or in networkmanager of KDE.

I have 2 wireless network cards, one USB (ralink) and internal one (intel iwlwifi).
The last, has a rfkill switch to disable adapter (and bluetooth).
The problem is that when I have intel disabled due to rfkill, KDE refuses to use the other wireless card, because enable wireless is disabled and can't be enabled.

So for now, my solution is to rmmod iwlwifi and force using only the other one, but the desired behaviour is to detect that other wireless adapter is available and not rfkilled and use it anyway.

Reproducible: Didn't try

Steps to Reproduce:
Have 2 wireless cards in a laptop for example, one USB and the internal one.
Use the rfkill function of the internal one while having the other connected, and see how networkmanagement refuses to use it

Actual Results:  
Any wireless network can be connected

Expected Results:  
Use the other adapter to connect to wireless networks
Comment 1 David 2011-12-17 12:58:58 UTC
By the way, I tried to reproduce it despite I chose the wrong option before :)
Comment 2 Lamarque V. Souza 2011-12-17 13:16:04 UTC
Well, it was NM that send the signal to disable wireless. As far as I known NM does not distinguish the WirelessEnabled and WirelessHardwareEnabled signals among several cards.

Please send me the output of the commands below after reproducing the problem:

qdbus --system org.freedesktop.NetworkManager \
/org/freedesktop/NetworkManager \
org.freedesktop.NetworkManager.WirelessEnabled

qdbus --system org.freedesktop.NetworkManager \
/org/freedesktop/NetworkManager \
org.freedesktop.NetworkManager.WirelessHardwareEnabled

If am right here then those two will return false. In that case the problem is in NM itself and you should contact them to fix this problem.
Comment 3 David 2011-12-17 13:20:24 UTC
Ok, yes, those two return false. I'll report it upstream.
Thanks for the response.