Sharp Blue: Tweaking ReadyNAS Bonjour settings

articles
comments
links


About This Article

comments feed

Tips Jar

Paypal Pixel

Sponsors

I’ve been very happy with my ReadyNAS NV+ except for small two things. Firstly, it advertises its AFP shares over Bonjour using the name “AFP on Whatever” where “Whatever” is the name of the ReadyNAS, which looks ugly when it appears in a list of other devices with AFP shares. Secondly, it appears in the Finder sidebar with the generic Cinema Display icon so it looks very similar to my iMac. I’ve just managed to fix both issues and as it wasn’t the most obvious process I thought I’d record it here for the benefit of Google. The key part of the solution was finding Simon Wheatley’s article on specifying Finder icons with Avahi and then learning that the ReadyNAS uses Avahi for Bonjour. Here are the required steps:

  • Download and install the ToggleSSH and EnableRootSSH RAIDiator addons. You’ll need to use the “Local” tab of System->Upate in ReadyNAS Frontview.
  • Connect to the NAS using SSH.
  • Use VI to edit /etc/avahi/services/afp.service to look like:
    <?xml version="1.0" standalone="no"?><!--*-nxml-*-->
    <service-group>
      <name replace-wildcards="yes">%h</name>
      <service>
        <type>_afpovertcp._tcp</type>
        <port>548</port>
      </service>
      <service>
        <type>_device-info._tcp</type>
        <port>0</port>
        <txt-record>model=RackMac</txt-record>
      </service>
    </service-group>
  • Update the running configuration of Avahi on the ReadyNAS using the command avahi-daemon --reload

Here’s the result:

Leave a comment