Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

LWIP Static IP Address

Altera_Forum
Honored Contributor II
1,202 Views

Has anyone else had problems using the static IP address. Such as setting use_dhcp flag in the get_ip_addr() function to 0? 

 

I find that I have to set the netif->flags |= NETIF_FLAG_UP in order to get it to work. 

 

I have found that it probably was supposed to be in the alt_lwip_dev.c file in the lwip_devices_init() function that this should properly happen. 

 

Any comments or experiences would be appreciated! 

 

Thanks, 

Chris F.
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
441 Views

You'll find better help on the lwIP forum: 

 

https://savannah.nongnu.org/mail/?group=lwip
0 Kudos
Reply