I try to set static ip configuration using dbus-send without success:

# dbus-send --system --print-reply --dest=org.moblin.connman
/profile/default/ethernet_0050b60849d5_cable
org.moblin.connman.Service.SetProperty string:"IPv4.Configuration"
array:string:"Method","manual","Address","192.168.0.3","Netmask","255.255.255.0"
Error org.freedesktop.DBus.Error.UnknownMethod: Method "SetProperty" with
signature "sas" on interface "org.moblin.connman.Service" doesn't exist


But Getproperties is successfull with below command.

# dbus-send --system --print-reply --dest=org.moblin.connman
/profile/default/ethernet_0050b60849d5_cable
org.moblin.connman.Service.GetProperties
method return sender=:1.1 -> dest=:1.75 reply_serial=2
   array [
      dict entry(
         string "Type"
         variant             string "ethernet"
      )
      dict entry(
         string "State"
         variant             string "failure"
      )
      dict entry(
         string "Favorite"
         variant             boolean false
      )
      dict entry(
         string "Immutable"
         variant             boolean false
      )
      dict entry(
         string "AutoConnect"
         variant             boolean false
      )
      dict entry(
         string "Name"
         variant             string "Wired"
      )
      dict entry(
         string "Ethernet"
         variant             array [
            ]
      )
      dict entry(
         string "IPv4"
         variant             array [
            ]
      )
      dict entry(
         string "IPv4.Configuration"
         variant             array [
               dict entry(
                  string "Method"
                  variant                      string "dhcp"
               )
            ]
      )
      dict entry(
         string "Nameservers"
         variant             array [
            ]
      )
      dict entry(
         string "Nameservers.Configuration"
         variant             array [
            ]
      )
      dict entry(
         string "Domains"
         variant             array [
            ]
      )
      dict entry(
         string "Domains.Configuration"
         variant             array [
            ]
      )
      dict entry(
         string "Proxy"
         variant             array [
            ]
      )
   ]

This e-mail message is intended only for the use of the intended recipient(s).
The information contained therein may be confidential or privileged,
and its disclosure or reproduction is strictly prohibited.
If you are not the intended recipient, please return it immediately to its 
sender 
at the above address and destroy it. 
_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman

Reply via email to