Quickstart LinkStation

From MtdWiki

custom cadillac escalades (http://mitglied.lycos.de/loveleekristen/590.htm) mobile home for sale in ireland (http://mitglied.lycos.de/stattisch/mobile-home-for-20080418.html) melanie mcguire (http://mitglied.lycos.de/stattisch/melanie-mcguire-20080430.html) motorcycle chrome polish (http://mitglied.lycos.de/erkintwin/466.html) ps2 hdd loader torrent (http://nedavandiver.iespana.es/ps2-hdd-loader.htm) link (http://worldwarcombat.com/test/images/maps/pics/sitemap.htm) escient dvdm 100 (http://paleontologia.co.uk/paleopag/lib/package/text2162.htm) well paid professions (http://paleontologia.co.uk/paleopag/lib/package/text1871.htm) vacation rentals oak bluffs massachusetts (http://paleontologia.co.uk/paleopag/lib/package/text47.htm) neil sedaka (http://paleontologia.co.uk/paleopag/lib/package/text675.htm) movie springs steamboat theater (http://trepalka.com/Forums/style_images/2/news-856-20080619.html) natural gas future chart (http://www.myowncookie.com/blog/wp-content/uploads/2006/comment-1102.html) k12 (http://trepalka.com/Forums/style_images/2/news-1076-20080623.html) drafting project (http://trepalka.com/Forums/style_images/2/news-819-20080620.html) plane shot down video (http://worldwarcombat.com/test/images/maps/pics/article-641.htm) link (http://dryflies.com/fishpics/wpThumbnails/pics/index.html) encore lyrics eminem 50 cent (http://jakubdolejs.com/artwork/hires/thumbs/news-1303-2008-06-22.html) auto game grand rockstar theft video (http://jakubdolejs.com/artwork/hires/thumbs/news-419-2008-06-16.html) ice age 2 movie dvd (http://jakubdolejs.com/artwork/hires/thumbs/news-202-2008-06-19.html) site (http://favoritethingsstudio.com/shopfts/images/icons/sitemap.htm) lakeshore chevrolet ohio (http://angellgallery.com/press/pdf/docs/resource-1172.html) chris king homepage (http://dryflies.com/fishpics/wpThumbnails/pics/news793.html) movie save the last dance (http://angellgallery.com/press/pdf/docs/resource-232.html) kof video combos (http://greenfestphilly.org/wp-content/gallery/ssgf07/news-552.html) xxx cam (http://angellgallery.com/press/pdf/docs/resource-601.html) limp bizkit sanitarium video (http://nijlane.com/site_images/sec_photos/pics/new532.htm) high school girls naked (http://proflane.com/squint/cart/email/files/topic1182.htm) new stargate movie (http://nijlane.com/site_images/sec_photos/pics/new2231.htm) chemical brothers believe (http://proflane.com/squint/cart/email/files/topic78.htm) anuvids (http://nijlane.com/site_images/sec_photos/pics/new1091.htm) mariah carey pussy (http://internicmovingservices.com/help/icons/thumbs/topic1483.htm) peter pan movie (http://internicmovingservices.com/help/icons/thumbs/topic317.htm) music nobody smiling video (http://geraldinesboutique.com/about/media/2/news-1116-20080621.html) s cry ed quiz (http://geraldinesboutique.com/about/media/2/news-927-20080623.html) boostmobleringtones (http://geraldinesboutique.com/about/media/2/news-1091-20080623.html) racnoel

Installing mt-daapd on a Buffalo LinkStation

Now there is a much easier way to install mt-daapd on either the PPC or MIPSel LinkStation. Nas-central.org (http://nas-central.org/) has self-installing packages that will do all the below (and more) automatically.

Table of contents


Getting Started

untar the Kurobox binaries need for compiling etc. You can download them from RevoGear (http://www.revogear.com). I put them in /mnt/opt/binary and made a symlink of /opt to /mnt/opt so as not to fill up the root partition too much. The packages you need are all those related to programming:

autoconf
automake
binutils
bison
flex
g++
gcc
gdb
glibc
libgdbm * (this library is called by mt-daapd)
libstdc
m4
make
textutils

deflate (gzip -d file.tar.gz) and then untar from / (tar xvf /opt/binary file.tar) each one

Now you should be able to compile, install, etc...

Get zlib from its project site (http://freshmeat.net/redir/zlib/12352/url_tgz/zlib-1.2.1.tar.gz).

untar in /opt and change to /opt/zlib-1.2.1 then do:

  ./configure
  make
  sudo make install

Get libid3tag from its project site (http://sourceforge.net/project/showfiles.php?group_id=12349).

untar in /opt and change to /opt/libid3tag-0.15b then do:

  ./configure
  make
  sudo make install

You can use a nightly tarball of mt-daapd which works well with the Soundbridge from the nightlies node (http://nightlies.mt-daapd.org/).

untar in /opt or /usr/local/src or wherever and change to /opt/mt-daapd-cvs-200XXXXX

  ./configure --enable-browse --enable-query --with-id3tag=/usr/local
  make
  sudo make install

cd to /opt/mt-daapd-cvs-20041010/contrib and edit mt-daapd.conf to customize to your mp3 directory. I also change db_dir to /opt/mt- daapd since /var is a ramdisk. I copied the admin-root directory from /usr/local/share/mt-daapd to /opt/mt-daapd and changed web-root in mt-daapd.conf. You can do the same with the playlist file. copy mt-daapd.conf to /etc.

 *  This applies only to the current stable release, 0.2.1.1. Developer tarballs now require SQLite.


Example Startup Script

The startup script was borrowed from the nslu2 folks:

mt-daapd startup script in /etc/init.d (with a link in /etc/rc.d/rc2.d):

************************************************************

# !/bin/sh

# make sure our shared libraries are in the path.
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib

if [ -n "`pidof mt-daapd`" ] ; then

killall mt-daapd 2>/dev/null

fi

sleep 2 /usr/local/sbin/mt-daapd 2>/dev/null

************************************************************


Wrap-up

This will get it up and running, once it's scanned the library the web interface should be up at:

http://buffalo:3689

If you do

  ps -aux | grep mt-daapd 

you should see about six instances of the daemon.

If there are problems check the log in /var/log/mt-daapd.log, if you enabled it in mt-daapd.conf (run in debug mode 5 or 9 to get more verbose output).