--wireless-hardware-enabled
$ cnetworkmanager --whe
True
--wireless-enabled
$ cnetworkmanager --we
True
--state
$ cnetworkmanager --state
DISCONNECTED
Asleep
$ cnetworkmanager --online 0
$ cnetworkmanager --state
ASLEEP
$ cnetworkmanager --device-list
Interface | Type | State
----------+----------+----------
eth0 | ETHERNET | UNMANAGED
wlan0 | WIRELESS | UNMANAGED
Awake
$ cnetworkmanager --online 1
$ cnetworkmanager --state
DISCONNECTED
$ cnetworkmanager --device-list
Interface | Type | State
----------+----------+-------------
eth0 | ETHERNET | UNAVAILABLE
wlan0 | WIRELESS | DISCONNECTED
Connections
$ cnetworkmanager --usrcon
org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.NetworkManagerUserSettings was not provided by any .service files
$ cnetworkmanager --syscon
Active | Name | Type
-------+-------------+----------------
| Auto Monet | 802-11-wireless
* | Auto frogs | 802-11-wireless
| System eth0 | 802-3-ethernet