This is a media server application that runs on NSLU2 and is configured to serve the DVX-500 E from Trans-Technology. The server can be used as a replacement or in addition to the original PC MediaServer.
http://www.mpcclub.com/modules.php?n...oad&cid=51#cat
Installation Instruction:
Install and Configure NSLU2
--------------------------------
Requirements: I assume your NSLU2 is unslung (tested with firmware V2.3R25-uNSLUng-standard-2.12-beta) and telnet is enabled. If this is not done yet please follow instructions in Jim Buzbeeīs article on
http://www.tomsnetworking.com/Sectio...le93-page1.php or search the Net for the keyword unslung to find further information.
1. unzip and untar the file to a desired location (To get the downloaded file to your NSLU2 you can place it in the shared directory, go to your telnet window and move the file from the shared directory to the desired directory)
2. go to the wiz_daemon directory and edit ./opt/etc/init.d/S99_wizd (path to wiz_daemon and webroot for my_thttpd must be edited)
3. copy the file to /opt/etc/init.d/S99_wizd (this will later start your server when booting up the NSLU2)
4. edit wizd.conf as needed (choose same webroot as above for wizd)
Note: not all parameters in the wizd.conf file are clear to me since the comments are illegible to me (japanese) The original development comes from
http://www.geocities.co.jp/SiliconValley-SanJose/3271/ (use a translator to get a clue). Anyway, lots of the parameters have self-speaking names that you can find in the wizd.conf
5. go to the directory skin/default and modify head.html and tail.html(they include the IP-Adress of my_thttpd hardcoded)
Note: this is an easy way to combine thttpd and wizd. You can configure this different if you do not want to use a second thttpd server (to do so remove the hardcoded IP:8000 from the files). I used the my_thttpd to handle index.html files in the directories (have a look at the webroot example that comes with the file).
6. fill the webdirectories with life (your pictures,movies and music)
7. run /opt/etc/init.d/S99_wizd to start services
8. open a browser to check
http://your_IP:8000 is the httpd,
http://your_IP:8001 is the wizd.
Configure your DVX-500E
----------------------------
go to the Login Window and add a new Server
name: NSLU2 (or whatever you like)
address:
http://your_IP
connect as default: x
Note: the DVX-500E assumes the server to be at port 8000 (in my case the my_thttpd). Since index.html is the default this page is loaded. If you want to use a different port the address of the mediaserver has to be written
http://your_IP
ortnumber inside DVX-500E Setup.
If you now start your DVX-500 E you should automatically see the page on the NSLU2
-----------------------------------------------------------
Customization:
-----------------
index.html
when you edit the index.html file to modify the existing content or add new content be aware that Windows-Editors do not show the Webpage like it will be displayed on the DVX-500E.
index.html (redirection files)
The index.html files within the webroot are for redirection. To edit the target please edit the appropriate index.html file
skin
The skin templates contain keywords that control the look. To learn more about these keywords, please look into source/wizd_menu.c to get an overview. The default skin contains also specific SYABAS and tvid parameters that are adjusted to DVX-500 E. If you want to use different skins or build your own please apply the changes needed.
----------------------------------------------------------------------------------
additional sources for development
----------------------------------------
original version (to track my changes in detail)
automatic conversion of unsupported formats
I played around and tried do implement an automatic file-conversion using ImageMagick convert(source_modified_for_convert.tar.gz shows what I tried for .gif extension). This worked fine with small files but converting larger pictures resulted in memoryproblems and blocked the NSLU2 for a long while. Maybe somone wants to play with it and implement a more professional ImageMagick usage.]