Re: DHCP renewal doesn't work

Uwe Bonnes <bon-1JbLm1bU5j5ZIx36JBfelj3+ndqKAYMe9FMPySWZwLkb1SvskN2V4Q@public.gmane.org> Sat, 18 Jun 2016 12:26:43 +0200
Newsgroups gmane.comp.hardware.microcontrollers.ethernut
Message-ID <[email protected]>
>>>>> "Mingshu" == Mingshu Wang <[email protected]> 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-1JbLm1bU5j5ZIx36JBfelj3+ndqKAYMe9FMPySWZwLkb1SvskN2V4Q@public.gmane.org

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 1623569 ------- Fax. 06151 1623305 ---------
_______________________________________________
http://lists.egnite.de/mailman/listinfo/en-nut-discussion