[En-Nut-Discussion] DHCP renewal doesn't work
bon at elektron.ikp.physik.tu-darmstadt.de
Sat Jun 18 12:26:43 CEST 2016
>>>>> "Mingshu" == Mingshu Wang <mwang at ccontrols.com> writes:
Mingshu> My device uses AT91SAM7X-EX chip and works as a DHCP client
Mingshu> with Nut/OS v4.8.7. It can get IP address from DHCP server
Mingshu> after I power it up. But it isn't automatically issuing a renew
Mingshu> based on the renewal period issued by my DHCP server. The
Mingshu> renewal time is 2 minutes for testing purpose. I connect one
Mingshu> computer, one DHCP server and the SAM7X device to a hub in the
Mingshu> same network and run Wireshark to capture messages. Computer
Mingshu> sends DHCP request every minute but SAM7x device never sends
Mingshu> any request. I saw people mentioned DHCP issues related to
Mingshu> stack size before. I checked my settings. The value of
Mingshu> NUT_THREAD_DHCPSTACK is 1024 in
Mingshu> at91sam7x-ek.conf. MIN_DHCP_WAIT is 4000.
Mingshu> I don't know what else I need to check.
Try with SVN head. Some work regarding DHCP has been done there.
Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt
--------- Tel. 06151 1623569 ------- Fax. 06151 1623305 ---------
More information about the En-Nut-Discussion