On 19/07/17 13:04, Jan Ritzerfeld wrote:
Using smb://freebox-server.local/ is the same as smb://{IP address of your Freebox} besides the mDNS host name resolution. Years ago, SuSEfirewall2 blocked the mDNS host name resolution: https://lists.opensuse.org/opensuse-security/2008-09/msg00011.html So, I assume that "ping freebox-server.local" doesn't work for you.
Your assumption is correct: ping: unknown host freebox-server.local
And after you stop the SuSEfirewall2? As root, e.g.: SuSEfirewall2 stop
Strange, I just stopped the firewall, got this:
PING freebox-server.local (192.168.0.254) 56(84) bytes of data. 64 bytes from 192.168.0.254: icmp_seq=1 ttl=64 time=0.226 ms 64 bytes from 192.168.0.254: icmp_seq=2 ttl=64 time=0.226 ms 64 bytes from 192.168.0.254: icmp_seq=3 ttl=64 time=0.196 ms 64 bytes from 192.168.0.254: icmp_seq=4 ttl=64 time=0.241 ms 64 bytes from 192.168.0.254: icmp_seq=5 ttl=64 time=0.249 ms ^C --- freebox-server.local ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4003ms rtt min/avg/max/mdev = 0.196/0.227/0.249/0.024 ms
BUT ... I then re-enabled the firewall, got identical results. So that's not the issue.
Well, I beg to differ: The nscd service caches positive host lookups for 600 seconds.
Ha, very clever. Just testing you ;) Indeed, this time I tried the other way around. It only worked the second time after I deactivated the firewall.
Do you have the package nss-mdns installed? If you install avahi-utils, you will be able to test mDNS directly by: avahi-resolve -n freebox-server.local
nss-mdns is installed (in addition to the -32bit version). I installed avahi-utils. Running your above command I get:
Failed to resolve host name 'freebox-server.local': Timeout reached
Even after you stopped the firewall? Because avahi-resolve won't use the nscd cache and will fail instantly in contrast to ping.
With the firewall stopped I get Freebox-Server.local 192.168.0.254
I looked under the local network mode settings on the router. It gives this:
Name of Freebox Server: Freebox Server DNS name: freebox-server mDNS name: Freebox-Server Netbios name: Freebox_Server
Interesting. Does ping freebox-server work? If so, you could try to type smb://freebox-server in Dolphin. That could work because routers often run their own DNS and offer a local domain for all DHCP clients. If so, there would be a line starting with "search" in /etc/resolv.conf.
No. I still get ping: unknown host freebox-server and Dolphin doesn't connect. In resolv.conf I see: # Generated by NetworkManager search free.fr my.domain.name nameserver 212.27.40.240 nameserver 212.27.40.241 ('My domain name' - hidden above merely to avoid more spam on an as yet untarnished account - is a real domain but not one that is actually tied in any way to my machine. It's hosted by my email provider in another country. I enter it during oS installation merely as a cosmetic thing instead of having whatever default it gives me.)
[...] Yes. It looks like your Freebox decided to do that. It is a samba server configuration that could be turned off, but AFAIK only on your Freebox itself. Alas I don't see anywhere on the Freebox OS options to do that.
To bad. Perhaps you could start a new thread and ask if anyone has an idea to mitigate the mangling. But I didn't find a solution using google...
I tried allowing FTP on the Freebox, with anonymous login. That works fine in Dolphin and I get fast directory listings. However, if I try opening files via FTP in, say, VLC Player, it spits out: ftp error: cannot set passive mode ftp error: cannot retrieve file core error: open of `ftp://mafreebox.freebox.fr/media/Music/Collection/{path to flac file}
Try stopping your firewall.
BTW, is mafreebox.freebox.fr the correct host name?
Even with the firewall stopped, VLC won't accept the FTP filedrop. I tried clicking the network links on the left pane in the player. The one for uPnP got the drive light flashing for a long while but I was only seeing errors in VLC Messages. Yes, that hostname is what was advised to use when I set FTP to enabled on the router. And I can browse using it in Dolphin. So I just pinged it: PING mafreebox.freebox.fr (???.???.???.???) 56(84) bytes of data. 64 bytes from freeplayer.freebox.fr (???.???.???.???): icmp_seq=1 ttl=64 time=0.195 ms 64 bytes from freeplayer.freebox.fr (???.???.???.???): icmp_seq=2 ttl=64 time=0.249 ms 64 bytes from freeplayer.freebox.fr (???.???.???.???): icmp_seq=3 ttl=64 time=0.206 ms 64 bytes from freeplayer.freebox.fr (???.???.???.???): icmp_seq=4 ttl=64 time=0.238 ms 64 bytes from freeplayer.freebox.fr (???.???.???.???): icmp_seq=5 ttl=64 time=0.249 ms ^C --- mafreebox.freebox.fr ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4000ms rtt min/avg/max/mdev = 0.195/0.227/0.249/0.026 ms Maybe I'm being over paranoid, but I don't know what the IP address relates to exactly, it's not my actual IP address, but I've hidden it here to avoid any malfeasance. Assuming I can get Clementine to accept the music library address being on a Samba share and it doesn't cause endless buffering as I've seen reported on numerous (old) bugs, I can accept using Samba there and doing file management via FTP (the latter being faster and avoiding the horrid 8:3 names). All of that works without configuring further the firewall, so I'm inclined to just leave it alone, but from the other things you've pointed out about mDNS and so on, I assume there's something amiss somewhere with the configuration? gumb -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org