MacOS also now cannot find the disk and OpenWRT is not listed under Network. It seems Samba has stopped working. What should I do? I am giving up until tomorrow. This is very dispiriting, it was at least working earlier although I had partitioned the drive incorrectly, now, it’s as if samba has just broken.
Setting up NAS on this router has been such a difficult and impossible task with no success after so many attempts and so many issues, I think I am just going to buy a consumer NAS server, plug and play!
Ok I installed both those packages and tried to connect to my router using Cyberduck, connection failed. It also has not made the disk visible in the network or allowed connection to it.
CIFS looks too complicated for me, I don't want to try it and mess up the router. I think I am going to give up and buy a NAS drive and just plug it in.
The guide says that CIFS does not work with LUCI? It seems a lot of the documentation is out of date. Do I have to uninstall Samba to install CIFS? How do I install CIFS, if the guide is out of date?
Edit: Through LUCI I installed cifsd (called Samba4-client). Was that it? It hasn't made any difference, still can't find the drive.
than just install the luci-app-samba4 and wsdd2 package
Than just config your share and leave everything at defaults for now. If you can see the share in windows, but not write to it, enable the Force Root option on the share.
PS: Atm i only recommend ksmbd as a samba drop-in replacement, if you run snapshot based builds/firmeware.
Ok did this. OpenWrt now appears under Network, however, I cannot access it by clicking on it and I still cannot access the drive at \192.168.x.x\NAS
Error: 0x80070035
The network path was not found.
Network diagnostics: the remote device or resource won’t accept the connection. The device or resource (OpenWrt) is not set up to accept connections on port “The File and printer sharing (SMB)”.
Also to note: since reinstall the Samba Template is now blank.
Ok cannot find any daemon.err smbd entries, did notice it said samba4 was in a crash loop at 2.30pm. I’ve tried copy pasting into the samba template but I cannot save and apply, it says, permission denied. The template I pasted in does not save. @Andy2244
WRT32x. Ok well I could reflash the firmware but I’m not going to do that today. This would be the second reflash for samba, it seems not to like my router.
cifsd is actually called ksmbd-server, my mind slipped ....
I just upgraded my router to 19.07.5, and had to redo the installation.
Installed ksmbd-server, which pulled a ton of dependencies.
Added luci-app-ksmbd. and that's it.
Needed the block device specific modules, like kmod-scsi-core
and kmod-usb-core. Plus file system pack(ages), in my case ntfs-3g.
That's enough to mount the flash drive, and after making the config in
services->network shares have the device accessible in win10 using
\\192.168.x.y\sharename