Fluff: Hi, I’m new to both linux and this specific OS, so please be patient with me and tell me the exact commands I need to run to give you help
I can’t access my sambashare, but I’ve been able to on my windows laptop and also my old linuxmint system. Nothing has changed since then, so I need a bit of help setting it up on this device.
I’ve looked at other posts here but I’ve gotten confused. In this one it mentions editing /etc/nsswitch.conf but when I look in that file it doesn’t mention any enable or disable things like the post mentions.
# Name Service Switch configuration file.
# See nsswitch.conf(5) for details.
# mdns_minimal added for local hostname resolution by EndeavourOS
passwd: files systemd
group: files [SUCCESS=merge] systemd
shadow: files systemd
gshadow: files systemd
publickey: files
hosts: mymachines mdns_minimal [NOTFOUND=return] resolve [!UNAVAIL=return] file>
networks: files
protocols: files
services: files
ethers: files
rpc: files
netgroup: files
The other one is more confusing for me because the person is talking about the host computer instead of the client (which I’m struggling to access on) and I don’t believe I need to edit my smb.conf since it worked on 3 other devices (my windows laptop, my old linux mint install, my phone).
To be clear the error is: I can’t find it in the GUI (which happened on my linux mint install so I don’t consider it weird), so I try to join it manually by doing smb://192.[the rest]/sambashare , however, it searches for it for a while and then doesn’t open, saying:
Could not display “smb://[IP]/sambashare/” Error: Failed to mount Windows share: Connection timed out. Please select another viewer and try again.
The host is running on ubuntu if that matters. I can’t think of any more information I should share.
It sounds to me like you are trying to use EnOS as a client to access files on a ubuntu based server using SMB.
If you are trying to access files from one Linux machine to another Linux machine, SMB is not the best method and not the most secure method.
Out of curiousity what’s your recommendation for file sharing because I wanted to do samba just because I wanted to see the GUI for the files on my end and also be able to access them on my phone. Can you do that with ssh? I assumed you couldn’t.
I guess if I could run both at the same time (just because my phone only supports SMBv2/SMBv3, FTP and SFTP) maybe it could be an option but still I’d prefer GUI, since it’s a lot of images and I’d like to see the preview.
How is your Ubuntu server set up? Headless or with keyboard, mouse, and display with a Desktop Environment?
Have you set the firewall on the EnOS machine to allow SMB?
I am not that familiar with SMB but I think to have the firewall active and allow SMB:
Right Click on the firewall icon on the panel. click “Edit FIrewall Settings”
Follow the instructions on Post 8 of this Topic