I've just completed setting up my RPi (model B) with a Realtek WIFI adaptor, and assigned it a static local IP.
After I verified that I had a connection to the internet (checking assigned IP from
ifconfig and using
ping www.google.com), I tried connecting to my RPi, from my laptop, via
It always failed with an error
no route to host.
I then connected from my RPi to my laptop via
ssh and then exited. Now, I can connect successfully from my laptop to my RPi!
This thing, happens again with my Desktop PC (running Ubuntu) with which I am getting the same error as before.
My question is why does this happen?
Why do I have to connect from my RPi to a device via
ssh, so as to be able to connect from that device (after this "hand-shake") to my RPi?
Adding more info on my network:
- The desktop PC is connected directly to the router
- I have installed a TP Link powerline adaptor that supports a WIFI network, as well
- My laptop, my mobile and the RPi are connected to the powerline WIFI network
I've changed the device that I had the problem as it is the same - had my mobile phone and changed it with my desktop PC.