I am trying to access the files on my NAS within programs and so I want to mount the network share.
When using the line:
sudo mount -t cifs -o username=correctusername,password=correctpassword,sec=ntlm,vers=3.0 //192.168.0.9/home /home/pi/data
I get the error:
mount error(2): No such file or directory
I have tried different secs, different verss and different share names. I am not fully sure what share to use but I think it is home. The Synology NAS is set to use version 2 to version 3 of SMB.
I can access the drive in the file explorer (Openbox I think) under Go -> Network. After going through two password checks, the address bar shows this: smb://data.local/home on data.local
I have tried quite a few things but I don't have much familiarity with Linux. Looks like same problem (unsolved) as here: mount error(2): No such file or directory - CIFS - Rasperry Pi