dhclient on linux ppc

David W. Hankins David_Hankins at isc.org
Thu Oct 19 16:06:57 UTC 2006


On Thu, Oct 19, 2006 at 11:37:51AM -0200, Anselmo Lacerda Silveira de Melo wrote:
> Can't get interface flags for : No such device

Looks like a bug in SIOCIFCONF.  It's giving an interface structure with
no name.

Try editing common/discover.c, here:

        /* Cycle through the list of interfaces looking for IP addresses. */
        for (i = 0; i < ic.ifc_len;) {
                struct ifreq *ifp = (struct ifreq *)((caddr_t)ic.ifc_req + i);

Just after this line, add:

		if (ifp->ifr_name[0] == '\0')
			continue;

> Can anybody help me, please?

Either way, I suspect this is a linux kernel bug.

-- 
David W. Hankins	"If you don't do it right the first time,
Software Engineer		you'll just have to do it again."
Internet Systems Consortium, Inc.	-- Jack T. Hankins


More information about the dhcp-users mailing list