This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: IP configuration


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]