[En-Nut-Discussion] DHCP client and losing UDP packets
Harald Kipp
harald.kipp at egnite.de
Thu Apr 15 21:23:10 CEST 2004
Hi Michel,
>So I started adjusting the pro/dhcp.c file. But now I cannot get it to
>receive UDP packets anymore. It does send out DHCP Discover messages and my
>BIND9 server sends DHCP-Offer messages, but somehow ethernut is not
>receiving them.
That could have several causes, not easy to determine
by a single module. Did you check your application
code for infinite loops without NutSleep, NutEventWait
or similar?
>Could someone have a look at my code, or possibly, try it with and give me
>hint on what I did wrong?
You add a default route? Why? As far as I know, DHCP depends
on broadcasting, at least for discovery. But broadcasts are
not routed.
I checked the diff to the current CVS HEAD, but couldn't
find something else, what might cause the problem.
Harald
More information about the En-Nut-Discussion
mailing list