If I type in my address smb://NIKSHOME it works, but when I want to add my music to Elisa there is no option to add the address by typing it out.
On other distros I could use the NAS drive without any problems.
I wondered if this is due to the built in firewall?
I have tried changing things in it to try and connect to the NAS drive the normal way but without any luck
NIK
dalto
July 15, 2022, 6:59pm
#2
Elisa uses a database. If you want Elisa to use an SMB location as part of the library which it scans with baloo, I would recommend mounting it in /etc/fstab
No, the firewall only blocks incoming connections
As a fairly newbe to this how do I mount it to /etc/fstab ?
dalto
July 15, 2022, 7:26pm
#4
The simplest way is like this:
//servername/sharename /path/to/mount/share cifs x-systemd.automount,x-systemd.idle-timeout=1min,rw,uid=1000,gid=1000,username=myuser,password=mypass,iocharset=utf8,vers=2.0 0 0
It is more secure to use a credentials file, like this:
//servername/sharename /path/to/mount/share cifs x-systemd.automount,x-systemd.idle-timeout=1min,rw,uid=1000,gid=1000,credentials=/etc/samba/private/mycreds.cred,iocharset=utf8,vers=2.0 0 0