Hi,

Yes, I can ping both machines. I tried to close the firewall on my Windows machine but with no use.
I can telnet from the Linux machine to the windows machine over port 9001

Regards
islheg


----- Original Message ----- From: "Urs Hunkeler" <[EMAIL PROTECTED]>
To: "Islam Hegazy" <[EMAIL PROTECTED]>; <[email protected]>
Sent: Wednesday, May 30, 2007 12:32 AM
Subject: Re: [Tinyos-help] Linux client with Windows Server


Hi,

This sounds like you have either a firewall on the windows machine. Most
likely you have to somewhere allow connections to the serial forwarder
port(s). If you don't have a firewall or if you are sure that its
configured properly, try the following:

- Can you ping the windows machine from your linux machine? Often works
in spite of the firewall and shows that the network is ok. If it doesn't
work, it might be because of the firewall. Try the reverse (ping linux
from windows).

- Can you establish a connection with telnet?
 "telnet <ip of windows machine>:<port of server application>"

Cheers,
Urs


Islam Hegazy schrieb:
Hi all

I have a sensor network of mica2 motes. I use tinyos1.x. My base mote is connected to a Windows XP machine. I ran the SerialForwarder on the Windows machine that should accept client connections to send the collected data to them. If I write the client application under Windows, it will work correct. But if I write the client application under Linux, the client cannot connect to the server returning the error 'Connection timed out'. I use C++ and C# under Windows and C under Linux.

To make sure that my Linux client is correct, I wrote a server application under Linux and they worked correct. So I wonder why my Linux client doesn't want to connect to the SerialForwarder on the windows machine?


Regards
islheg

_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to