Raspbian: Instalasi UPnP mediatomb

From OnnoWiki
Jump to: navigation, search

Setup Jaringan

sudo su
route add -net 239.0.0.0 netmask 255.0.0.0 eth0
ifconfig eth0 allmulti

Instalasi

apt-get install sqlite mediatomb


Edit konfigurasi

vi /etc/mediatomb/config.xml

Bisa di edit supaya

<server>
  <ui enabled="yes" show-tooltips="yes">
     <accounts enabled="yes" session-timeout="30">
        <account user="mediatomb" password="mediatomb"/>
     </accounts>
  </ui>
<name>RaspberryPi</name>

Restart

/etc/init.d/mediatomb restart

Untuk mencek URL mediatomb bisa dilihat file

tail /var/log/mediatomb.log

Isinya

2014-08-31 09:39:53    INFO: Configuration check succeeded.
2014-08-31 09:39:53    INFO: Initialized port: 49152
2014-08-31 09:39:53    INFO: Server bound to: 192.168.0.3
2014-08-31 09:39:54    INFO: MediaTomb Web UI can be reached by following this link:
2014-08-31 09:39:54    INFO: http://192.168.0.3:49152/