The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Thank you for your donation!


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


Solved: Cannot connect NAS
#1
No matter what I try I cannot connect my NAS in moOde (it works with Jellyfin, AudioBookshelf, and other services and in Windows/Linux). It is a Samba share running on an Ubuntu server managed by Webmin. The scan didn't find it, but by entering the IP a connection was attempted but permission was denied. After reading some other forum posts here I realised that issue could be with my Samba settings, specifically the protocol level. So I edited my global samba config file to add  'min protocol = SMB3_11'. I restarted samba and the scan now finds my server/NAS, but still only connected when using the IP address. So progress, but I am still getting permission denied.


Quote:20250328 085204 worker: Try (mount -t cifs "//FORNAX/mynas" -o username="daniel",password="12345678",rsize=61440,wsize=65536,iocharset=utf8,ro,noserverino,cache=none,dir_mode=0777,file_mode=0777 "/mnt/NAS/mynas")
20250328 085204 worker: Err (mount error: could not resolve address for FORNAX: Unknown error)
--
20250328 085320 worker: Try (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")
20250328 085320 worker: Err (mount error(13): Permission denied


Please can anyone suggest anything else that I can try, either in moOde or in Samba. I have run out of ideas and I can't find anything else on the forums.

I am running 8.3.9 on Pi Zero W with a JustBoom Dac Zero hat. These is my samba config for Global and my NAS.


Code:
[global]
    passwd program = /usr/bin/passwd %u
    workgroup = WORKGROUP
    server role = standalone server
    wins support = true
    log file = /var/log/samba/log.%m
    unix password sync = yes
    max log size = 1000
    auto services = mynas
    passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
    logging = file
    os level = 20
    server string = Fornax
    panic action = /usr/share/samba/panic-action %d
    obey pam restrictions = yes
    pam password change = yes
    map to guest = bad user
    netbios name = fornax
    default = mynas
    usershare allow guests = yes
    min protocol = SMB3_11


[mynas]
    valid users = daniel
    revalidate = yes
    writeable = yes
    comment = mynas on fornax
    path = /mnt/mynas
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: