I have recently bought a Raspberry Pi 3 and trying to set up SSH with my MacBook. Although I have a good internet connection on both, I can't even ping my Raspberry Pi from my laptop or vice versa, let alone connect with SSH. I've already read countless similar questions and tried their answers, however nothing has worked.
First I tried to give both my MacBook and Raspberry Pi a static IP address, since I thought the problem might be that my router periodically changes the IP addresses. This did not help, although I was able to ping my laptop from the Raspberry (still not the other way around). Next thing I tried fiddling with
/etc/network/interfaces settings, no result either.
ifconfig gave me:
eth0 Link encap:Ethernet HWaddr b8:27:eb:ef:cd:5c inet6 addr: fe80::79d:4936:97e0:7549/64 Scope:Link UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:72 errors:0 dropped:0 overruns:0 frame:0 TX packets:72 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:6288 (6.1 KiB) TX bytes:6288 (6.1 KiB) wlan0 Link encap:Ethernet HWaddr b8:27:eb:ba:98:09 inet addr:192.168.178.69 Bcast:192.168.178.255 Mask:255.255.255.0 inet6 addr: fe80::ba27:ebff:feba:9809/64 Scope:Link inet6 addr: 2001:984:9021:1:ad53:7ed1:e2f8:a698/64 Scope:Global UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:2056 errors:0 dropped:1353 overruns:0 frame:0 TX packets:753 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:642898 (627.8 KiB) TX bytes:84266 (82.2 KiB)
I've also tried port forwarding to see if that was the issue (i.e. using port 55555 instead of port 22). When I try to ping my Raspberry Pi from my laptop I get the message
ping: sendto: Host is down
Confusing thing is both computers have access to the internet, can ping their own IP addresses and can ping the router, just not each other. Any ideas?