[ECOS] No DHCP, hard IP address assignment

Gary Thomas gary@mlbassoc.com
Fri Dec 22 15:00:00 GMT 2006


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



More information about the Ecos-discuss mailing list