Re: Update NetworkManager Settings using D-Bus

On Mon, 2014-07-21 at 15:06 +0200, Pascal Garber wrote:
Hi, I'm working on a D-Bus wrapper for Node.js [1], but I can't update
my NetworkManager Settings.
This is the d-bus interface I use:
When I try to call the Update method I get this error: "[Error:
but I give the function the same properties I was getting with
GetSettings, e.g. [2]

What are the required properties? 
Is it possible to Debug the NetworkManager D-Bus interface on
Server/NetworkManager site?


Which NM version are you using? In general backward compatibility should
be provided for the DBUS API, anything else would be a bug. Still good
to know...

NM server-side calls nm_connection_verify() [1], which delegates to the
virtual function nm_setting_verify() [2] -- implemented as verify()
functions in libnm-util/nm-setting-*.c (e.g. [3])


Looks like verify() for the provided setting is failing. Don't you get
an more detailed error message?

For me, the setting looks valid.


Attachment: signature.asc
Description: This is a digitally signed message part

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]