Allo
I had some power shortages recently that (most likely) caused samba to stop working.
samba --version shows version 4.9.5-debian
I am connecting from Win10. When I try "Add network drive", type the RPI's IP and hit browse, I can see the user's "pi" folder, and the actual samba folder I called "share" -->
I can browse the pi folder, but the share folder says the same thing when trying to access the alrady added and previously working network drive, "Windows cannot access the network folder, check name"
The drive sometimes requests password of user "pi"
Config for the "share" folder is
[share]
Comment=Ostruzina
Path = /media/pi/NAS/Data
Browseable = yes
Writeable = yes
only guest = no
create mask = 0777
directory mask = 0777
Public = yes
Guest ok = yes
All google answers are "how to set up samba", so, I have no idea where even start but here
Thanks in advance :)
sudo touch /forcefsck
then reboot - not shutdown thensudo rm /forcefsck
). This may stop the Pi running if the card is too bad...sudo chown -R pi:pi /media
- then disconnect the Windows Machine from the Pi (I used to use net use /disconnect but that's Win 7 DOS - no idea on 10) and then reconnect. One minor bit - I normally use /media for CD drives and /mnt for disk drives ('twas the way I was taught no other reason but it helps me remember what is where).