7 manager = dbus.Interface(bus.get_object('org.freedesktop.connman', "/"),
8 'org.freedesktop.connman.Manager')
10 interfaces = manager.ListInterfaces()
12 for path in interfaces:
13 print "[ %s ]" % (path)
15 interface = dbus.Interface(bus.get_object('org.freedesktop.connman', path),
16 'org.freedesktop.connman.Interface')
18 properties = interface.GetProperties()
19 for key in properties.keys():
20 print " %s = %s" % (key, properties[key])
22 ipv4 = interface.GetIPv4()
23 for key in ipv4.keys():
24 print " IPv4.%s = %s" % (key, ipv4[key])