This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
configuring eCos with static ip-addr.
- From: "SOMARAJAN,SUNIL (HP-India,unix2)" <Sunil dot Somarajan at hp dot com>
- To: ecos-discuss at sources dot redhat dot com
- Date: Fri, 13 Jun 2003 14:28:17 +0530
- Subject: [ECOS] configuring eCos with static ip-addr.
- Organization: HP
- Reply-to: Sunil dot Somarajan at hp dot com
Hi,
I have an x86 target up and running with ecos2.0. Redboot is configured
with 82559 driver and picks up its address via DHCP. (responds to
ping/telnet)
I need to also configure eCos with a static ip-address. I looked at the
archives and found that I can do this by importing a file of this form.
I am using configtool under cygwin. Is there a way to assign a static ip
to eCos using the configtool and build the targetlib.a
or give me more info on how I can import this file ?
-thanx
sunil.
----
cdl_savefile_version 1;
cdl_savefile_command cdl_savefile_version {};
cdl_savefile_command cdl_savefile_command {};
cdl_savefile_command cdl_configuration { description hardware template
package };
cdl_savefile_command cdl_package { value_source user_value wizard_value
inferred_value };
cdl_savefile_command cdl_component { value_source user_value
wizard_value inferred_value };
cdl_savefile_command cdl_option { value_source user_value wizard_value
inferred_value };
cdl_savefile_command cdl_interface { value_source user_value
wizard_value inferred_value };
cdl_component CYGPKG_NET_DHCP {
user_value 0
};
cdl_component CYGPKG_NET_BUILD_HW_TESTS {
user_value 1
};
cdl_component CYGHWR_NET_DRIVER_ETH0_MANUAL {
user_value 0
};
cdl_component CYGHWR_NET_DRIVER_ETH0_BOOTP {
user_value 0
};
cdl_component CYGHWR_NET_DRIVER_ETH0_ADDRS {
user_value 1
};
cdl_option CYGHWR_NET_DRIVER_ETH0_ADDRS_IP {
user_value 10.0.0.211
};
cdl_option CYGHWR_NET_DRIVER_ETH0_ADDRS_NETMASK {
user_value 255.0.0.0
};
cdl_option CYGHWR_NET_DRIVER_ETH0_ADDRS_BROADCAST {
user_value 10.255.255.255
};
cdl_option CYGHWR_NET_DRIVER_ETH0_ADDRS_GATEWAY {
user_value 10.0.0.1
};
cdl_option CYGHWR_NET_DRIVER_ETH0_ADDRS_SERVER {
user_value 10.0.0.102
};
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss