> 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