Not possible to access my NAS with SMB

Hi everyone,

With Dolphin I’d like to access to my NAS Synology on my local network. I tried to do it 2 different ways :

  • I clicked on “network”, “shared files (SMB)” and then “Synology”. Instead of connection window where I can enter my login and password, I have an error message : “Internal error.
    Please submit a full bug report to https://bugs.kde.org
    Unknown error condition: [38] Function not implemented
  • I right-clicked on the left column to add an entry and I specified the path “smb://192.168.1.67” wich is the IP address of my NAS. I had the same error.

It seems that smb and smbclient are enabled.
Can you help me to understand what is going wrong and how to solve it ?

Here it is the garuda inxi return :

System:
Kernel: 6.12.10-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 14.2.1
clocksource: tsc avail: hpet,acpi_pm
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=1bf0e5da-0620-4a3d-aad4-2cd3ae74bf23 rw rootflags=subvol=@
quiet resume=UUID=a1a2afb2-5b62-4491-a8b0-98ed4bbc1678 loglevel=3 ibt=off
Desktop: KDE Plasma v: 6.2.5 tk: Qt v: N/A info: frameworks v: 6.10.0
wm: kwin_wayland vt: 1 dm: SDDM Distro: Garuda base: Arch Linux
Machine:
Type: Desktop System: ASRock product: Z790 PG Lightning/D4 v: N/A
serial: <superuser required>
Mobo: ASRock model: Z790 PG Lightning/D4 serial: <superuser required>
uuid: <superuser required> UEFI: American Megatrends LLC. v: 9.01
date: 10/13/2023
Battery:
Device-1: hidpp_battery_0 model: Logitech ERGO M575 Trackball
serial: <filter> charge: 35% rechargeable: yes status: discharging
CPU:
Info: model: Intel Core i5-14600K bits: 64 type: MST AMCP arch: Raptor Lake
gen: core 14 level: v3 note: check built: 2022+ process: Intel 7 (10nm)
family: 6 model-id: 0xB7 (183) stepping: 1 microcode: 0x12B
Topology: cpus: 1x dies: 1 clusters: 8 cores: 14 threads: 20 mt: 6 tpc: 2
st: 8 smt: enabled cache: L1: 1.2 MiB desc: d-8x32 KiB, 6x48 KiB; i-6x32
KiB, 8x64 KiB L2: 20 MiB desc: 6x2 MiB, 2x4 MiB L3: 24 MiB desc: 1x24 MiB
Speed (MHz): avg: 1100 min/max: 800/5300:4000 scaling:
driver: intel_pstate governor: powersave cores: 1: 1100 2: 1100 3: 1100
4: 1100 5: 1100 6: 1100 7: 1100 8: 1100 9: 1100 10: 1100 11: 1100 12: 1100
13: 1100 14: 1100 15: 1100 16: 1100 17: 1100 18: 1100 19: 1100 20: 1100
bogomips: 139776
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities: <filter>
Graphics:
Device-1: NVIDIA AD106 [GeForce RTX 4060 Ti] vendor: Gigabyte driver: nvidia
v: 565.77 alternate: nouveau,nvidia_drm non-free: 550/565.xx+
status: current (as of 2025-01) arch: Lovelace code: AD1xx
process: TSMC n4 (5nm) built: 2022+ pcie: gen: 4 speed: 16 GT/s lanes: 8
ports: active: none off: DP-2 empty: DP-1,HDMI-A-1,HDMI-A-2
bus-ID: 01:00.0 chip-ID: 10de:2803 class-ID: 0300
Display: wayland server: X.org v: 1.21.1.15 with: Xwayland v: 24.1.4
compositor: kwin_wayland driver: X: loaded: nvidia unloaded: modesetting
alternate: fbdev,nouveau,nv,vesa gpu: nvidia,nvidia-nvswitch display-ID: 0
Monitor-1: DP-2 model: LG (GoldStar) ULTRAGEAR serial: <filter>
built: 2024 res: mode: 2560x1440 hz: 180 scale: 100% (1) dpi: 109 gamma: 1.2
size: 597x336mm (23.5x13.23") diag: 685mm (27") ratio: 16:9 modes:
max: 2560x1440 min: 640x480
API: EGL v: 1.5 hw: drv: nvidia platforms: device: 0 drv: nvidia gbm:
drv: nvidia surfaceless: drv: nvidia wayland: drv: nvidia x11: drv: nvidia
API: OpenGL v: 4.6.0 vendor: nvidia v: 565.77 glx-v: 1.4
direct-render: yes renderer: NVIDIA GeForce RTX 4060 Ti/PCIe/SSE2
memory: 15.62 GiB display-ID: :1.0
API: Vulkan v: 1.4.303 layers: 7 device: 0 type: discrete-gpu name: NVIDIA
GeForce RTX 4060 Ti driver: N/A device-ID: 10de:2803
surfaces: xcb,xlib,wayland
Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo
de: kscreen-console,kscreen-doctor gpu: corectrl, nvidia-settings,
nvidia-smi wl: wayland-info x11: xdpyinfo, xprop, xrandr
Audio:
Device-1: Intel Raptor Lake High Definition Audio vendor: ASRock
driver: snd_hda_intel v: kernel alternate: snd_soc_avs,snd_sof_pci_intel_tgl
bus-ID: 00:1f.3 chip-ID: 8086:7a50 class-ID: 0403
Device-2: NVIDIA AD106M High Definition Audio vendor: Gigabyte
driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 8
bus-ID: 01:00.1 chip-ID: 10de:22bd class-ID: 0403
API: ALSA v: k6.12.10-zen1-1-zen status: kernel-api with: aoss
type: oss-emulator tools: N/A
Server-1: PipeWire v: 1.2.7 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
Device-1: Realtek RTL8125 2.5GbE vendor: ASRock driver: r8169 v: kernel
pcie: gen: 2 speed: 5 GT/s lanes: 1 port: 3000 bus-ID: 04:00.0
chip-ID: 10ec:8125 class-ID: 0200
IF: enp4s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Info: services: NetworkManager, smbd, systemd-timesyncd
Drives:
Local Storage: total: 931.51 GiB used: 24.91 GiB (2.7%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: SSD 990 PRO 1TB
size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s
lanes: 4 tech: SSD serial: <filter> fw-rev: 4B2QJXD7 temp: 31.9 C
scheme: GPT
Partition:
ID-1: / raw-size: 337.36 GiB size: 337.36 GiB (100.00%)
used: 24.91 GiB (7.4%) fs: btrfs dev: /dev/nvme0n1p7 maj-min: 259:7
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
used: 584 KiB (0.2%) fs: vfat dev: /dev/nvme0n1p6 maj-min: 259:6
ID-3: /home raw-size: 337.36 GiB size: 337.36 GiB (100.00%)
used: 24.91 GiB (7.4%) fs: btrfs dev: /dev/nvme0n1p7 maj-min: 259:7
ID-4: /var/log raw-size: 337.36 GiB size: 337.36 GiB (100.00%)
used: 24.91 GiB (7.4%) fs: btrfs dev: /dev/nvme0n1p7 maj-min: 259:7
ID-5: /var/tmp raw-size: 337.36 GiB size: 337.36 GiB (100.00%)
used: 24.91 GiB (7.4%) fs: btrfs dev: /dev/nvme0n1p7 maj-min: 259:7
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
ID-1: swap-1 type: zram size: 15.36 GiB used: 0 KiB (0.0%) priority: 100
comp: zstd avail: lzo-rle,lzo,lz4,lz4hc,deflate,842 max-streams: 20
dev: /dev/zram0
ID-2: swap-2 type: partition size: 7.81 GiB used: 0 KiB (0.0%)
priority: -2 dev: /dev/nvme0n1p5 maj-min: 259:5
Sensors:
System Temperatures: cpu: 34.0 C mobo: N/A
Fan Speeds (rpm): N/A
Info:
Memory: total: 16 GiB note: est. available: 15.36 GiB used: 3.3 GiB (21.5%)
Processes: 398 Power: uptime: 25m states: freeze,mem,disk suspend: deep
avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
suspend, test_resume image: 6.09 GiB services: org_kde_powerdevil,
power-profiles-daemon, upowerd Init: systemd v: 257 default: graphical
tool: systemctl
Packages: pm: pacman pkgs: 1912 libs: 570 tools: octopi,paru Compilers:
clang: 19.1.7 gcc: 14.2.1 Shell: garuda-inxi default: fish v: 3.7.1
running-in: konsole inxi: 3.3.37
Garuda (2.6.26-1.1):
System install date:     2025-01-23
Last full system update: 2025-01-23
Is partially upgraded:   No
Relevant software:       snapper NetworkManager dracut nvidia-dkms
Windows dual boot:       Probably (Run as root to verify)
Failed units:

Thanks in advance

Did you search in forum?
IIRC there was a solved thread about.
Check

systemctl status smbd.service

Or try just sftp://192.168.1.67

2 Likes

Do you have kdenetwork-filesharing installed?
https://wiki.archlinux.org/title/File_manager_functionality#Networks
(optional dependency of Dolphin)

4 Likes

I’ve searched the forum but the solutions I found didn’t work for me.
The command ‘sudo systemctl status smbd.service’ returns ‘Unit smbd.service could not be found’.
When I try to connect to sftp://192.168.1.67 in Dolphin, I get a “Connection refused” error. I’m not prompted for my credentials.

I didn’t have kdenetwork-filesharing installed before. I just installed it and restarted my computer, but the problem persists.

https://wiki.archlinux.org/title/NFS

2 Likes

You might have to add it via fstab an make a folder in /mnt i had to do it for a prebuilt nas a few years back. I’ll try an find the guide it wont be for your model but you can infer from it.

Edit:
Don’t follow it verbatim but it should point you in the right direction.

1 Like

Please tell us what exactly you tried.

Check that the required ports are open in your firewall.
Check that you have samba AND samba-support installed.
Check that the smb.conf is present and the configuration is correct.

Post the output of:

systemctl status smb.service

and:

systemctl status nmb.service
2 Likes

I have a Synology NAS on my network with a static IP address also NFSv4.1 protocol. Also a Windows Media Server and a Linux Media Server. Check on your NAS drive that you have under File Service - SMB Settings - ‘Enable SMB Service’ checked.
On the Linux Media Server added in /etc/fstab (edit with your NAS data):

190.170.2.101:/volume1/media_data /mnt/myfiles nfs4 x-systemd.automount,x-systemd.device-timeout=10,timeo=14,x-systemd.idle-timeout=1min 0 0

Then:

cd /mnt
sudo mkdir myfiles
sudo systemctl daemon-reload
sudo mount -a

Don’t forget to reload the daemon after modifying /etc/fstab.
I also have the smb.service and nmb.service enabled on the Linux Media Server.

Note, the NAS drive goes to sleep with inactivity. When I boot my Linux Media Server, there is delays in the desktop becoming fully active. It’s waiting for the NAS drive to wake up to be automounted (if already awake, no delays).

1 Like

I’m unsure which ports to open in my firewall. I can’t find the specific port for the SMB protocol on my NAS.
Both samba and samba-support are installed.
The smb.conf file exists, but I can’t tell if the configuration is correct. I’m not proficient in this area.

Here’s the output of systemctl status smb.service :

smb.service - Samba SMB Daemon
Loaded: loaded (/usr/lib/systemd/system/smb.service; enabled; preset: disabled)
Active: active (running) since Sat 2025-01-25 10:33:11 CET; 20min ago
Invocation: bdb619d273e546c5af218524a51ecdb8
Docs: man:smbd(8)
man:samba(7)
man:smb.conf(5)
Main PID: 3222 (smbd)
Status: "smbd: ready to serve connections..."
Tasks: 3 (limit: 18650)
Memory: 8.9M (peak: 11.6M)
CPU: 51ms
CGroup: /system.slice/smb.service
├─3222 /usr/bin/smbd --foreground --no-process-group
├─3225 "smbd: notifyd "
└─3226 "smbd: cleanupd"

janv. 25 10:33:11 LiamGaming systemd[1]: Starting Samba SMB Daemon...
janv. 25 10:33:11 LiamGaming smbd[3222]: [2025/01/25 10:33:11.758981,  0] ../../source3/smbd/server.c:1965(main)
janv. 25 10:33:11 LiamGaming smbd[3222]:   smbd version 4.21.3 started.
janv. 25 10:33:11 LiamGaming smbd[3222]:   Copyright Andrew Tridgell and the Samba Team 1992-2024
janv. 25 10:33:11 LiamGaming systemd[1]: Started Samba SMB Daemon.

Here’s the output of systemctl status nmb.service :

nmb.service - Samba NMB Daemon
Loaded: loaded (/usr/lib/systemd/system/nmb.service; enabled; preset: disabled)
Active: active (running) since Sat 2025-01-25 10:33:11 CET; 22min ago
Invocation: 64a8076f818b4302800e382c6dd97165
Docs: man:nmbd(8)
man:samba(7)
man:smb.conf(5)
Main PID: 3218 (nmbd)
Status: "nmbd: ready to serve connections..."
Tasks: 1 (limit: 18650)
Memory: 3.6M (peak: 4.4M)
CPU: 41ms
CGroup: /system.slice/nmb.service
└─3218 /usr/bin/nmbd --foreground --no-process-group

janv. 25 10:33:11 LiamGaming systemd[1]: Starting Samba NMB Daemon...
janv. 25 10:33:11 LiamGaming nmbd[3218]: [2025/01/25 10:33:11.739738,  0] ../../source3/nmbd/nmbd.c:901(main)
janv. 25 10:33:11 LiamGaming nmbd[3218]:   nmbd version 4.21.3 started.
janv. 25 10:33:11 LiamGaming nmbd[3218]:   Copyright Andrew Tridgell and the Samba Team 1992-2024
janv. 25 10:33:11 LiamGaming systemd[1]: Started Samba NMB Daemon.

137, 138, 139 and 445.

If it exists, then it is the standard config and should work without issues.

This is all correct, Samba is running.

If the suggestions given here do not help you, please read this: Samba - ArchWiki

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.