[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [lwip-users] DHCP and AutoIP - TCP doesnt work

From: Bill Auerbach
Subject: RE: [lwip-users] DHCP and AutoIP - TCP doesnt work
Date: Mon, 26 Apr 2010 08:25:50 -0400

>My device is configured using DHCP and AutoIP. I have enabled the
>following options:
>Network addresses set by the DHCP are correct and AutoIP also works
>well. Unfortunately TCP and ICMP aren't working. I've tried Ping and web
>server and there is no answers from device. If I change the IP
>assignment to STATIC or turn off autoip all applications work fine.
>In init task I call:
>netif_add(&lwip_netif, &ip_addr, &net_mask, &gw_addr, NULL,
>ethernetif_init, tcpip_input); netif_set_default(&lwip_netif);
>netif_set_status_callback(&lwip_netif, status_callback);
>tcpip_init(NULL, NULL);
>In tcpip_thread I call (through tcpip_callback):

You should not be calling autoip_start.  This is done for you in coop mode when 
DHCP doesn't acquire an address.


reply via email to

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