lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] DHCP: IF not connected on power up


From: Jörg Hermann
Subject: Re: [lwip-users] DHCP: IF not connected on power up
Date: Mon, 07 Jun 2010 16:47:43 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4

In addition to invoke dhcp_start(), you
have to periodically call the timer service routines dhcp_coarse_tmr() and dhcp_fine_tmr()
(see the description in the header of dhcp.c)

-
 Joerg

Am 07.06.2010 15:46, schrieb Bill Auerbach:
I start DHCP and simply wait for the netif to come up:

        dhcp_start(netif_default);
        while(! netif_is_up(netif_default))
                ;

-----Original Message-----
From: address@hidden
[mailto:address@hidden On
Behalf Of Bernhard 'Gustl' Bauer
Sent: Monday, June 07, 2010 3:42 AM
To: Mailing list for lwIP users
Subject: [lwip-users] DHCP: IF not connected on power up

Hi,

I'm using raw LWIP with IF CS8900.

When the interface is not connected during power up, DHCP cannot assign
an IP. When the IF is connected some time later LWIP should ask for an
IP - but it does not.

What must be done to trigger a DHCP cycle? Is there a mechanism to show
a connected IF?

TIA

Gustl

_______________________________________________
lwip-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/lwip-users

_______________________________________________
lwip-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/lwip-users





reply via email to

[Prev in Thread] Current Thread [Next in Thread]