i have some problems connecting to my pi from my pc. i am using a ethernet cable to connect to my pi througg ssh. But my problem is that i cannot always stablish a connection. When i use arp -a in cmd i can sometimes see the ip adress for my pi but when i try to ping it it says host unreachable. i am not sure but i think it has something to do with my pc i am using windows 7. Can anyone help me. thanks

2 Answers 2


It could mean that you are pinging the wrong IP address. If you are using dhcp your router may well have allocated it a different IP address.

One way of finding out is to log into your router and see which IP addresses have been allocated. While you are there it is a good idea to give static addresses to any computers that are always at that location (assuming soho environment) Alternatively use a Windows command I think that one of these might do it:

netstat -f
nbtstat -c

From a Linux computer the command is:

nmap -sP

These should show a list of all computers on your network (assuming it is using as the network

If the computer in question does not show up reboot it. If it still does not show up it is most likely a hardware problem. Check the cables (substitute them if possible) and look at the lights on the router.

  • no i am not using a router i connect it directly to my pi. But i solved the problem it was my f**** firewall. Nov 23, 2013 at 17:05

Host unreachable would mean that either the Pi has frozen, or the Pi's ethernet interface has been taken down.

When the ping says host unreachable, plug a screen and keyboard into the Pi so you can run ifconfig to check the status of eth0

If eth0 is not UP or the Pi is frozen, that would be why you cannot ssh into the Pi.

  • what do you mean by frozen? Nov 23, 2013 at 14:36
  • Frozen, Crashed, Hung, Died, any number of terms to mean the Pi is non-responsive.
    – Lawrence
    Nov 23, 2013 at 14:40
  • It could just be the wrong IP address...
    – Wilf
    Nov 24, 2013 at 18:53
  • no it was my firewall blocking connections. Nov 24, 2013 at 21:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.