This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

How to toogle static/dynamic address configuration at runtime?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]