wifi-control-node icon indicating copy to clipboard operation
wifi-control-node copied to clipboard

Error: Object 'networking' is unknown, try 'nmcli help'

Open IMG-PRCSNG opened this issue 8 years ago • 3 comments

I am currently using nmcli tool, version 0.9.8.8

I am really not sure but there seems to be a significant change in the constants and command objects used in this version.

  • I am not able to find "networking" object in the nmcli command.
  • The scan result doesn't seem to have CHAN attribute when i run nmcli -m multiline device wifi list

Can anyone verify and provide what might be the cause for discrepancy?

IMG-PRCSNG avatar Jul 01 '16 08:07 IMG-PRCSNG

Looks like #7 is partially solving this issue. This must be due to the version discrepancies of nmcli - 14.04 LTS doesn't ship with nmcli version where networking object was introduced . Will update if i manage to port the code for lower versions of nmcli.

Edit Actually at the end of #7 conversation, i found a fork by @cmaissan - here with a branch that actually fixes it for version 0.9.8.8.

IMG-PRCSNG avatar Jul 01 '16 09:07 IMG-PRCSNG

Right, and as I stated once in #7 , if this were to be rewritten using anything it should be iw

msolters avatar Jul 02 '16 03:07 msolters

@IMG-PRCSNG I rewrote the package in such a way as to remove any reference to nmcli networking. I'd be very interested to know how it works for you. You can checkout the branch over at #16 .

msolters avatar Jul 02 '16 05:07 msolters