DLNA (Digital Living Network Alliance) is an association of electronic and computer manufacturers that agreed to create a kind of compatible standard for all their systems. DLNA allows different devices within the same network to be interconnected to share different content. The advantage that it can offer is an easy configuration and versatility. This system can work on both Wi-Fi and Ethernet networks.

Here we propose a totally automated solution, consisting of using the software called MiniDLNA. It allows sharing a folder and making everything it contains visible to the computers on the network. This program runs on Linux and is free. Before configuring DLNA Linux server we must ensure that our Wi-Fi networ supports DLNA service. DLNA Service Configuration on DIR-505 D-LINK WiFi Router For this we will use the D-LINK DIR-505.

First we enter in the page of configuration of our router and login to the router configuration UI. Then we look for the 'Media Server' page in the left bar and click on the “Enable DLNA Media Server” check box, then put the name of the media server to make it recognizable by DLNA streaming devices.

With these simple steps we have correctly configured the router for DLNA network and now we can proceed to configure our Linux server

Execute the following commands as root:

apt-get -y install build-essential apt-get -y install libavutil-dev libavcodec-dev libavformat-dev libflac-dev apt-get -y install libvorbis-dev libid3tag0-dev libexif-dev apt-get -y install libjpeg62-dev libsqlite3-dev

Then download the source code of miniDNLA, unzip and compile it:

./configure make make install cp linux / minidlna.init.d.script /etc/init.d/minidlna chmod 755 /etc/init.d/minidlna update-rc.d minidlna defaults

Once installed, configure it by editing /etc/minidlna.conf

nano /etc/minidlna.conf

And to start it:

/etc/init.d/minidlna start

When installed as a service, MiniDLNA will automatically start when Linux computer is booting. Configuration is complete at this point.

If any of the instructions won’t work please refer to MiniDLNA installation instructions for more details.