WD Mycloud

New to EndeavourOS, and have a query.
Has anyone successfully added a WD Mycloud device into the file manager as a mapped drive?

Currently using XFCE desktop, so Thunar, but would happily install something else if required.

Only things I have found give a method with windows, and I’ve used it on a windows box (but no more)

I can access via a web browser, but would prefer to get to it via a file manager

Any suggestions gratefully received.

TIA

I have not yet set up my WD with EOS, but https://wiki.archlinux.org/title/samba#Automatic_mounting should be a good starting point.

Just make sure you activate Samba access in the WD Mycloud root interface (i.e. through the web browser interface).

I have mine mapped, I use a script:

#!/bin/zsh

while ! ping -c 1 -W 1 www.google.com; do
   echo "Waiting for network....."
   sleep 1
done

echo `date` >> mwd.log

sudo mount -t cifs -o rw,guest,vers=3.0,file_mode=0777,dir_mode=0777 //192.168.x.xx/<wduser1> /media/<mntpoint>/
sleep 2
<Rest of script....>

Replace IP, mntpoint and wduser1 with the appropriate values.

Edit due to a mistake!!

I have have one my cloud device on my network and I mount it like this using fstab

//192.123.4.123/Public /mnt/honeyspot cifs uid=<myusername>,credentials=/home/<myusername>/credentials/.smbcredentials,iocharset=utf8,uid=1000,gid=1000,noperm,rw,vers=3.0,noauto,x-systemd.automount,x-systemd.after=network-online.target 0 0

credential part points the text file that has username and password required to my drive