TransWikia.com

RPI samba stopped working

Raspberry Pi Asked by Poody on October 5, 2021

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" –> IP options

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 🙂

One Answer

Solved, the issue was not related to samba, sorry.

Somehow I had a folder called NAS created in /media/pi under the user "root". Maybe when the power went out, the external drive remounted badly. SO when it did remount correctly, the folder NAS was there twice, the correct one renamed to NAS1. Deleting the root one and remounting solved the issue.

Correct answer by Poody on October 5, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP