GNOME Bugzilla – Bug 693172
cli: report error on 'nmcli switch wifi on'
Last modified: 2020-11-12 14:26:31 UTC
Using the 'cli-enhance' branch, I'm using 'nmcli' to try to enable wireless when hard rfkill is active. See: fedora ~ # nmcli switch REQUIRED: (null) NETWORKING WIFI-HW WIFI MOBILE-HW MOBILE enabled disabled disabled enabled disabled fedora ~ # nmcli switch wifi on && echo ok ok fedora ~ # nmcli switch REQUIRED: (null) NETWORKING WIFI-HW WIFI MOBILE-HW MOBILE enabled disabled disabled enabled disabled fedora ~ # rfkill list 0: tpacpi_bluetooth_sw: Bluetooth Soft blocked: yes Hard blocked: yes 1: phy0: Wireless LAN Soft blocked: yes Hard blocked: yes Expected behavior: nmcli should write an error message to stderr and return non-zero status. Actual behavior: nmcli behaves as if the action was successful.
NM bugzilla reorganization... sorry for the bug spam.
bugzilla.gnome.org is being shut down in favor of a GitLab instance. We are closing all old bug reports and feature requests in GNOME Bugzilla which have not seen updates for a long time. If you still use NetworkManager and if you still see this bug / want this feature in a recent and supported version of NetworkManager, then please feel free to report it at https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/ Thank you for creating this report and we are sorry it could not be implemented (workforce and time is unfortunately limited).