You are not logged in.
Pages: 1
Hi,
so when I go in Dolphin to "Network -> Shared Fodlers (SMB)" the samba server in my network are correctly displayed, but when I select one of them to see the shares on that server I get the error: "Could not connect to host for smb://<server_name>.local/"
Connecting to the server using its ip adress works just fine, also from dolphin.
Connecting to the server from my laptop with a different distro and the same KDE version 6.2.4 (a little bit older kde frameworks version 6.9.0 vs 6.8.0) also works fine.
So I suspect I overlooked something when setting up the PC. Maybe there is some optional dependency for the dolphin network gui stuff to work that I missed?
Sadly I don't know where to start looking, already searched the troubleshooting section of the wiki for both samba and dolphin, but couldn't find my error there.
Last edited by Matombo (2024-12-31 00:28:45)
Offline
Hi!
It sounds like you're experiencing an issue similar to this this Reddit post.
In System Settings look for Windows Shares. It should ask for a username and password.
Put anything in (I currently have user:a/pass:b).
Close Dolphin. Re-open and try your shares again.
Can you try that and report back?
Offline
Thanks for offering help ^^
I don't have that setting. Could be an optional kcm or something that no longer exists in plasma 6.2 (that post is talking about 5.24 and 5.25).
Offline
Hi!
Sorry for the oversight; are you able to ping the SMB server using the hostname? You said the IP address works just fine, but if you're not able to hit the SMB server by pinging nor with Dolphin, it sounds like it could be a DNS issue. Could you try making an entry in your /etc/hosts file? This should tell your computer to map a specific IP address with a hostname. It should be something like:
{IP address} {hostname}Offline
Hi
Same issue here!
At fresh install of Arch KDE, install samba using arch Wiki, i couldn't access to samba via Dolphin, it redirects to smb://<server_name>.local/ and get "Could not connect to server"
But if i type smb://<server_name>, it llogin to shared folders, and the same with smb://IP/
The steps i followed:
sudo pacman -S samba kdenetwork-filesharing avahi
sudo nano /etc/samba/smb.conf -- with ArchWiki sample, modifying workgroup
sudo systemctl enable smb nmb
sudo systemctl start smb nmb
sudo systemctl enable avahi-daemon.service
sudo systemctl start avahi-daemon.service
sudo mkdir /var/lib/samba/usershares
sudo groupadd -R sambashare
sudo chown root:sambashare /var/lib/samba/usershares
sudo chmod 1770 /var/lib/samba/usershares
sudo nano /etc/samba/smb.conf --- adding usershares parameters from ArchWiki
sudo systemctl restart smb nmb
testparm ---> no issues here
sudo gpasswd sambashare -a $USER
sudo nano /etc/nsswitch.conf ---> adding wins for netbios for windows shares
In System > Settings > Network there are only WiFi and Networks; Firewall ( i've not install any ); Proxy and Connection settings
But nothing about "Windows Shares"
KDE Dolphin always redirects to .local where it fails lo load server content, and only it's possible to access without .local or via IP
Offline
Ever figure this out? "Windows Shares" is missing for me as well.....
Offline
Hello!
It's a dns problem. When you enable avahi and when you install and configure nss-mdns package, smb://somehostname.local will be resolved normally.
Adding hostnames to /etc/hosts is only workaround, not solution.
See and check this ArchWiki page:
Offline
Pages: 1