I use it headless and have no problem with ssh from my MacBook.
But today ...
When I try "ssh pi@192.168.0.172" or per ethernet-cable with "ssh pi@raspberrypi.local" there is shown:
Code: Select all
write: Software caused connection abort
Code: Select all
packet_write_poll: Connection to 192.168.0.172 port 22: Software caused connection abort
In the morning I took my sd card to my macbook and with "sudo dd if=/dev/disk2 | gzip > rpi-sd-20171126.gz" I made a backup. Before I tried "speaking" with
Code: Select all
sudo apt-get install espeak
sudo apt-get install alsa-tools alsa-utils
alsactl init
What does the error mean?
How can I solve it?
Do I have to rebuild my system?
Did I made the backup the wrong way?
Where do I maybe find a log file with some more information about the error?
Thanks for your help!
P.S. With "ping" there is a connection to the IP address. And sometimes it works by IP or local.
P.P.S. After trying "espeak" I wanted to get my IP Adress spoken with Python:
Code: Select all
import socket
host_name = socket.gethostname()
host_ip = socket.gethostbyname(host_name)
Code: Select all
ssh_exchange_identification: read: Connection reset by peer