Set Up Sharing Folder Service at Ubuntu
Install minidlna service
1 |
sudo apt-get install minidlna |
Configure /etc/minidlna.conf (sets WHICH FOLDERS to use AND who is using the service)
edit /etc/minidlna.conf :
1 |
sudo vim /etc/minidlna.conf |
Notes: for vim, press insert to edit the file, then press escape “:x” to save changes.
Configure the path & friendly name
1 2 3 |
media_dir=[path to folder you want to share] friendly_name=wanrazaliUbuntu |

Configure user:
1 |
USER=root |
Save the changes
1 2 |
press Escape followed by :x |
Configure /etc/default/minidlna (sets WHO the service runs as)
1 |
sudo vim /etc/default/minidlna |
Configure user as root
1 |
USER="root" |
Save the changes
1 2 |
press Escape followed by :x |
Restart minidlna service
1 |
sudo service minidlna force-reload |
Access the Folder at Samsung Smart TV
Go to input source, you will see friendly name that has been set.


Video on Accessing the Ubuntu NAS
References:
http://mylinuxtechcorner.blogspot.com/2013/09/smart-tv-streaming-from-ubuntu-nas.html
Running minidlna on Ubuntu