RPi4-No access to Raspberry Pi from Windows 10
Where is the problem?
Runnibg on: Raspberry Pi 4 (buster), USB3 disk attached with volume label USB2TB a 2 terabyte NTFS disk
Windows 10 Home, Version 1909, OS build 18363720
I followed the steps in this How To: https://raspberrytips.com/raspberry-pi-file-server/
These are the steps I took:
1-
sudo service ssh start
2-
sudo mkdir /media/pi/USB2TB
3-
sudo apt-get update
sudo apt-get upgrade
4-
sudo apt-get install samba
5- Windows 10: See if it's there, it is. \ \192.168.0.20
6-
sudo chmod 777 /media/pi/USB2TB
7-
sudo nano /etc/samba/smb.conf
To the end of the file I added;
[HenrikPi]
comment = RaspberryPi
public = yes
writeable = yes
browsable = yes
path = /media/pi/USB2TB
create mask = 0777
directory mask = 0777
8-
sudo service smbd restart
9-
Windows 10:
Opened the file explorer and typed this address
\ \192.168.0.20\HenrikPi
Windows 10 replied "canot access \ \192.168.0.20\HenrikPi ... Check spelling etc."
Where is the problem?
\192.168.0.20\HenrikPi
You need double backslash (\\) in front of the servername / IP address. I would also suggest you start usingsystemctl
commands, although that should not affect the result.