Hi Dirk
Thank you, now it works.
Regards
Markus
Gesendet: Mittwoch, 15. März 2017 um 08:38 Uhr
Von: "Dirk Ziegelmeier" <[email protected]>
An: "Mailing list for lwIP users" <[email protected]>
Betreff: Re: [lwip-users] lwip 1.4.1 -> 2.0.1: problem with dhcp
Von: "Dirk Ziegelmeier" <[email protected]>
An: "Mailing list for lwIP users" <[email protected]>
Betreff: Re: [lwip-users] lwip 1.4.1 -> 2.0.1: problem with dhcp
no, you just need to enable the interface during system startup by calling netif_set_up().
NO_SYS example:
http://www.nongnu.org/lwip/2_0_x/group__lwip__nosys.html
NO_SYS example:
http://www.nongnu.org/lwip/2_0_x/group__lwip__nosys.html
On Wed, Mar 15, 2017 at 8:35 AM, <[email protected]> wrote:
Hi DirkThank you for your answer.I don't really understand that point. Do I have to change my InitEthernetAdapter function like that?// Start with dhcp
if (_useDhcp)
{
if (dhcp_start(&_netif) == ERR_OK)
{
netif_set_up(&_netif);
}
}
Thanks
Markus
Gesendet: Dienstag, 14. März 2017 um 15:45 Uhr
Von: "Dirk Ziegelmeier" <[email protected]>
An: "Mailing list for lwIP users" <[email protected]>
Betreff: Re: [lwip-users] lwip 1.4.1 -> 2.0.1: problem with dhcp_______________________________________________ lwip-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lwip-usersMaybe this is missing:
http://www.nongnu.org/lwip/2_0_x/upgrading.html
* Changed netif "up" flag handling to be an administrative flag (as opposed to the previous meaning of "ip4-address-valid", a netif will now not be used for transmission if not up) -> even a DHCP netif has to be set "up" before starting the DHCP client
_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users
_______________________________________________ lwip-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lwip-users
