Don't see Nas in network via SMB

Hi, in other distros, I would click on network/SMB and my nas would just show up, I could access files, etc. New install of Endeavour and it doesn’t show. I installed Samba. Does something need to be turned on. I had no idea I had to turn on Bluetooth and that gave me a headache until I figured that out. Do I need to turn on SMB? How can I access my nas? I just want to click network/smb and have it show up.

p.s. I installed Samba and tried to start the service and got this:
[dan@dan-x570taichi ~]$ sudo systemctl start smb.service
Job for smb.service failed because the control process exited with error code.
See “systemctl status smb.service” and “journalctl -xeu smb.service” for details.

A little over my head. Any help is appreciated.
Thanks.

What desktop environment are you using @xa3phod?

Just to check it’s connecting, do you get a listing of shares if you run this command (replace hostname with the IP address of your NAS)?

smbclient -L hostname -U%

You could also try this to test, as it auto-discovers via broadcast:

smbtree -N

I’m using KDE. On my other pc with Kubuntu (which is KDE) it find my Nas through SMB right away. I know Endeavor requires you to manually start some services.

In Dolphin (the file explorer), try entering this address in the location bar, replacing hostname with your NAS’ IP:

smb://hostname

I think my Samba is borked.

My other pc with Kubuntu finds my NAS right away. What am I missing?

Have you set the firewall to allow samba to connect.

If it’s failing, what’s the output of these commands? That might provide some pointers.

Never had to do that before, so no. Is that automatic in Kubuntu?

If you’re able to connect using SMB from Kubuntu, I doubt it’s related to a firewall on the NAS if you haven’t explicitly set something up there.

The firewall on your PC is also unlikely to be blocking access to that, again unless you’ve set up something explicitly.

I just installed Endeavour, the only thing I’ve done is start the Bluetooth service, and install Steam and Lutris. That’s it. I wish there was documentation for Endeavour for the things you need to do first.

@xa3phod, I haven’t set up the SMB client on my system, so when I run for example, smbtree -N , I get an error.

smbtree -N
Can't load /etc/samba/smb.conf - run testparm to debug it
smbc_setConfiguration: No such file or directory

I was hoping you might be able to share your output so we can take next steps.

For example, if that file doesn’t exist (such as the case with mine), we might:

sudo touch /etc/samba/smb.conf

Then try again.

This is in keeping with the guide in the Arch Wiki for Samba:

smbclient requires a /etc/samba/smb.conf file (see #Installation), which you can create as an empty file using the touch utility.