cnetworkmanager(1) Command-line client for NetworkManager.


cnetworkmanager [options]



show program's version number and exit

-h, --help

show this help message and exit

-t, --terse

No table headings and padding, suitable for parsing

-w BOOL, --wifi=BOOL

Enable or disable wireless

-o BOOL, --online=BOOL

Enable or disable network at all


Print the NM state

--we, --wireless-enabled

Print whether the WiFi is enabled

--whe, --wireless-hardware-enabled

Print whether the WiFi hardware is enabled

-d, --device-list, --dev

List devices

--device-info=DEV, --di=DEV

Info about device DEV (by interface or UDI(TODO))

-a, -n, --ap-list, --ap, --nets

List access points

--ap-info=AP, --ai=AP

Info about access point AP (by hw address or UDI(TODO))

-u, --usrcon

List user connection settings

-s, --syscon

List system connection settings

--con-info=[KIND[ID]], --ci=[KIND[ID]]

Info about connection settings ID (of the *user*/system KIND)

-c, --actcon

List active connections


Run a random demonstration of the API


activate the KIND(user/system) connection ID on device DEV using APMAC.

-m, --monitor

loop to show dbus signals

-C SSID, --connect=SSID

Connect to a wireless network SSID (creating the configuration using the key options below)


network does not require a key


use this WEP key of 26 hex digits


use this WEP passphrase


use this WPA key of 64 hex digits


use this WPA passphrase


cnetworkmanager is a command-line client for NetworkManager, intended to supplement and replace the GUI applets.


Copyright 2010 W. Martin Borgert and released under the GNU General Public License (GPL). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or any later version published by the Free Software Foundation.


W. Martin Borgert



Copyright © 2010 W. Martin Borgert