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: Bill Auerbach
Subject: RE: [lwip-users] DHCP: IF not connected on power up
Date: Mon, 7 Jun 2010 11:27:07 -0400

Good point!  I have a co-op multitasker and I had a yield there which allows
the other task to check the timer and run the timer services.

Thanks for clearing that up.

Bill

>-----Original Message-----
>From: address@hidden
>[mailto:address@hidden On
>Behalf Of Jörg Hermann
>Sent: Monday, June 07, 2010 10:48 AM
>To: Mailing list for lwIP users
>Subject: Re: [lwip-users] DHCP: IF not connected on power up
>
>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
>>
>>
>
>
>_______________________________________________
>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]