I already looked at your samba guide, but it requires opening the console to setup. I prefer to use the gui instead.
Currently using openSUSE TW. already installed all the latest updates.
I opened dolphin and try to access samba shares but right when i get to the part where I type “smb:/” in the address bar, I am stuck on loading.
I also opened VLC media player to see if i can play my music but it also gets stuck on loading.
So samba and dlna browsing are non functional.
I opened network connections, ipv4 tab, advanced button, and entered my host name. nothing.
I tried enabling smb services in YAST services manager. nothing
at this point, I am out of ideas on what I can try doing next before I resort to using the command prompt. I am a strong and firm believer that these sorts of basic things should already be easily taken care of by GUI and that If I have to use a command prompt to make them work, then the OS itself is probably not that great.
Anyway, where and how in the GUI can I get this working?
If I have to use a command prompt, then I would like to know how to close this forum account.
In other news, I did get my games like Battlefield 4 and 1 working via steam. just cannot get network browsing working.
Reason why I get very particular about using command prompts for these sorts of things that dont work easily at first when other operating systems do it just fine on first try is because I find it can become tedious.
Yes, the operating system is free but now I am spending time on trying to get this function that supposedly isnt working right out of the box to actually work.
I mean why place “network” there in the first place if these things need a command prompt to make it work after making it to the desktop?
Why should we waste time together here trying to get this one specific function/feature working when we are going to be going on a command prompt adventure?
again, this could have been working right out of the box but its not.
If I understand you correctly, you are expecting Dolphin to show discovered samba shares. Historically, this relied on network browsing (using SMBv1 which is now deprecated and disabled by default). However, Linux samba servers can be advertised via DNS-SD, and Dolphin also supports WS-Discovery (utilized by Windows servers). For these discovery mechanisims to work though, the firewall must be suitably configured (if active).
So from what I am reading here, this is a way to check if the firewall is active. unless there is something else i not seeing here?
For the command “firewall-cmd --list-all”
You're performing an operation over default zone ('public'),
but your connections/interfaces are in zone 'docker,home' (see --get-active-zones)
You most likely need to use --zone=docker option.
public
target: default
icmp-block-inversion: no
interfaces:
sources:
services: dhcpv6-client
ports:
protocols:
forward: yes
masquerade: no
forward-ports:
source-ports:
icmp-blocks:
rich rules:
I went ahead and ran the same command but with --zone=home
firewall-cmd --list-all --zone=home
home (active)
target: default
icmp-block-inversion: no
interfaces: enp6s0
sources:
services: dhcpv6-client mdns samba-client ssh
ports:
protocols:
forward: yes
masquerade: no
forward-ports:
source-ports:
icmp-blocks:
rich rules:
Mind telling me what we are looking for exactly here?
Hi
In YaST disable the firewall service temporarily to confirm it’s the issue, then in YaST firewall you can add the service ports to exclude and set to permanent for samba, dlna etc.
Mind telling me what we are looking for exactly here?
The ‘services:’ output shows that mdns (for incoming mDNS and DNS-SD traffic) is allowed. That is good for Linux host discvoery supporting that. For test purposes, you can stop the firewall with
sudo systemctl stop firewalld
and test samba discovery again via Dolphin > Network > Shared Folders (SMB)
how in the gui do i resolve this issue?
There is a graphical firewalld utility called firewall-config that you can install if desired…
sudo zypper in firewall-config
If you have Windows hosts providing shares, you need to allow source-port 3702 UDP to allow WS-Discovery traffic.
I have disabled the firewall using “Yast Services Manager”. I dont think I saw much of a difference so I went ahead and disabled it on boot and rebooted openSUSE. I am now able to access my DLNA shares via VLC media player and they are actually playing.
Also, a bit of info on my windows share. Its actually on a dd-wrt router (Linksys WRT32x) that I am using for my NAS and AP hence “NASAP”. there is no user name or password set for the samba share. My windows computer can access it just fine so no problem there.
with the fire wall now disabled, I can now see the samba share, but its asking for a username and password that does not exist on the share.
So with all that said, Yes. This does appear to be a firewall issue. as for dolphin asking for a username and password, I am not sure why it wont login automatically as “anonymous”
That’s why I suggested stopping it temporarily with the ‘systemctl’ command (no reboot required).
I am now able to access my DLNA shares via VLC media player and they are actually playing.
That reads like progress.
Also, a bit of info on my windows share. Its actually on a dd-wrt router (Linksys WRT32x) that I am using for my NAS and AP hence “NASAP”. there is no user name or password set for the samba share. My windows computer can access it just fine so no problem there.
Thanks for clarifying further here.
with the fire wall now disabled, I can now see the samba share, but its asking for a username and password that does not exist on the share.
So with all that said, Yes. This does appear to be a firewall issue. as for dolphin asking for a username and password, I am not sure why it wont login automatically as “anonymous”
That seems to be a samba client thing. For example, I have a Windows host with a share configured with R/W access to “Everyone”. On my Linux machine, I’m still prompted for a username and password, although entering anything/nothing still results in being able to access the shares successfully.
mdns service in firewalld only allows incoming traffic to multicast port 5353 so it only allows client to see periodical announcements. The problem is when client queries for available resources, it sends packet to multicast address but receives responses from unicast addresses to client own unicast address. These packets are not matched by default connection tracker (outgoing destination address - multicast - is not equal to incoming source address - unicast) so they are blocked by firewall.
If my assumption is correct, we are back to the topic of UPnP connection tracking.
We really need packet capture (ideally in both cases - with and without firewall) to understand what happens.
Question. Does openSUSE really have to go this overboard on security even when the fire wall zone for the ethernet port is set to home?
May I ask who is the target audience for openSUSE?
I was having fun with openSUSE right up until I started trying to figure out the network discovery issues I was having. This was also the moment I started to feel like im some child playing battlefield 4 on an intel XEON workstation computer running windows server and wondering why I am having so many performance issues.
Or maybe another example, I started to feel like some guy driving a huge semi truck on a racetrack* and wondering why I cant drive it the same way I would drive a racecar.
The OP needs to clarify further here IMO. I’m not familiar with their particular router…however I think they may be using it as a digital media server (as per the OP’s reference to DLNA). As an example with my Netcomm Wireless router, I can attach USB storage and then configure it as a ‘Digital Media Server’ such that it is discoverable by my file explorer (Windows 10). That is likely how the OP wants to have it discovered using Dolphin. You’re welcome to guide the OP further with this. I have no such interest.
The router is a Linksys WRT32x running dd-wrt which is a linux based firmware that is heavily stripped down to fit* on the small flash rom of a router. dd-wrt basically enhances the router in at least some areas, if not most, where factory stock firmware fall short in.
This router is configured to work as a NAS server and an Access Point. NAS and AP. NASAP.
I would like to access the samba share using dolphin.
click on the lizard on the bottom left and go to YaST. Open fire wall and click on docker0 and change its zone to “home”.
Next, you want to click on home zone on the list of zones on the left and add miniDLNA and sambaclient if its not showing up in the home zone already. Client accept and yes if it asks and you should now be able to have some network discovery for your miniDLNA and samba.
Samba still asks me for a user name and password but I learned that there is also SFTP which is what linux uses to connect to other linux shares.