This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Fwd: Re: install ecos on debian 1.3.3.5
- From: Andrew Lunn <andrew at lunn dot ch>
- To: mirko massignani <mirko dot massignani at gmail dot com>
- Cc: eCos Disuss <ecos-discuss at ecos dot sourceware dot org>
- Date: Wed, 13 Sep 2006 17:11:35 +0200
- Subject: [ECOS] Re: Fwd: [ECOS] Re: install ecos on debian 1.3.3.5
- References: <1df235e50609080714o40fda377g5acffe800d7a6b71@mail.gmail.com> <4501A47D.1010003@eCosCentric.com> <20060908172151.GC30345@lunn.ch> <1df235e50609110703x21cdef28x17602f971209139d@mail.gmail.com> <1df235e50609110706k3f0c6733s4c368e7f08b156ab@mail.gmail.com>
> I have an application composed from two modules, transmitter on ecos e
> receiver on linux, the receiver connect to the socket and transmitter makes
> the accept, but when application arrives to this point of execution the two
> modules do not comunicate and errors do not return, only connect :
> Connection timed out.
>
> I use ethertap and my /etc/network/interfaces is:
>
> # The loopback network interface
> auto lo
> iface lo inet loopback
> address 127.0.0.1
> netmask 255.0.0.0
>
> # The primary network interface
> auto eth0
> iface eth0 inet dhcp
>
> auto tap0
> iface tap0 inet static
> address 192.168.1.1
> netmask 255.255.255.0
> broadcast 192.168.1.255
> network 192.168.1.0
>
> and in my file.ecc
>
> ip address for eth0 192.168.1.2
> networkmask 255.255.255.0
> broadcast address 192.168.1.255
> gateway/router ip address 192.168.1.1
> server ip address 192.168.1.101
What do you have in the ethernet.tdf file? You need something like:
eth0 ethertap tap0 00:FE:42:63:84:A5
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss