[ECOS] How to toogle static/dynamic address configuration at runtime?

wang cui iucgnaw@msn.com
Mon Jul 16 10:05:00 GMT 2007


Hi,
As I choose configuration "CYGHWR_NET_DRIVER_ETH0_MANUAL" defaultly, and 
intialise interfaces with addresses stored in JFFS2.
But sometimes I'd like to configure target to use DHCP to get all 
addresses. Since the "init_all_network_interfaces()" have stipped out all 
DHCP stuff at compile time, how can I make use of it at runtime? Should I 
create my version of "init_all_network_interfaces_2()"? What test code 
should I refer to?
Thanks in advance!

_________________________________________________________________
Ãâ·ÑÏÂÔØ MSN Explorer:   http://explorer.msn.com/lccn  


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list