|
From: | Noam Weissman |
Subject: | Re: [lwip-users] lwip 1.4.1 -> 2.0.1: problem with dhcp |
Date: | Tue, 14 Mar 2017 14:50:04 +0000 |
Hi Markus, As a skeleton there is no change. Maybe you need wait until you have a link Or that your driver takes longer to finish initializing. BR, Noam. From: lwip-users [mailto:lwip-users-bounces+address@hidden
On Behalf Of address@hidden The upgrade from lwip 1.4.1 to 2.0.1 workes fine. Just with dhcp I've got some troubles. With version 1.4.1 the following initialization was perfect: static
void InitEthernetAdapter(void) { netif_set_default(.....); netif_set_status_callback(.....); netif_set_link_callback(.....); // Start with dhcp if (_useDhcp) { dhcp_start(&_netif); } // Start with static ip address else netif_set_up(&_netif); } } With lwip 2.0.1 the network doesn't start with dhcp. Static ip is fine. Do I have to add something else to start with dhcp? Thanks Markus |
[Prev in Thread] | Current Thread | [Next in Thread] |