I'm using ubuntu 12.04 and I have a raspberrypi 2.Firstly, I download raspbian-jessie Raspbian Jessie.Then I download my OS on an sd-card following these instructions Installing operating system images on Linux After that I edited the file interfaces located in /path/to/sdcard/etc/network and I added these instructions:
auto eth0 iface eth0 inet static address 192.168.1.8 netmask 255.255.255.0 gateway 192.168.1.254 network 192.168.1.0 broadcast 192.168.1.255
in ubuntu I try to configure a network to communicate a pc with raspberrypi :
Then I created a new connection, in the IPV4 settings I chosed Manual method then I added :
192.168.1.8 for the raspberrypi 192.168.1.7 for the pc
the I put the sd-card on the raspberrypi and I plug the usb cable to the pc added to that ethernet cable after.After waiting some time I run this command:
But when I put such a password:raspberry I got:
permission denied,please try again.
What password should I enter to it and How can I know the password of ssh?