Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Solved: Cannot connect NAS
#4
Thanks for replying, but I am not adding those two forward slashes in the interface. They must be added in code, as they only appear in the error log. I have tried every combination of server name and IP in the web gui. I can see from the debug log which names aren't connecting, and which ones are generating permission denied.

I just SSH'd into the Pi running moOde and tried to run that command manually :
mount -t cifs "//192.168.1.50/mynas" -o username="daniel",password="12345678",rsize=61440,wsize=65536,iocharset=utf8,vers=3.1.1,ro,noserverino,cache=none,dir_mode=0777,file_mode=0777 "/mnt/NAS/mynas"
I needed to use mkdir to make the dir, but then it failed with :
mount.cifs: permission denied: no match for /mnt/NAS/mynas found in /etc/fstab

So I wonder if the permission issue is local to the Pi, rather than at the Samba end. I removed that one revalidate flag, and I am now getting no errors at the Samba end. I even uninstalled Samba completely from my server, reinstalled it, and reconfigured it. All the other services can see the share, but moOde can't. It could of course still be something at the Samba end, but I'm not sure what else I can try there.
Reply


Messages In This Thread
Cannot connect NAS - by pagandan - 03-28-2025, 07:14 AM
RE: Cannot connect NAS - by pagandan - 03-28-2025, 09:12 AM
RE: Cannot connect NAS - by Tim Curtis - 03-28-2025, 09:13 AM
RE: Cannot connect NAS - by pagandan - 03-28-2025, 11:42 AM
RE: Cannot connect NAS - by Tim Curtis - 03-28-2025, 01:48 PM
RE: Cannot connect NAS - by pagandan - 03-28-2025, 11:46 AM
RE: Cannot connect NAS - by TheOldPresbyope - 03-28-2025, 01:09 PM
RE: Cannot connect NAS - by pagandan - 03-28-2025, 02:00 PM
RE: Cannot connect NAS - by pagandan - 03-28-2025, 02:17 PM
RE: Cannot connect NAS - by pagandan - 03-28-2025, 02:23 PM
RE: Cannot connect NAS - by Tim Curtis - 03-28-2025, 04:46 PM
RE: Cannot connect NAS - by TheOldPresbyope - 03-28-2025, 05:01 PM
RE: Cannot connect NAS - by TheOldPresbyope - 03-28-2025, 03:03 PM
RE: Cannot connect NAS - by pagandan - 03-28-2025, 03:42 PM
RE: Cannot connect NAS - by pagandan - 03-28-2025, 04:18 PM
RE: Cannot connect NAS - by pagandan - 03-28-2025, 05:43 PM
RE: Cannot connect NAS - by TheOldPresbyope - 03-28-2025, 06:40 PM

Forum Jump: