[En-Nut-Discussion] DHCP problems

Harald Kipp harald.kipp at egnite.de
Thu Sep 16 17:03:49 CEST 2004


Joe,

I responded to Viktor by private email after he told me that
his problem was manual reset, not reset in general. So I
suggested the watchdog method.

Avoiding reboot looks difficult to me, but I assume that
with UDP only its much easier. Simply setting if_local_ip
in the IFNET structure of the device might do the job.

     IFNET *nif = devEth0.dev_icb; /* Or dev-> if available. */

which had to be done in the renewal part of pro/dhcpc.c.

Harald

At 08:35 16.09.2004 -0600, you wrote:
>Harald,
>
>I have the same problem on a device that has no easy way to cycle the
>power. If I intervene I can send a packet to renew the address by
>allowing the watchdog to timeout. But if I don't the device is just
>stuck without a proper address. This issue is very serious to us because
>our device is meant to stay on for extended periods of time and we have
>potentially hundreds of such devices at a given location that would need
>to be rebooted. Our devices are UDP only however, so we aren't worried
>about TCP connections. Any tips on how to modify the code to accept the
>new address without rebooting?
>




More information about the En-Nut-Discussion mailing list