--- Quote Start ---
originally posted by poirot@Jan 4 2006, 11:22 AM
i am trying to get dhcp working using lwip. i have successfully managed to get dhcp working using microc but would prefer not to use an os.
i have downloaded lwip and have managed to get fixed ip addressing to work but not dhcp client.
does anyone have some sample code to show how this is done ?
i am just looking for the intial sequence of function calls to set up the ip address. do i need to call coarse & fine timer functions to make this work ?
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=11949)
--- quote end ---
--- Quote End ---
Did you set LWIP_DHCP to 1 in lwipopts.h? It's been a while since I worked with the standalone LWIP but I don't recall having a problem with DHCP.
Also are you using the lwip_web_server example? Because that has all the code necessary to make DHCP work.