This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
How to toogle static/dynamic address configuration at runtime?
- From: "wang cui" <iucgnaw at msn dot com>
- To: ecos-discuss at ecos dot sourceware dot org
- Date: Mon, 16 Jul 2007 10:05:19 +0000
- Subject: [ECOS] How to toogle static/dynamic address configuration at runtime?
- Bcc:
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