Can not conect to SMB drive

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 :frowning:


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 ?

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

Just installed endeavor OS and ran into the same difficulties.
Yes, stopping firewalld did solve the problem.
A word about that : firewaling is great, but the defaults (very secure) are for geeks.
The welcome program should suggest a much weaker protection and suggest the newbies- such as I - to harden it step by step.
By the way, ufw seems much simpler and I’m not @home with firewalld…

First, welcome to the forum!

The defaults are pretty standard. firewalld and ufw(and almost every other network firewall) come with the same defaults. Let everything out, let nothing in. I don’t think we should be suggesting a less secure default.

firewalld is a much more modern solution with several advantages. However, if you prefer ufw, you can simply remove firewalld and install ufw.

1 Like