Freemi Upnp Installation Instructions

Posted on by admin

After the 1.80 FW last Friday I trawled the intertubes looking for a UPnP/dlna media server to install

A quick demonstration of sharing a library between XBMC devices using UPnP. These instructions should.

on my Linux box. The only one I could get working, streaming music to my PS3 was the commercial

TwonkyVision MediaServer, and commercial just ain't good enough for me. I want open source!

Luckily after a few days the guys maintaining MediaTomb released an update supporting the PS3.


To install (Ubuntu, Intel platform) just open a terminal and cut and paste the following:

$ wget http://apt.mediatomb.cc/key.asc -O- -q sudo apt-key add -


Then edit your sources list e.g. with nano:

$ sudo nano /etc/sources.list


and add the following line to the bottom:

deb http://apt.mediatomb.cc/ feisty main


Press Ctrl-O to save, and Ctrl-X to exit.


Installation Of Officers Script

Then install it with the following command:

$ sudo apt-get update && sudo apt-get install mediatomb


First run mediatomb to create standard database and config file:

$ mediatomb


Press Ctrl-C to exit.


To configure mediatomb, edit the config file with (standing in your home directory):

$ sudo nano .mediatomb/config.xml


Just below the <server> add this line of code:

<protocolInfo extend='yes'/>


Copy the config file to a more usable directory:

$ sudo cp ./mediatomb/config.xml /etc/mediatomb/config.xml


You are now ready to test mediatomb with the PS3.


Run mediatomb as a daemon:

Installation

$ mediatomb -d -c /etc/mediatomb/config.xml


Open the web interface (usually) at http://localhost:49152/, and hit the 'filesystem' link in the upper

left corner to add media to the server.


At the time of writing MediaTomb only supports the PS3-native mpeg4 video-format, so you'll

probably be better of just adding your music and pictures.


As observant reader humiliator pointed out, to enable mediatomb to start at boot, edit /etc/default/

mediatomb with nano:

$ sudo nano /etc/default/mediatomb


and change the lines containing:

# set this to ' if you want to start the MediaTomb daemon

NO_START='yes'

#NO_START='


to the following:

# set this to ' if you want to start the MediaTomb daemon

#NO_START='yes'

NO_START='


you would also want to edit the init-script to use the config-file we just made:

$ sudo nano /etc/init.d/mediatomb


The line starting with D_ARGS should look like this:

D_ARGS='-c /etc/mediatomb/config.xml -d -u $USER -g $GROUP -P $PIDFILE -l

$LOGFILE'


Now you can test the init-script with the following commands:

$ sudo /etc/init.d/mediatomb start stop restart

After the 1.80 FW last Friday I trawled the intertubes looking for a UPnP/dlna media server to install

on my Linux box. The only one I could get working, streaming music to my PS3 was the commercial

TwonkyVision MediaServer, and commercial just ain't good enough for me. I want open source!

Luckily after a few days the guys maintaining MediaTomb released an update supporting the PS3.


To install (Ubuntu, Intel platform) just open a terminal and cut and paste the following:

$ wget http://apt.mediatomb.cc/key.asc -O- -q sudo apt-key add -Install themes ubuntu.


Then edit your sources list e.g. with nano:

$ sudo nano /etc/sources.list


and add the following line to the bottom:

deb http://apt.mediatomb.cc/ feisty main


Press Ctrl-O to save, and Ctrl-X to exit.


Then install it with the following command:

$ sudo apt-get update && sudo apt-get install mediatomb


First run mediatomb to create standard database and config file:

$ mediatomb


Press Ctrl-C to exit.


To configure mediatomb, edit the config file with (standing in your home directory):

$ sudo nano .mediatomb/config.xml


Just below the <server> add this line of code:

<protocolInfo extend='yes'/>


Copy the config file to a more usable directory:

$ sudo cp ./mediatomb/config.xml /etc/mediatomb/config.xml


Instructions

Freemi Upnp Installation Instructions Free

You are now ready to test mediatomb with the PS3.


Run mediatomb as a daemon:

$ mediatomb -d -c /etc/mediatomb/config.xml


Open the web interface (usually) at http://localhost:49152/, and hit the 'filesystem' link in the upper

left corner to add media to the server.


At the time of writing MediaTomb only supports the PS3-native mpeg4 video-format, so you'll

probably be better of just adding your music and pictures.

Upnp


As observant reader humiliator pointed out, to enable mediatomb to start at boot, edit /etc/default/

mediatomb with nano:

$ sudo nano /etc/default/mediatomb


and change the lines containing:

# set this to ' if you want to start the MediaTomb daemon

NO_START='yes'

#NO_START='


to the following:

# set this to ' if you want to start the MediaTomb daemon

#NO_START='yes'

NO_START='


you would also want to edit the init-script to use the config-file we just made:

$ sudo nano /etc/init.d/mediatomb


The line starting with D_ARGS should look like this:

D_ARGS='-c /etc/mediatomb/config.xml -d -u $USER -g $GROUP -P $PIDFILE -l

$LOGFILE'


Now you can test the init-script with the following commands:

Installation Of Officers

$ sudo /etc/init.d/mediatomb start stop restart