Hello folks,
I have two doubts relative raspbery pi (Raspbian Stretch Lite).
First is, when I power on and try access this machine through IP "ssh pi@192.168.100.1" I receive this message error: "ssh: connect to host 192.168.1.16 port 22: Connection refused". I need turn on monitor in RPI and run this command "sudo service ssh restart". There is way restart or start ssh service after boot system?
Secondly, when I configure fstab like this:
Code:
UUID=CC5dffdgdfgdfgddfg496A /media/folder auto defaults,uid=1000,gid=1000,umask=022 0 0
I can't write in /media/folder, I receive this message error:
Code:
$ ls -la /media/folder/
total 12
drwxr-xr-x 1 pi pi 4096 Sep 2 23:20 .
drwxr-xr-x 3 root root 4096 Sep 4 19:23 ..
drwxr-xr-x 1 pi pi 4096 Jun 28 08:39 System Volume Information
$ cd folder/
pi@raspberrypi:/media/folder $ ls
System Volume Information
pi@raspberrypi:/media/folder $ mkdir test
mkdir: cannot create directory 'test': Operation not permitted
Why this happen? But If I umount this drive I can write inside folder.
Thanks
Bookmarks