Here, the Samba service is published, along with the computer name LOSST-PC, which will make it easier for users to understand that this is the computer they need. If the automatic announcement does not work, you can configure Avahi to announce Samba service permanently by creating the /etc/avahi/services/rvice file with the following content: You will see your server's IP and port 445, in the list. You can check whether your server is discovered by Avahi using this command: avahi-browse -all -terminate -resolve Usually, it is enabled by default, so no additional settings are needed here and it makes file sharing between Linux systems easier. This feature can be configured using the multicast dns register option in the global section: This may be enough for your network folder to be found on another computer because newer versions of Samba can announce themselves via Avahi if they are compiled with this support. Or for Fedora: sudo dnf install avahi avahi-tools The command for Ubuntu is: sudo apt install avahi-daemon avahi-utils You need to install it if it is not already installed. As I mentioned earlier, this is done using the Avahi service. Let's focus on how to ensure that it is visible to other Linux machines and troubleshoot if it is not. In this article, I won't go into detail about setting up a Samba file server because there are already many instructions on the internet. Also, we will configure WSDD so that everything works in Windows as well. This may be relevant for older versions of Samba. In the next sections, we will look at how to ensure that your Samba server is announced using Avahi, and how to configure the announcement manually. There is already a separate service written in Python that can announce a computer through WS-Discovery, which is called WSDD. Microsoft uses the WS-Discovery protocol for network discovery, but the developers of Samba decided not to add support for this protocol. However, Windows will not see your Linux shares. So that, in most cases, you will see Samba share on another Linux PC without any troubles. Recent versions of Samba can publish themselves into the local network using Avahi. Now the Zeroconf protocol and Avahi service are used in Linux for that purposes. Starting with Samba 4.11.0, it is disabled by default and is not recommended for use due to security issues. In the past, the SMB1 protocol had a built-in network discovery feature. How to Open Samba Shared Folder in Windows.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |