This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: No DHCP, hard IP address assignment
- From: Gary Thomas <gary at mlbassoc dot com>
- To: Hans Anderson <hans at premtech dot com>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Fri, 22 Dec 2006 07:59:49 -0700
- Subject: Re: [ECOS] No DHCP, hard IP address assignment
- References: <458BEA48.3050306@premtech.com>
Hans Anderson wrote:
Our embedded product will live in an environments where sometimes there
are DHCP services and some installations with no DHCP services.
My task is to setup a fixed IP address, netmask, and DNS addresse into
the existing eCos networking services structures. Is there a way to
make sure that the DHCP service request through eCos is not initiated,
or a quick time out occurs? The no response time is very long so far
as we have been able to observe. Also, where should the fixed network
configuration information be placed to allow the rest of the network
protocol to see it and us it to run our application?
Enable CYGHWR_NET_DRIVER_ETH0_MANUAL
Disable CYGHWR_NET_DRIVER_ETH0_BOOTP
Set up
CYGHWR_NET_DRIVER_ETH0_ADDRS_IP
CYGHWR_NET_DRIVER_ETH0_ADDRS_NETMASK
CYGHWR_NET_DRIVER_ETH0_ADDRS_BROADCAST
CYGHWR_NET_DRIVER_ETH0_ADDRS_GATEWAY
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss