public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] eth0/eth1 problem
@ 2007-05-04  9:44 dogu cetin
       [not found] ` <2a3305fe0705091549r4be8c382y2a79b57d1383cfc4@mail.gmail.com>
  0 siblings, 1 reply; 3+ messages in thread
From: dogu cetin @ 2007-05-04  9:44 UTC (permalink / raw)
  To: ecos-discuss

Hi,

We have our own board which has two ethernet ports. If I configure ecos to 
use only eth0, it works. Similarly it works for eth1. However if I configure 
ecos to use both eth0 and eth1 at the same time. I can access the board via 
eth1 only. IP settings of interfaces are given below. Why doesn't eth0 and 
eth1 work together? is there any idea?

Thanks,
Dogu

eth0:
ip: 192.168.1.22
subnet: 255.255.255.0
broadcast: 192.168.1.255
gateway: 192.168.1.1
server ip: 192.168.1.1
eth0 is connected to local network

eth1:
ip: 140.120.1.22
subnet: 255.255.0.0
broadcast: 140.120.1.255
gateway: 140.120.1.1
server ip: 140.120.1.1
eth1 is connected to another PC via cross cable

_________________________________________________________________
Hava durumunu bizden ögrenin ve evden öyle çikin! 
http://www.msn.com.tr/havadurumu/


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ECOS] eth0/eth1 problem
       [not found] ` <2a3305fe0705091549r4be8c382y2a79b57d1383cfc4@mail.gmail.com>
@ 2007-05-10  6:01   ` Mike Arthur
  2007-05-10 11:56     ` dogu cetin
  0 siblings, 1 reply; 3+ messages in thread
From: Mike Arthur @ 2007-05-10  6:01 UTC (permalink / raw)
  To: ecos-discuss

If you haven't figured out your problem yet, maybe you can give us
more info to help solve your problem.

Which platform are you using?  Is this an in house HAL?

Which ethernet driver(s) are you using?

Most drivers have debug messages.  Try looking in the source code to
figure out what macro you have to define to turn them on.

Which TCP/IP stack are you using?

What is your definition of doesn't work ( i.e. can't ping target while
running RedBoot, can't ping from RedBoot, can't ping while running
eCos application, etc.)?

Are you using the latest sources from CVS?

Mike



 On 5/4/07, dogu cetin <dogucetin@hotmail.com> wrote:
>  Hi,
>
> We have our own board which has two ethernet ports. If I configure ecos to
> use only eth0, it works. Similarly it works for eth1. However if I configure
> ecos to use both eth0 and eth1 at the same time. I can access the board via
> eth1 only. IP settings of interfaces are given below. Why doesn't eth0 and
> eth1 work together? is there any idea?
>
> Thanks,
> Dogu
>
> eth0:
> ip: 192.168.1.22
> subnet:  255.255.255.0
> broadcast: 192.168.1.255
> gateway: 192.168.1.1
> server ip: 192.168.1.1
> eth0 is connected to local network
>
> eth1:
> ip: 140.120.1.22
> subnet: 255.255.0.0
> broadcast: 140.120.1.255
> gateway: 140.120.1.1
> server ip: 140.120.1.1
> eth1 is connected to another PC via cross cable
>
> _________________________________________________________________
> Hava durumunu bizden ögrenin ve evden öyle çikin!
> http://www.msn.com.tr/havadurumu/
>
>
> --
> Before posting, please read the FAQ:  http://ecos.sourceware.org/fom/ecos
> and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
>
>

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ECOS] eth0/eth1 problem
  2007-05-10  6:01   ` Mike Arthur
@ 2007-05-10 11:56     ` dogu cetin
  0 siblings, 0 replies; 3+ messages in thread
From: dogu cetin @ 2007-05-10 11:56 UTC (permalink / raw)
  To: arth2219, ecos-discuss


thanks a lot for your interest, i found the problem and it works properly 
now ...

Dogu


>From: "Mike Arthur" <arth2219@gmail.com>
>To: ecos-discuss@ecos.sourceware.org
>Subject: Re: [ECOS] eth0/eth1 problem
>Date: Wed, 9 May 2007 17:50:48 -0500
>
>If you haven't figured out your problem yet, maybe you can give us
>more info to help solve your problem.
>
>Which platform are you using?  Is this an in house HAL?
>
>Which ethernet driver(s) are you using?
>
>Most drivers have debug messages.  Try looking in the source code to
>figure out what macro you have to define to turn them on.
>
>Which TCP/IP stack are you using?
>
>What is your definition of doesn't work ( i.e. can't ping target while
>running RedBoot, can't ping from RedBoot, can't ping while running
>eCos application, etc.)?
>
>Are you using the latest sources from CVS?
>
>Mike
>
>
>
>On 5/4/07, dogu cetin <dogucetin@hotmail.com> wrote:
>>  Hi,
>>
>>We have our own board which has two ethernet ports. If I configure ecos to
>>use only eth0, it works. Similarly it works for eth1. However if I 
>>configure
>>ecos to use both eth0 and eth1 at the same time. I can access the board 
>>via
>>eth1 only. IP settings of interfaces are given below. Why doesn't eth0 and
>>eth1 work together? is there any idea?
>>
>>Thanks,
>>Dogu
>>
>>eth0:
>>ip: 192.168.1.22
>>subnet:  255.255.255.0
>>broadcast: 192.168.1.255
>>gateway: 192.168.1.1
>>server ip: 192.168.1.1
>>eth0 is connected to local network
>>
>>eth1:
>>ip: 140.120.1.22
>>subnet: 255.255.0.0
>>broadcast: 140.120.1.255
>>gateway: 140.120.1.1
>>server ip: 140.120.1.1
>>eth1 is connected to another PC via cross cable
>>
>>_________________________________________________________________
>>Hava durumunu bizden ögrenin ve evden öyle çikin!
>>http://www.msn.com.tr/havadurumu/
>>
>>
>>--
>>Before posting, please read the FAQ:  http://ecos.sourceware.org/fom/ecos
>>and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
>>
>>
>
>--
>Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
>and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
>

_________________________________________________________________
En etkili ve güvenilir PC Korumayi tercih edin, rahat edin! 
http://www.msn.com.tr/security/


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-05-10  6:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-04  9:44 [ECOS] eth0/eth1 problem dogu cetin
     [not found] ` <2a3305fe0705091549r4be8c382y2a79b57d1383cfc4@mail.gmail.com>
2007-05-10  6:01   ` Mike Arthur
2007-05-10 11:56     ` dogu cetin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).