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: TCP/IP stack testing problem for ecos


hi ,

if u r doing eth0 set up manually u have to do
following in  net.cdl( it will better if u change 
these setting in ecos.ecc )

 CYGHWR_NET_DRIVER_ETH0_MANUAL => 1

 CYGHWR_NET_DRIVER_ETH0_BOOTP=> 0

 CYGHWR_NET_DRIVER_ETH0_DHCP =>0
CYGHWR_NET_DRIVER_ETH0_ADDRS_IP => ur Ip address(of
target)
 CYGHWR_NET_DRIVER_ETH0_ADDRS_NETMASK => netmask of ur
network. & likewise other options.

 CYGHWR_NET_DRIVER_ETH0_ADDRS_GATEWAY => gateway
address of ur network

CYGHWR_NET_DRIVER_ETH0_ADDRS_SERVER => server address
by default ping test pings to server 

it should work .
Have u checked driver inintialisation ?

umesh




--- rhea santos <marheas@asti.dost.gov.ph> wrote:
> hi! thanks for the reply...
> i was trying to perform the ping test using the
> ping_test test file,it
> outputs ok after i downloaded the program and run it
> using arm-elf-gdb.
> However, i can not ping the ip address i assigned
> for the StrongArm target
> after i change  is in net.cdl....what could possibly
> went wrong?can you send
> me e exact procedure of configuring the net.cdl.
> 
> thanks!
> 
> -------Original Message-------
> 
> From: umesh jaiswal
> Date: Monday, November 11, 2002 07:37:52 PM
> To: rhea santos; ecos-discuss@sources.redhat.com
> Subject: Re: [ECOS] TCP/IP stack testing problem for
> ecos
> 
> hi,
> 
> Before doing ping test u have to assign the ip
> addresse,netmask, server address & gateway address
> to your stack .It could be done by two ways ...one
> by
> mannually assigning the adressess or by using Bootp
> Or
> 
> DHCP.These options can be set in net cdl. Have a
> look
> of nel.cdl file .
> if u want to build it mannuall u have to keep other
> options (BOOYP ,DHCP) desabled. Accordingly set
> other
> options to appropiate value (like ip addresses..).
> then run build the whole template again & run the
> ping
> test .if u find any problem in it replay the same i
> ll
> give u the details procedure of doing it.


__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
http://webhosting.yahoo.com

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


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