Hi, I've been facing a weird behavior on the system I'm working. I'll try to describe it here.
I'm using a regular PC with an ethernet card (eth0), ConnMan 0.79 under Linux (3.2.7). ConnMan is started by systemd. Here are the steps to illustrate the problem: 1. Right after installed, the system boots and the network interface gets IP configuration via DHCP, as expected. 2. I set the network interface configuration as static and it works as expected. 3. I set the network interface configuration to be obtained via DHCP. It is configured via DHCP as expected. 4. I reboot the system. 5. The network interface is not configured. After performing those steps, I cannot make the network interface obtain its configuration via DHCP on system boot anymore. If I go to the network configuration application and set it to obtain the network interface configuration via DHCP, it works, but is seems that the configuration does not stick after rebooting the system. Here's the ConnMan log generated right after booting the system: http://paste.debian.net/161265/ Here's the rest of the log, obtained after setting the configuration to be obtained via DHCP: http://paste.debian.net/161266/ Note: the logs were obtained via systemd with $ systemd-journalctl - a | grep connman connmand was called with "-n -d" as options. Except for the `Modified' field in /var/lib/connman/ethernet_0024ee0039c1_cable/settings, all the content under /var/lib/connman remains the same after rebooting. The full content of /var/lib/connman can be seen here: http://paste.debian.net/161271/ (except the ethernet_0024ee0039c1_cable/data file, which seems to be binary) The output of $ dbus-send --system \ --type=method_call \ --print-reply \ --dest=net.connman \ /net/connman/service/ethernet_0024ee0039c1_cable \ net.connman.Service.GetProperties can be found here: - right after boot: http://paste.debian.net/161272/ - after manually setting DHCP: http://paste.debian.net/161273/ The output of $ dbus-send --system \ --type=method_call \ --print-reply \ --dest=net.connman / net.connman.Manager.GetProperties can be found here: - right after boot: http://paste.debian.net/161274/ - after manually setting DHCP: http://paste.debian.net/161275/ I noticed Manager.State = "offline" right after boot. Why? To configure the network interface I'm using the CHICKEN bindings for ConnMan (https://github.com/OSSystems/chicken-connman). To set DHCP, it basically calls `SetProperty' on `IPv4.Configuration' with `Method' = `dhcp' via DBus. If you need any other information, please let me know. Any tip is welcome. Best wishes. Mario -- http://parenteses.org/mario _______________________________________________ connman mailing list [email protected] http://lists.connman.net/listinfo/connman
