Customizing the ReadyNAS DLNA Name

Background

With a recent upgrade of the ReadyNAS firmware, Infrant (now Netgear) introduced the streaming service “ReadyDLNA”.  This is actually an open source project (“minidlna”) initiated by a Netgear engineer.  This DLNA (“Digital Living Network Alliance”) streaming service is capable of delivering audio, video, and pictures to a number of DLNA-compliant media players.

The ReadyDLNA service works quite well but does not provide a means to alter the displayed service name in the ReadyNAS web administration interface.  In order to customize the service name, it is necessary to update the service’s configuration files directly.

Setup

In order to access the necessary configuration files, the EnableRootSSH patch must first be successfully installed.  Enhancements to the web interface to permit easier access to these “hidden” configuration options have been promised for future versions, but currently the only means of altering them is through directly editing the configuration files.

  1. Login (via ssh) as “root” to the ReadyNAS appliance.
  2. Navigate to the configuration directory.

    cd /etc

  3. Make a backup of the original configuration file for safety.

    cp minidlna.conf minidlna.conf.orig

  4. Edit the minidlna.conf file by replacing the value of “friendly_name” with the desired alternate text.  In addition, the variable must be uncommented by removing the leading “#”.

    friendly_name=Movies, Music, and More

  5. Restart the ReadyDLNA service.  (The easiest way to do this is to simply reboot the ReadyNAS appliance.)



Enabling Root SSH Access on a ReadyNAS appliance

Background

Infrant (recently purchased by Netgear) makes a number of Network Attached Storage (NAS) appliances that are well suited for home or small business use.  These appliances run a variant of Linux and so are easily enhanced or altered beyond their original configurations.  While the web interface provides a great deal of functionality, there may be a desire for deeper levels of customization than the web interface can provide.  Enabling root access to the system is the first step in exploring these customization opportunities.

Special Note

With root access, it is possible to cause serious damage to both the appliance’s operating system as well as any data stored on the appliance.  Be extra careful when making any changes.  If root access is enabled, Netgear holds the right to deny support!

Setup

There are several types of NAS appliances made by Infrant, but these general guidelines should be applicable to all of them.  They have been tested only on the ReadyNAS NV+ appliance, so other systems may have slight variations.

The ReadyNAS support pages have a list of all available add-on downloads (including some contributed by the community).  As there are several different architectures and operating system versions, please pick the appropriate configuration when downloading the patch.

  1. Download the appropriate version of the EnableRootSSH shell access patch.
  2. Navigate to your ReadyNAS administrative page and login as administrator.
  3. Click the “System” link (in the left-hand navigation area).
  4. Click on the “Update” link (under the “System” heading).
  5. Click on the “Local” tab to be presented with the option of uploading a locally available patch.
  6. Click on the “Browse” button and select the EnableRootSSH file.  It is probably named something along the lines of EnableRootSSH_1.0.bin.
  7. Click on the “Upload and Verify” button.
  8. After the patch has been uploaded successfully, a dialog should be presented with the option to actually apply the patch.  Click on the “Perform System Update” button to apply the patch.
  9. Upon successful application, the system should present a dialog requesting to reboot the system in order to activate the patch.  Reboot the system as directed.
  10. When the system has rebooted, root SSH access should be enabled.  The password will initially be the same as that used for the administrative web interface.