The
DP-500 from KISS
is a DVD player which can steam MP3 and DivX via a 10/100Mbps Ethernet
Connection. The DP-500 only comes with a MS Windows application to do the
configuration and act like the gateway between the DP-500 and your music and
video archive. Fortunately someone has created an alternative application which can run on your SME
box.
First
you need to install Java which can be downloaded from SUN at (http://java.sun.com/getjava/manual.html)
or the RPM directly from me. Then you create a symlink for ease of use.
[root@e-smith]#
wget http://sme.swerts-knudsen.dk/downloads/j2re-1_4_2_01-linux-i586.rpm
[root@e-smith]#
rpm -ivh j2re-1_4_2_01-linux-i586.rpm
[root@e-smith]#
ln -s /usr/java/j2re1.4.2_01/bin/java /usr/bin/java
Now
we are ready to install the HellLink Java application. I have placed the un-tared
archive in /home/dp-500
[root@e-smith]#
cd /home
[root@e-smith]#
mkdir dp-500
[root@e-smith]#
cd dp-500
[root@e-smith]#
wget
http://sme.swerts-knudsen.dk/downloads/DP-500/HellLinkv048.zip
[root@e-smith]#
unzip HellLinkv02.zip
Now
in order to get HellLink to create an initial configuration file you should
active HellLink. It will generate errors as no config file exists. When loaded
press CTRL-C to terminate HellLnk
[root@e-smith]#
java -cp /home/dp-500/HellLink/ sf.jlink.JLink -nolaf -g
Hell Link 0.2
Error: Error loading configfile HLink.conf
Error: Error loading configfile HLink.conf
Time
to alter the newly generated configuration file (HLink.conf)
which contains information on where you have your pictures, music and films
located. Add the following entries in the bottom of the file with your preferred
editor (e.g. PICO). You can have multiple mounts of each type if you wish.
mount0=/AUDIO;/home/e-smith/files/ibays/music/files;-
mount1=/VIDEO;/home/e-smith/files/ibays/films/files;-
mount2=/PICTURE;/home/e-smith/files/ibays/pictures/files;-
mount1=/VIDEO;/home/e-smith/files/ibays/films/files;-
mount2=/PICTURE;/home/e-smith/files/ibays/pictures/files;-
Press
CTRL-X and y (for yes) to save and exit.
Now
you should be able to start HellLink without errors:
[root@e-smith]#
java -cp /home/dp-500/HellLink/ sf.jlink.JLink -nolaf -g
Hell Link 0.48
(you
can now test your installation and press CTRL-C when done)
Now
create
a "batch" file where we can place all the parameters needed to launch
the HellLink Java script. Paste the following text into a batch file (ex.
DP-500). The "&" ensures that the program is issued as a
background task.
[root@e-smith]#
pico /root/dp-500
cd
/home/dp-500/HellLink
java -cp /home/dp-500/HellLink/ sf.jlink.JLink -nolaf -g &
java -cp /home/dp-500/HellLink/ sf.jlink.JLink -nolaf -g &
Press
CTRL-X and y (for yes) to save and exit.
Now
you just need to execute the file
[root@e-smith]#
chmod 755 dp-500
[root@e-smith]# ./dp-500
ไม่มีความคิดเห็น:
แสดงความคิดเห็น