Hi, Sorry if I spam the list but I was previously registered to [email protected] and this does not seem to work anymore.
I am using connman 0.19-3.1 and I am doing a plugin that is setting up a device with CONNMAN_DEVICE_MODE_TRANSPORT_IP mode, I give it the following properties: connman_device_set_interface(device,"an interfaceName"); "IPv4.Method" = "static" "IPv4.Address" = "an IP address" "IPv4.Netmask" = "255.255.255.0" "IPv4.Gateway" = "another IP address" These properties are set correctly and I can see they are applied fine to the IPV4 element/ However, I am not able to set the Broadcast and nameserver properties, is there something like: "IPv4.Broadcast" and "IPv4.Nameserver" properties, I tried everything and nothing seems to work. Now, when I call connman_device_set_carrier(device, TRUE) I get a segmentation fault in connman. I suspect the connman IPV4 probe function to fail as I did not provide it any Broadcast address ? Could that be the reason, is this a bug at connman level, I may not be using correctly the connman APIs. Another issue, I tried to set the nameservers IPs using successive calls to: connman_resolver_append(interface_name, NULL, dns1_addr); connman_resolver_append(interface_name, NULL, dns2_addr); However, the resulting /etc/resolv.conf contains only the last dns address and previous dns entries are removed... Thanks for your help, Regards, Jonathan __________ Information from ESET NOD32 Antivirus, version of virus signature database 4146 (20090611) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com _______________________________________________ connman mailing list [email protected] http://lists.connman.net/listinfo/connman
