ich hab ne DS109+ und da ist ja ein PPC drin.Es geht nur mit einer PPC nicht mit einer ARM CPU.
Muss mich leider als absoluter Linux-Noob outen und hab auch etwas respekt davor einfach mal so was auf meiner DS zu installieren.folgenden decoder habe ich genommen :
Konsolenversion, für Kernel 2.4.x - statisch gelinkt
wget www.onlinetvrecorder.com/downloads/otrdecoder-bin-linux24-0.4.592.tar.bz2
tar -x otrdecoder-bin-linux24-0.4.592.tar.bz2
./install.sh
sudo chmod +x otrdecoder
cd [Zielverzeichnis]
wget www.onlinetvrecorder.com/downloads/otrdecoder-bin-linux24-0.4.592.tar.bz2
tar xvjf otrdecoder-bin-linux24-0.4.592.tar.bz2
#!/bin/sh
[ -x ~/bin ] || mkdir ~/bin
echo Creating links to the binaries in ~/bin
ln -is $PWD/otrdecoder-gui ~/bin/otrdecoder-gui
=> gelöscht
ln -is $PWD/otrdecoder ~/bin/otrdecoder
echo Make sure that ~/bin is in your PATH.
echo After that you can start the decoder gui from anywhere with the command
echo -e "\totrdecoder-gui"
=> gelöscht
echo and the commandline version with
echo -e "\totrdecoder"
echo Have fun!
Creating links to the binaries in /root/bin
ln: invalid option -- i
BusyBox v1.1.0 (2009.09.03-17:10+0000) multi-call binary
Usage: ln [OPTION] TARGET... LINK_NAME|DIRECTORY
Hallo,
das mit der Ordern und Pfaden macht erst Sinn wenn das Binary wirklich läuft. Testen kannst Du es wohl nur mit dem korrekten Aufruf ala
./otrdecoder -e zedaneeatgmx.de -p XXYXY -i /volume1/public/ZZ_Top_Live_From_Texas_08.12.31_14-45_3sat_45_TVOON_DE.mpg.avi.otrkey
Wenn das klappt und Du ipkg istalliert hast würde ich die Dateien einfach nach /opt/bin verschieben.
Gruß Götz
DS109plus> ipkg list qemu
qemu - 0.8.0-1 - A portable machine emulator.
Successfully terminated.
DS109plus> ipkg install qemu
Installing qemu (0.8.0-1) to root...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/syno-e500/cross/unstable/qemu_0.8.0-1_powerpc.ipk
qemu: unsatisfied recommendation for kernel-module-binfmt-misc
Installing zlib (1.2.3-3) to root...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/syno-e500/cross/unstable/zlib_1.2.3-3_powerpc.ipk
Installing sdl (1.2.11-2) to root...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/syno-e500/cross/unstable/sdl_1.2.11-2_powerpc.ipk
Installing x11 (6.2.1+cvs20050209-3) to root...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/syno-e500/cross/unstable/x11_6.2.1+cvs20050209-3_powerpc.ipk
Installing xau (0.1.1+cvs20050130-2) to root...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/syno-e500/cross/unstable/xau_0.1.1+cvs20050130-2_powerpc.ipk
Installing xdmcp (0.1.3+cvs20050130-2) to root...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/syno-e500/cross/unstable/xdmcp_0.1.3+cvs20050130-2_powerpc.ipk
Installing xext (6.4.3+cvs20050130-2) to root...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/syno-e500/cross/unstable/xext_6.4.3+cvs20050130-2_powerpc.ipk
Configuring qemu
Configuring sdl
Configuring x11
Configuring xau
Configuring xdmcp
Configuring xext
Configuring zlib
Successfully terminated.
DS109plus> cd /volume1/Temp_Downloadstation/otrdecoder-bin-linux24-0.4.592/
DS109plus> ./otrdecoder
./otrdecoder: ./otrdecoder: 1: Syntax error: "(" unexpected
wow! Und woher weiß man sowas?
DS-106> file otrdecoder
otrdecoder: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.4.3, stripped
DS109plus> qemu linux-0.2.img
Could not initialize SDL - exiting
DS109plus> qemu-img create -f qcow otrpc2.img 3G
Formating 'otrpc2.img', fmt=qcow, size=3145728 kB
DS109plus> qemu -hda otrpc2.img -cdrom /volume1/Temp_Downloadstation/Fedora-11-i686-Live.iso -boot d
Could not initialize SDL - exiting
bash - 3.2.49-1 - A bourne style shell
file - 5.03-1 - Ubiquitous file identification utility.
libexif - 0.6.17-1 -
python - 2.5-1 - This is a package that sets up the default python.
python25 - 2.5.4-2 - Python is an interpreted, interactive, object-oriented programming language.
qemu - 0.8.0-1 - A portable machine emulator.
qemu-libc-i386 - 2.3.6-1 - GNU/linux i386 libraries for use with qemu
qemu-user - 0.8.0-1 - A portable machine emulator.
readline - 6.0-1 - The GNU Readline library provides a set of functions for use by applications that allow users to edit command lines as they are
sdl - 1.2.11-2 - Simple direct media library.
wget - 1.12-2 - A network utility to retrieve files from the Web
x11 - 6.2.1+cvs20050209-3 - X protocol library
xau - 0.1.1+cvs20050130-2 - X authorization library
xdmcp - 0.1.3+cvs20050130-2 - XDMCP protocol library
xext - 6.4.3+cvs20050130-2 - X extensions library
zlib - 1.2.3-3 - zlib is a library implementing the 'deflate' compression system.
Successfully terminated.
#!/opt/bin/bash
pushd /root
export LD_LIBRARY_PATH=/lib/
INPUT="/volume1/public/*.otrkey"
OUTPUT=/volume1/public/Filme/
EMAIL=zedanee@gmx.de
PASS=XXXXXXX
FILES="$(ls $INPUT)"
ls $INPUT| while read f;
do
echo "Processing $f file..."
# take action on each file. $f store current file name
TARGET=$OUTPUT$(basename "$f" .otrkey)
if [ -f $TARGET ]
then
echo "$TARGET exists"
else
echo "starting otrdecoder"
otrdecoder -e $EMAIL -p $PASS -i $f -o $OUTPUT
echo rm -rf $f
fi
done
export LD_LIBRARY_PATH=/lib/
qemu-i386 /opt/otr/otrdecoder-bin-linux24-static-0.4.995/otrdecoder -h
ipkg install qemu
DS109plus> ./otrdecoder
Decoder for otrkey files.
Usage: ./otrdecoder [global options] [-i FILE|URL [input options]] ...
global options:
-h prints this screen
-v prints version
-e EMAIL use EMAIL to fetch the key directly from otr
...
DS109plus> sh otr_test_20100109.sh
otr_test_20100109.sh: otr_test_20100109.sh: 2: pushd: not found
Processing /volume1/Temp_Downloadstation/otrkey/How_I_Met_Your_Mother_09.12.19_15-35_pro7_30_TVOON_DE.mpg.avi.otrkey file...
starting otrdecoder
qemu: uncaught target signal 11 (Segmentation fault) - exiting
DS109plus> EMAIL=xxxx@gmx.net
DS109plus> PW=xxxx
DS109plus> QUELLE=/volume1/Tempdownloadstation/otrkey/How_I_Met_Your_Mother_09.12.19_15-35_pro7_30_TVOON_DE.mpg.avi.otrkey
DS109plus> qemu-i386 ./otrdecoder -e $EMAIL -p $PW -i $QUELLE
qemu: uncaught target signal 11 (Segmentation fault) - exiting
Another difference between Scratchbox and device is that Scratchbox environment provides the normal GNU tools (they are required for building most Debian packages), but the device base system uses Busybox[1] instead which has some incompatibilities with the GNU tools (missing binaries and command line options). This can be significant if your software uses shell scripts, but keeping to POSIX standard utilities/syntax/command line options should be (fairly) safe.
export LD_LIBRARY_PATH=/lib/
qemu-i386 ./otrdecoder -e deineemail -p deinpw -i /volume1/public/dein.otrkey
ipkg install bash
chmod +x skript.sh
Wenn du das Forum hilfreich findest oder uns unterstützen möchtest, dann gib uns doch einfach einen Kaffee aus.
Als Dankeschön schalten wir deinen Account werbefrei.