Ik heb een how-to gemaakt over het installeren van de Slimserver (audioserver voor de audiofiele Squeezebox mediaplayer) op de CH3SNAS/DNS-323.
Het is in het engels want ik heb hem ook op andere fora gepost, ik neem aan dat dat geen probleem is. Indien wel dan hoor ik het graag om assistentie te verlenen.
This tutorial describes how to set up Slimserver on the nas. Many credits go to a member from the Slimdevices forum named Bpa who helped me with this setup:
http://forums.slimdevices.com/index.php
Step 1:
You need a fixed IP on your nas (see the configuration of your device)
Step 2: Setup telnet acces and a funplug, I used Fonz funplug 0.4, follow the instructions on:
http://www.inreto.de/dns323/fun-plug/0.4/
Step 3: If you are using the Twonky mediaserver disable the twonkystart line in your funplug in order to not run the Twonky server during install and setup. To run both see step 10
Step 4:
You need to chroot the debian etch package on the NAS. See the wiki-howto:
http://wiki.dns323.info/howto:chroot_debian
Step 5:
Reboot your nas and go via telnet to the chrooted environment: in my case the etch directory is located in /mnt/HD_a2/debian and my nas is called CH3SNAS:
# cd /mnt/HD_a2/debian
# chroot etch /bin/bash
# apt-get update
# apt-get install slimserver
The system asks if you want to install the additional packages. Answer yes. During the install a window will popup and tells you that there is the possibility to download the latest firmware for your Squeezebox, go with TAB to OK and select. Then select no, unless you don't have an always on internetconnection.
There should be no errors during installation and in the end it starts up the slimserver.
Step 6:
To be able to reach the configuration pages of the server you have to make an adjustment in the setup.
Reboot your nas and via telnet:
# vi /mnt/HD_a2/debian/etch/etc/default/slimserver
Press 'a' to enter insert mode. Change on line 7:
HTTP_ADDR=192.168.1.5 this is just an example, enter the ip of your nas
Press esc to leave insert mode and press ':wq' to save and quit
Step 7:
This assumes that you have your music-collection on the nas in a directory called: /mnt/HD_a2/music. Slimserver runs in the chrooted debian environment and is not able to see this directory. Therefor you can either move the files to within the /mnt/HD_a2/debian/etch directory or you can create a sort of shortcut (in windows terminology) to the music directory. I choose for the last option because that way your files will remain accessable via the windows explorer.
First create a folder music in the /mnt/HD_a2/debian/etch directory
# cd /mnt/HD_a2/debian/etch
# mkdir music
The command needed to make the 'shortcut' has to be put in your funplug to make it happen automatically (adapt the directories for your own situation):
mount --bind /mnt/HD_a2/music /mnt/HD_a2/debian/etch/music
I put above line immediately behind this line at the end of the funplug.
echo "* Done" >>${LOGFILE}
Step 8:
To make the Slimserver start automatically upon boot of your nas add this line to the funplug, below the line inserted in step 7.
cd /mnt/HD_a2/debian && chroot etch /etc/init.d/slimserver start >> /var/log/slimserver.log 2>&1
Step 9:
Reboot your nas and point your webbrowser at http://xxxx:9000 where you enter the ip of your nas at the xxxx
Now you will see the webinterface pages. Go to server settings and enter the music directory this way: /music
Then you can adjust/experiment with the other settings as you wish.
Step 10:
To be able to run both Twonky and Slimserver you have to adjust the http-port because both work as default on :9000. Go to the server settings and select tab 'network'. Under 'Web Server Port Number' enter your desired portnumber i.e. 9025. Next time you want to access the webinterface go to step 9 and change the 9000 in whatever you choose here.
Now you can re-enable Twonky again in your funplug and after reboot both will work.
Step 11:
If you don't own a Squeezebox yet (like me, it's on order) you can test the setup by installing Softsqueeze
https://sourceforge.net/p...files.php?group_id=105169
This is a 'software squeezebox', version 3.5 gives a warning that it does not work with this version of slimserver but it will work partially. Good enough to check if it sees the server and you can play the songs via the webinterface of the Slimserver.