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: Synthetic Target Ethernet Driver


> Hi all,
> I'd like to use ethernet synthetic target driver.
> I created a tap device (called tap0) on my linux PC; its IP address is
> 10.1.1.1/24 (I used ifconfig command to verify the creation).I
> configured my eCos ethernet synthetic target driver with
> eth0=10.1.1.10/24 In the file
> .../packages/devs/eth/synth/ecosynth/v2_0/host/ethernet.tdf I have 
> connected the eCos eth0 with the tap device: synth_device ethernet {
> 
> eth0 ethertap tap0
> ....
> }
> 
> I have a client eCos application that it connects, via socket, on the
> 10.1.1.1:4444 IP address; on my Linux PC I have a server socket
> application that it listens on 4444 port.When my eCos application
> tries to connect, the connection fails.
> Where is my error?

can you ping your ecos app from linux?
does the server listen on inaddr_any?
how does the connection fail? show a tcpdump maybe?

-- 
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]