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