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 760198 - "nmcli radio" will report the presence of a non-exist WWAN device
"nmcli radio" will report the presence of a non-exist WWAN device
Status: RESOLVED NOTABUG
Product: NetworkManager
Classification: Platform
Component: nmcli
1.0.x
Other Linux
: Normal normal
: ---
Assigned To: NetworkManager maintainer(s)
NetworkManager maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2016-01-06 07:58 UTC by cypressyew
Modified: 2016-01-13 09:59 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description cypressyew 2016-01-06 07:58:29 UTC
Even if a system does not have any WWAN devices, the "nmcli radio" command will still show that it's enabled:

$ nmcli radio
WIFI-HW WIFI WWAN-HW WWAN
enabled enabled enabled enabled

$ nmcli -v
nmcli tool, version 1.0.4

Tested on 201409-15490 Dell Latitude E5550 with Ubuntu Xenial dailylive (4.3.0-5-generic #16), network-manager version: 1.0.4-0ubuntu7

Bug report on launchpad: https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1531419
Comment 1 Thomas Haller 2016-01-06 13:36:44 UTC
Devices can appear and disappear any time (restart ModemManager, plugin USB dongle...).

When a device appears, the radio rfkill switch should be already in place.
Comment 2 cypressyew 2016-01-07 02:39:23 UTC
I think the WWAN section should not be "enabled" for a system without a WWAN device. It's a bit confusing to see this.
Comment 3 Thomas Haller 2016-01-07 10:13:06 UTC
"enabled" means, that if you plugin an USB dongle (and NetworkManager has a matching connection that is configured to "autoconnect"), that NM will automatically connect the newly plugged in device.

"disabled" means it will not.


It makes sense to have this property available any time, so that you can configure it ~before~ plugin in the device.



Well, that is just my opinion of how it should be. And I personally think there is nothing to change here.
Comment 4 cypressyew 2016-01-13 09:16:00 UTC
I think it's more clear about this "enabled" / "disabled" meaning now.
Thanks for the explanation, and please feel free to close this bug.
Comment 5 Beniamino Galvani 2016-01-13 09:59:36 UTC
I agree with comment 3, the property indicates whether the user allows
WWAN devices to be potentially activated and should be not affected
by the actual presence of a device. BTW, the "wifi" property works in
the same way, you can have it set to "on" with no wireless nic
available. Closing this.