DHCP renewal doesn't work

Mingshu Wang <[email protected]> Fri, 17 Jun 2016 21:26:58 +0000
Newsgroups gmane.comp.hardware.microcontrollers.ethernut
Message-ID <[email protected]>
My device uses AT91SAM7X-EX chip and works as a DHCP client with Nut/OS v4.8.7.  It can get IP address from DHCP server after I power it up. But it isn't automatically issuing a renew based on the renewal period issued by my DHCP server. The renewal time is 2 minutes for testing purpose. I connect one computer, one DHCP server and the SAM7X device to a hub in the same network and run Wireshark  to capture messages. Computer sends DHCP request every minute but SAM7x device never sends any request. 

I saw people mentioned DHCP issues related to stack size before. I checked my settings. The value of NUT_THREAD_DHCPSTACK is 1024 in at91sam7x-ek.conf. MIN_DHCP_WAIT is 4000.

I don't know what else I need to check.

Thanks for any help.

Mingshu
_______________________________________________
http://lists.egnite.de/mailman/listinfo/en-nut-discussion