1

I am following this tutorial :

http://www.widriksson.com/raspberry-pi-hadoop-cluster/

I am using Raspberry Pi 3. When I tried to test SSH connection same like the tutorial, I am getting:

ssh: connect to host hadoopmaster port 22: No route to host

Also I don't know if the file /etc/network/interfaces is the right file to put my network configuration :

iface eth0 inet static
address 192.168.0.110
netmask 255.255.255.0
gateway: 192.168.0.1

because It is empty and when I put the IPs in it, I can't connect to wifi anymore.

I tried also to put the static IP cofiguration inside /etc/dhcpcd.conf and I am getting the same above error when I try to open ssh connection.

I also added a host name and IP to /etc/hosts , which is not mentioned in the tutorial, but nothing worked.

enter image description here

Ali Zuhair
  • 11
  • 3

2 Answers2

1

There shouldn't be a colon : after gateway. Apart from that, you might be bothered by case sensitivity. You're connecting to hadoopmaster, but specified hadoopMaster.

88weighed
  • 875
  • 6
  • 17
0

Try to SSH locally from the same machine to verify that whether the ssh service is running.

Looks like you are trying to communicate over wifi and you are setting your network configuration for ethernet.

Also as @88weighed pointed out the : and case sensitivity.

Hope that helps