NAS: Advertise your shares via Bonjour

This at least works with the Synology products – in my case with the DS107+. This tip solves two problems for any mac-user – SSH access directly to the NAS as well as ensuring that Bonjour advertises the shares into your Finder-window. The only draw-back is, that your DiskStation requires the iTunes-server to run (not a problem in my scenario though):

  1. If you have not done so follow this tutorial to enable SSH: “How to enable/disable SSH for CLI
  2. The NAS uses mDNSResponder to broadcast Bonjour services. This is the Howl package, which is no longer maintained. When iTunes sharing is enabled, the mDNSResponder is launched; when it’s disabled, it’s taken down.Howl uses a configuration file to determine what services to broadcast. It doesn’t appear that this file exists anywhere on the NAS, so some other process must be passing the parameters for the iTunes and HTTP (DSM) sharing services. However, if you look at the /usr/syno/sbin/mDNSResponder binary, you can see that it searches for a default configuration file at /etc/howl/mDNSResponder.conf.
  3. As the first step, log into the DiskStation, create the howl-directory and then create a new mDNSResponder.conf:
  4. Next step is to configure which services you would like to broadcast. I hope you know your way around Vi, as this is the only editor you will get on DS107+:

    You will notice in my case I am only broadcasting SMB, and all the other services are commented out.

Once you save the file and restart the iTunes Server, you will notice that the services “magically” appear in your Finder window.

Kudos to Colin @ http://www.synology.com/enu/forum/viewtopic.php?f=64&t=8890



VN:F [1.9.17_1161]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.17_1161]
Rating: 0 (from 0 votes)