Before you start making any changes to your NAS4Free server, please remember to backup your config.xml file
Before you can install MINIDLNA on your NAS4Free server, you need to ensure you have SSH setup.
Configuring SSH Access
From the NAS4Free menu select Services > SSH
Check the Enable box on the right hand side to enable SSH.
In my screenshot below I have checked the Permit Root Login option, this is optional but useful.
Then click Save and Restart to start the service.
Connecting to NAS4Free Server via SSH
From a computer open Terminal or if you are using a Windows computer you can use PuTTY
Login to the NAS4Free server using SSH as follows, where xxx.xxx.xxx.xxx is the IP address of your server
You will be asked for a password and once logged in will get a command prompt
The following instructions apply to NAS4Free v9.2.x and were obtained from this forum post
Create a directory on the server where you wish to install your Extensions, I’ve created one called app at the root of my DISK1.
then change to that directory
Download the minidlnav3 tar file into the current directory by entering
then extract the tar file contents
tar xzf minidlnaV3.tar.gz
A directory called minidlna will be created, change to that folder
Then run the PHP script called install.php by entering
The following window will be displayed
Select option 1 Install minidlna.
Once installed you will be returned to the command prompt.
From the NAS4Free web menu select Extensions > MiniDLNA
Check the Enable box on the right hand side to enable the service.
Then add the locations of the content you wish to access via minidlna by selecting the browse button […] in the content section and then the Add button to add it to the list of file locations.
To test things, I like to enable the WebViewer. The URL which you can access the WebView is displayed once you save the settings.
Once configured, click Save.
When you then connect to your NS4Free server via your DLNA TV you will see a server which will have the same name as your NAS4Free server, this can be changed in the minidlna name option.