Hi All,

   I tried to set static/manual ip configuration using dbus-send. but
getting following error.

  Get properties is successfull with below command.
  # dbus-send --system --print-reply --dest=org.moblin.connman
/profile/default/wifi_60d0a951d65f_697074696d65_managed_none
org.moblin.connman.Service.GetProperties

# dbus-send --system --print-reply --dest=org.moblin.connman
/profile/default/wifi_60d0a951d65f_697074696d65_managed_none
org.moblin.connman.Service.SetProperty string:"IPv4.Configuration"
dict:string:string:"Method","manual","Address","192.168.2.3","Netmask","255.255.2
55.0","Gateway","192.168.2.1"
Error org.freedesktop.DBus.Error.UnknownMethod: Method "SetProperty" with
signature "sa{ss}" on interface "org.moblin.connman.Service" doesn't exist



can any body tell me what is wrong here? because as per dbus-send man page
it supports array and dict as below.

dbus-send --dest=org.freedesktop.ExampleName               \
                   /org/freedesktop/sample/object/name              \
                   org.freedesktop.ExampleInterface.ExampleMethod   \
                   int32:47 string:’hello world’ double:65.32       \
                   array:string:"1st item","next item","last item"  \
                   dict:string:int32:"one",1,"two",2,"three",3      \
                   variant:int32:-8                                 \
                   objpath:/org/freedesktop/sample/object/name



-- 
Regards & Thanks
Raghavendra. S
9880329621
_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman

Reply via email to