This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: IP configuration
- From: Jonathan Larmour <jlarmour at redhat dot com>
- To: Dan Searles <DanS at bops dot com>
- Cc: "'ecos-discuss at sources dot redhat dot com'" <ecos-discuss at sources dot redhat dot com>
- Date: Wed, 30 Jan 2002 00:07:05 +0000
- Subject: Re: [ECOS] IP configuration
- References: <6476CB7C06B86D46A0C5BF34EACD383335D9CA@rtpsrv001.rtp.bops.com>
Dan Searles wrote:
>
> Would it be possible to get a few more details on "configuring" an IP
> address, in regards to the 'Original Message' below?
>
> I've added 'ecosconfig add net' to my "configuration" of ecos. The
> build goes ok, and the sample(s) compile, but I think I'm running
> into the problem mentioned below, with RedBoot intercepting
> packets.
>
> I would like to just get to the point where I could provide
> the defines for:
> CYGHWR_NET_DRIVER_ETH0_ADDRS_IP
> CYGHWR_NET_DRIVER_ETH0_ADDRS_NETMASK
> CYGHWR_NET_DRIVER_ETH0_ADDRS_BROADCAST
> CYGHWR_NET_DRIVER_ETH0_ADDRS_GATEWAY
> CYGHWR_NET_DRIVER_ETH0_ADDRS_SERVER
>
> but I'm not sure where I should put them, or what is
> the proper way to do so.
You don't define them yourself per se. Instead look at your eCos
configuration, either the ecos.ecc file if you are using command line
tools, or the graphical configuration tools (easier) and change the options
in the net stack there.
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine