dhcpcd-discuss

Re: dhcpcd-dbus introspection patch

Roy Marples

Sun Jun 07 20:32:34 2009

Emil Renner Berthing wrote:
I've been playing a bit with dhcpcd-dbus/dhcpcd-ui and I really like the idea
that the dhcp daemon should keep track of the state of your network
interfaces.

Well, for IPv4 anyway :)

However dhcpcd-dbus version 0.4.0 doesn't seem to respond to introspection
properly. It only sends the first sizeof(xml) bytes of the reply, where xml is
a char pointer. That is 4 or 8 bytes depending on your architecture.

Also there are some XML formatting errors, but I've fixed it in the
attached patch.

Applied, thanks!
dhcpcd-0.4.1 released.

Next up I'd like to figure out why dhcpcd thinks a network cable is
connected when I first modprobe e1000e, the module of my ethernet card (eth0),
even though cat /sys/class/net/eth0/carrier returns 0.

That would be a driver bug I guess, but I'll try and replicate it over the next few days with my various network cards.

Thanks

Roy

References:
dhcpcd-dbus introspection patchEmil Renner Berthing
Archive administrator: postmaster@marples.name