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 09:46:46 -0400

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




reply via email to

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