Forum Discussion
Altera_Forum
Honored Contributor
13 years ago --- Quote Start --- How do You guys start all the program if the ethernet cable is unplugged? Seems like lwIP then waits in a while forever... --- Quote End --- Socrates, I’ve attached snapshots from my working code as a demo. I use standard lwip timer to check ethernet link periodically and call netif_set_link_up() / netif_set_link_down() when appropriate. Other tasks may be scheduled through sys_timeout() or called from the loop in main(). Feel free to ask for clarification. Igor