On https://developer.gnome.org/NeI executed manually update-ip4-method lines from python shell.Executing update returned:
DBusException: org.freedesktop.NetworkManager.Settings.Connection. MissingProperty: ipv4.addresses: this property cannot be empty for 'method=manual' tworkManager/1.0/ref-settings. settings section/addresses property description claims:html/ipv4
"Deprecated in favor of the 'address-data' and 'gateway' properties, but this can be used for backward-compatibility with older daemons."What should I now (try to) use with nm 1.0.10?2016-12-19 12:29 GMT+02:00 matti kaasinen <matti kaasinen gmail com>:NM version = 1.0.102016-12-19 11:15 GMT+02:00 matti kaasinen <matti kaasinen gmail com>:MattiThanks,I get following error message from connection.Update():'ipv4' dictionary before update printed below:Hi!It seems that I can't set dbus types properly. I try to follow example setting static ipv4 addres:
freedesktop/NetworkManager/NetworkManager /examples/python/dbus /update-ip4-method.py
{u'address-data': dbus.Array([dbus.Dictionary({'prefix': dbus.UInt32(22L), 'address': '192.168.3.25'}, signature=None)], signature=dbus.Signature('a{sv }')), u'method': 'manual'}
File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 641, in call_blocking
message.append(signature=signature, *args)
ValueError: invalid literal for long() with base 10: '192.168.3.25'