> -----Original Message----- > From: connman [mailto:[email protected]] On Behalf Of > Thomas Green > Sent: Thursday, August 06, 2015 9:10 PM > To: [email protected] > Subject: re-plugging ethernet cable. > > I am questioning about the behavior if I unplug and plug back in the same > Ethernet cable. I receive the removed service, then when I plug it back in, > it > goes back online, but never do I get an event that tells me what the ip > address, netmask, or gateway address is. When I receive the > manager::ServicesChanged signal, and I parse the dict associated with it, the > IPv4 sub-dict, doesn't contain any of these values. Later when I receive a > service::PropertyChanged it is for that service changing state to 'online'. I > never get an IPv4 packet telling me what the address is. Should I not be > expecting these values to be sent to me before the state changes to online?
Hello, Are the PropertyChanged events with the IPv4 and so on fired before you actually monitor the signal? Try listening for all of the signals with gdbus or a similar software (gdbus monitor --system --dest net.connman). On my computer, I'm receiving the message with IPv4 settings after the service status changes to 'ready', alongside with nameservers and so on. Jaakko _______________________________________________ connman mailing list [email protected] https://lists.connman.net/mailman/listinfo/connman
