NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

flamesong1's avatar
flamesong1
Aspirant
Jan 26, 2012

How to edit /etc/minidlna.config on a Mac

I posted this question at the end of an old thread about DLNA problems and I think it may go unnoticed for some time, so apologies for double-posting it.

Basically, there is a fix for a DLNA problem which involves editing the minidlna.config file at /etc/minidlna.config but I am having trouble even finding the file. There is a command line solution using a PC application called Putty and I have tried to replicate the solution using Terminal but when I input the address of my ReadyNAS Duo, I get the error, 'command not found'.

I'd really like to get this sorted out because it has been driving me insane having to constantly either reboot the ReadyNAS Duo or restart the ReadyDLNA service.

Could some patient Mac using person walk me through this, please? The constant need to reboot my ReadyNAS and/or restart ReadyDLNA is doing my head in.

The procedure is quoted below:

msomekh wrote:


1. Download, install and run putty
http://www.putty.org/

2. Enter the local NAS IP address, ensure "SSH" is set and that the port is '22'. Then save the session (e.g. call it "NAS") so that you load it later.

3. Press 'Open' and a login window should appear. Login with your user "root" and the appropriate root password

4. Type in order
cd /etc
ls -l minidlna.conf
cp minidlna.conf minidlna.conf.bak

5. Now you need to edit the file as needed. I use 'VI' but that's because I know it well and I must be a bit masochistic :wink: You can find resources on the web.
vi minidlna.conf

6. Once the file is saved, restart the readyDLNA service.

2 Replies

Replies have been turned off for this discussion
  • mdgm-ntgr's avatar
    mdgm-ntgr
    NETGEAR Employee Retired
    Which Duo, a v1 or a v2? See How to tell whether I have a Duo v1 or Duo v2 or NV+ v1 or NV+ v2

    Duo v1 is Sparc and Duo v2 is ARM. Since you're talking about restarting ReadyDLNA service I assume you have the v1.

    You can install the Sparc EnableRootSSH add-on: http://www.readynas.com/?p=4203

    However do pay heed to the warning:
    NetGear wrote:

    With the EnableRootSSH add-on, you can now remote login to the ReadyNAS RAIDiator shell as a root user. Initial password for root will be the same as the current FrontView admin password. Please keep in mind that NETGEAR may deny support if you’ve enabled root access.


    To be able to use SSH you need to install the Sparc EnableRootSSH add-on (there are other addons to enable SSH access but these are for support use only).

    On Sparc installation is via System > Update > Local

    Username is 'root' and password will initially be set to be the same as your 'admin' (Frontview) password.

    You can login using PuTTy (free program you can download) on Windows.

    Alternative you can use the Terminal (found at Applications > Utilities > Terminal on Mac OS X) on Mac OS X or Linux:

    ssh root@ip.address.of.nas

    Then use Linux shell commands.

    If you wish to change the root password you can simply use the passwd command:

    MDGM-NAS:~# passwd
    Enter new UNIX password:
    Retype new UNIX password:
    passwd: password updated successfully


    As for using the "vi" command take a look at its MAN page (google search for it on the web)

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More