Pyload auf Fritzbox 7270 - möglich?

Ich habe die Originale Firmware-Version 84.05.05 (war vorinstalliert)
Wie viel Platz brauch ich denn?
und damit installiere ich dann was ? nur python an sich?
 
Zuletzt bearbeitet:
Die Firmware sollte in Ordnung sein.
Du brauchst nicht so viel Platz. Ich glaube sogar der RAM der 7390 würde ausreichen. Aber nimm einfach das Verzeichnis /var/InternerSpeicher/

Mit den Befehlen installierst du, falls es klappt, PyLoad und seine Abhängigkeiten.
 
Danke schonmal soweit.
Nur noch zwei weitere Fragen:
1. Wie ist die Weboberfläche dann ereichbar?
2. Wie kann ich das ganze wider Deinstallieren?
 
Ich hab es gerade versucht:

Code:
BusyBox v1.16.1 (2011-02-14 11:14:59 CET) built-in shell (ash)
Enter 'help' for a list of built-in commands.

ermittle die aktuelle TTY
tty is "/dev/pts/0"
Console Ausgaben auf dieses Terminal umgelenkt
# cd /var/InternerSpeicher/
# wget -O openwrt-chroot.sh http://pastebin\.com/raw.php\?i=fqQTsTSz
sh
opkg install pyloadConnecting to **********com (69.65.13.216:80)
openwrt-chroot.sh    100% |*******************************|  2177  --:--:-- ETA
# sh openwrt-chroot.sh
: not foundoot.sh: line 2:
: not foundoot.sh: line 6:
: not foundoot.sh: line 9:
Updating package list...
wget: bad header line: <head><title>400 Bad Request</title></head>
: not foundoot.sh: line 13:
: not foundoot.sh: line 17:
openwrt-chroot.sh: line 18: installpackages: not found
: not foundoot.sh: line 18: failed
.oot file system successfully created under ./openwrt-trunk-ar71xx
openwrt-chroot.sh: return: line 22: Illegal number: 0
# opkg install pyload
-sh: opkg: not found
#


Jetzt habe ich auf dem Router 2 Ordner, die sich nicht löschen lassen... "openwrt-trunk-ar71xx" und "pkgcache" irgend eine Idee?
 
Zuletzt bearbeitet:
Hmm, da stimmen wohl die Zeilenenden nicht. Dann verändert sich eben das Vorgehen
Code:
wget -O openwrt-chroot.sh http://pastebin\.com/raw.php\?i=fqQTsTSz
sed -i 's/.$//' openwrt-chroot.sh
sh openwrt-chroot.sh
opkg install pyload

Zu deinen Fragen: Deinstallieren kannst du das ganze durch Löschen. Die Weboberfläche ist so erstmal gar nicht erreichbar. Du musst erst "pyload" aufrufen, und PyLoad konfigurieren.

Die beiden Ordner kannst du mit
Code:
rm -rf openwrt-trunk-ar71xx* pkgcache*
löschen.

Ok, wenn das Entpacken nicht klappt, muss das Skript modifiziert werden. Man könnte zusätzlich noch eine Busybox runterladen, die Entpacken kann oder du installierst Freetz...
 
Zuletzt bearbeitet:
Funktrioniert anscheinend mit dem Download jetzt soweit, nur dass bei entpacken irgendwas nicht klappt, so wie ich das sehe:


Code:
BusyBox v1.16.1 (2011-02-14 11:14:59 CET) built-in shell (ash)
Enter 'help' for a list of built-in commands.

ermittle die aktuelle TTY
tty is "/dev/pts/0"
Console Ausgaben auf dieses Terminal umgelenkt
# cd /var/InternerSpeicher/
# wget -O openwrt-chroot.sh http://pastebin\.com/raw.php\?i=fqQTsTSz
 -i 's/.$//' openwrt-chroot.sh
sh openwrt-chroot.sh
opkg install pyloadConnecting to **********com (69.65.13.216:80)
openwrt-chroot.sh    100% |*******************************|  2177  --:--:-- ETA
# sed -i 's/.$//' openwrt-chroot.sh
# sh openwrt-chroot.sh
Updating package list...
Downloading libc_0.9.33-103_ar71xx.ipk...
Connecting to downloads.openwrt.org (78.24.191.177:80)
libc_0.9.33-103_ar71 100% |*******************************|   219k --:--:-- ETA
Extracting libc_0.9.33-103_ar71xx.ipk...
tar: invalid option -- z
tar: invalid option -- z
BusyBox v1.16.1 (2011-02-14 11:14:59 CET) multi-call binary.

Usage: tar -[cxtvO] [-X FILE] [-f TARFILE] [-C DIR] [FILE]...

Create, extract, or list files from a tar file

Options:
        c       Create
        x       Extract
        t       List
Archive format selection:
File selection:
        f       Name of TARFILE or "-" for stdin
        O       Extract to stdout
        exclude File to exclude
        X       File with names to exclude
        C       Change to DIR before operation
        v       Verbose

BusyBox v1.16.1 (2011-02-14 11:14:59 CET) multi-call binary.

Usage: tar -[cxtvO] [-X FILE] [-f TARFILE] [-C DIR] [FILE]...

Create, extract, or list files from a tar file

Options:
        c       Create
        x       Extract
        t       List
Archive format selection:
File selection:
        f       Name of TARFILE or "-" for stdin
        O       Extract to stdout
        exclude File to exclude
        X       File with names to exclude
        C       Change to DIR before operation
        v       Verbose

Error creating root file system.
# opkg install pyload
-sh: opkg: not found
#


Und wie werde ich die Ordner auf der Box wieder los? gibt es da auch irgendeinen Befehl? weil die sich weder über den Win Explorer noch über fritz.nas/ löschen lassen
Wenn ich diese Ordner über Telnet mir "rmdir" löschen will steht immer da "No such file or directory"
 
Zuletzt bearbeitet:
Ich habe mal die Option z im Skript entfernt:
Code:
rm -rf openwrt-trunk-ar71xx* pkgcache*
wget -O openwrt-chroot.sh http://pastebin\.com/raw.php\?i=V2fdhB4V
sed -i 's/.$//' openwrt-chroot.sh
sh openwrt-chroot.sh
opkg install pyload
 
Danke! Jetzt ist die Installation ohne Probleme durchgelaufen! :mrgreen:

Wie kann ich jetzt pyload starten, konfigurieren und so einrichten dass ich ins Webinterface komme und er auf den angeschlossenen USB Stick downloadet?
 
Du kannst erstmal folgendes probieren:
Code:
sh openwrt-chroot.sh
pyload
Danach konfigurierst du alles und führst danach pyload noch mal aus und testest, ob das Webinterface erreichbar ist.

Falls dies geklappt hat, kannst du ein neues Terminal öffnen und folgendes probieren.
Code:
export HOME=/var/InternerSpeicher
ln -s /var/InternerSpeicher/openwrt-trunk-ar71xx /var/openwrt
export PATH=/var/openwrt/usr/bin:$PATH
export LD_LIBRARY_PATH=/var/openwrt/usr/lib:/var/openwrt/lib:$LD_LIBRARY_PATH
export PYTHONHOME=/var/openwrt/usr
python /var/openwrt/usr/share/python/pyload/pyLoadCore.py
und konfigurierst wieder alles.
 
Leider haben beide Versuche nicht geklappt.
Wenn ich das erste Ausführe kommt folgendes:

Code:
# cd /var/InternerSpeicher
# sh openwrt-chroot.sh
sh: '/var/openwrt/lib/libc.so.0' library contains unsupported TLS
Mounting dev, proc, sys...
mount: '/var/openwrt/lib/libc.so.0' library contains unsupported TLS
mount: '/var/openwrt/lib/libc.so.0' library contains unsupported TLS
mount: '/var/openwrt/lib/libc.so.0' library contains unsupported TLS
Entering chroot. Type exit to leave.
chroot: '/var/openwrt/lib/libc.so.0' library contains unsupported TLS


BusyBox v1.19.3 (2012-02-28 21:11:58 MST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/ # pyload
'import site' failed; use -v for traceback
Traceback (most recent call last):
  File "/usr/bin/pyload", line 27, in <module>
    from getopt import getopt, GetoptError
ImportError: No module named getopt
/ #

Beim zweiten Versuch:

Code:
tty is "/dev/pts/0"
Console Ausgaben auf dieses Terminal umgelenkt
# export HOME=/var/InternerSpeicher
# ln -s /var/InternerSpeicher/openwrt-trunk-ar71xx /var/openwrt
# export PATH=/var/openwrt/usr/bin:$PATH
# export LD_LIBRARY_PATH=/var/openwrt/usr/lib:/var/openwrt/lib:$LD_LIBRARY_PATH
# export PYTHONHOME=/var/openwrt/usr
# python /var/openwrt/usr/share/python/pyload/pyLoadCore.py
python: '/var/openwrt/lib/libc.so.0' library contains unsupported TLS
python: '/var/openwrt/lib/libc.so.0' library contains unsupported TLS
python: '/var/openwrt/lib/libc.so.0' library contains unsupported TLS
python: '/var/openwrt/lib/libc.so.0' library contains unsupported TLS
python: '/var/openwrt/lib/libc.so.0' library contains unsupported TLS
python: '/var/openwrt/lib/libc.so.0' library contains unsupported TLS
python: '/var/openwrt/lib/libc.so.0' library contains unsupported TLS

python: symbol 'errno': can't handle reloc type 0x2f in lib '/var/openwrt/lib/li
bpthread.so.0'
#
 
Danke schonmal für die Hilfe! :D Aber da ich in diesem Bereich noch nicht wirklich Ahnung habe:
könntest du mir nochmal Beschreiben was genau ich machen muss (also was vorhanden sein muss etc. damit ich pyload zum Laufen bringe)

ich meine keine Anleitung sondern z.B. 1. Installation von OprWare 2. Installation von Python .. oder was auch immer ich brauche.
Den Rest krieg ich dann alleine hin.
 
Wie ist denn jetzt mit pyLoad in Freetz Integration der Stand der Dinge?

Möchte es auf einer 7270 installieren und dann mit dem pyLoad Android Clienten steuern :)

Evtl. können wir mit vereinten Kräften das ganze in Freetz integrieren so dass die ganze Sache einfacher wird.
 
Wirklich keiner da der das in Freetz integrieren möchte?
 
Ich habe mal die Option z im Skript entfernt:
Code:
rm -rf openwrt-trunk-ar71xx* pkgcache*
wget -O openwrt-chroot.sh http://pastebin\.com/raw.php\?i=V2fdhB4V
sed -i 's/.$//' openwrt-chroot.sh
sh openwrt-chroot.sh
opkg install pyload

bin noch neu,
hab es jetzt geschafft freetz-1.2_rc2 auf meine fritz.box 3131 zu installieren.
hab außerdem die pakete: ntfs, USBRoot (wohl doch nicht nötig) & wget (ohne ssl)

in freetz die warnmeldungen abgeschaltet und telnetd gestartet..
mit putty per telnet verbunden root:freetz

wechsel auf usb stick
Code:
cd /var/media/ftp/uStor01/

neuen ordner erstellt:
Code:
mkdir py

is klar, weiter mit der installation von pyload...

Code:
rm -rf openwrt-trunk-ar71xx* pkgcache*
wget -O openwrt-chroot.sh http://pastebin\.com/raw.php\?i=V2fdhB4V  //hier passiert schon nichts außer connecting ... muss der backslash vor .com sein ?
sed -i 's/.$//' openwrt-chroot.sh
sh openwrt-chroot.sh

da ist dann leider auch schon ende :( hab schon probiert chmod 755 py aber mit gleichem ergebnis..
irgendwie hab ich wohl nicht die nötigen rechte..

hier der auszug:
Code:
root@fritz:/var/media/ftp/uStor01# cd py
root@fritz:/var/media/ftp/uStor01/py# rm -rf openwrt-trunk-ar71xx* pkgcache*
root@fritz:/var/media/ftp/uStor01/py# wget -O openwrt-chroot.sh http://pastebin\.com/raw.php\?i=V2fdhB4V
Connecting to **********com (72.20.36.113:80)
root@fritz:/var/media/ftp/uStor01/py# sed -i 's/.$//' openwrt-chroot.sh
root@fritz:/var/media/ftp/uStor01/py# sh openwrt-chroot.sh
Updating package list...
Downloading libc_0.9.33.2-109_ar71xx.ipk...
Connecting to downloads.openwrt.org (78.24.191.177:80)
Extracting libc_0.9.33.2-109_ar71xx.ipk...
tar: can't create symlink from ./lib/libcrypt.so.0 to libcrypt-0.9.33.2.so: Operation not permitted
tar: can't create symlink from ./lib/libdl.so.0 to libdl-0.9.33.2.so: Operation not permitted
tar: can't create symlink from ./lib/libm.so.0 to libm-0.9.33.2.so: Operation not permitted
tar: can't create symlink from ./lib/ld-uClibc.so.0 to ld-uClibc-0.9.33.2.so: Operation not permitted
tar: can't create symlink from ./lib/libutil.so.0 to libutil-0.9.33.2.so: Operation not permitted
tar: can't create symlink from ./lib/libc.so.0 to libuClibc-0.9.33.2.so: Operation not permitted
Downloading libgcc_4.6-linaro-109_ar71xx.ipk...
Connecting to downloads.openwrt.org (78.24.191.177:80)
Extracting libgcc_4.6-linaro-109_ar71xx.ipk...
Downloading busybox_1.19.4-1_ar71xx.ipk...
Connecting to downloads.openwrt.org (78.24.191.177:80)
Extracting busybox_1.19.4-1_ar71xx.ipk...
tar: can't create symlink from ./usr/bin/tee to ../../bin/busybox: Operation not permitted
tar: can't create symlink from ./usr/bin/[ to ../../bin/busybox: Operation not permitted
tar: can't create symlink from ./usr/bin/less to ../../bin/busybox: Operation not permitted
tar: can't create symlink from ./usr/bin/test to ../../bin/busybox: Operation not permitted
tar: can't create symlink from ./usr/bin/seq to ../../bin/busybox: Operation not permitted
tar: can't create symlink from ./usr/bin/cut to ../../bin/busybox: Operation not permitted
tar: can't create symlink from ./usr/bin/pkill to ../../bin/busybox: Operation not permitted
tar: can't create symlink from ./usr/bin/md5sum to ../../bin/busybox: Operation not permitted
tar: can't create symlink from ./usr/bin/crontab to ../../bin/busybox: Operation not permitted
tar: can't create symlink from ./usr/bin/nslookup to ../../bin/busybox: Operation not permitted
tar: can't create symlink from ./usr/bin/uptime to ../../bin/busybox: Operation not permitted
tar: can't create symlink from ./usr/bin/yes to ../../bin/busybox: Operation not permitted
tar: can't create symlink from ./usr/bin/which to ../../bin/busybox: Operation not permitted
tar: can't create symlink from ./usr/bin/wget to ../../bin/busybox: Operation not permitted
tar: can't create symlink from ./usr/bin/free to ../../bin/busybox: Operation not permitted
tar: can't create symlink from ./usr/bin/bzcat to ../../bin/busybox: Operation not permitted
tar: can't create symlink from ./usr/bin/nc to ../../bin/busybox: Operation not permitted
tar: can't create symlink from ./usr/bin/expr to ../../bin/busybox: Operation not permitted
tar: can't create symlink from ./usr/bin/env to ../../bin/busybox: Operation not permitted
tar: can't create symlink from ./usr/bin/bunzip2 to ../../bin/busybox: Operation not permitted
tar: can't create symlink from ./usr/bin/traceroute to ../../bin/busybox: Operation not permitted
tar: can't create symlink from ./usr/bin/awk to ../../bin/busybox: Operation not permitted
tar: can't create symlink from ./usr/bin/du to ../../bin/busybox: Operation not permitted
tar: can't create symlink from ./usr/bin/strings to ../../bin/busybox: Operation not permitted
tar: can't create symlink from ./usr/bin/mkfifo to ../../bin/busybox: Operation not permitted
tar: can't create symlink from ./usr/bin/pgrep to ../../bin/busybox: Operation not permitted
tar: can't create symlink from ./usr/bin/printf to ../../bin/busybox: Operation not permitted
tar: can't create symlink from ./usr/bin/head to ../../bin/busybox: Operation not permitted
tar: can't create symlink from ./usr/bin/hostid to ../../bin/busybox: Operation not permitted
tar: can't create symlink from ./usr/bin/tail to ../../bin/busybox: Operation not permitted
tar: can't create symlink from ./usr/bin/clear to ../../bin/busybox: Operation not permitted
tar: can't create symlink from ./usr/bin/top to ../../bin/busybox: Operation not permitted
tar: can't create symlink from ./usr/bin/uniq to ../../bin/busybox: Operation not permitted
tar: can't create symlink from ./usr/bin/logger to ../../bin/busybox: Operation not permitted
tar: can't create symlink from ./usr/bin/cmp to ../../bin/busybox: Operation not permitted
tar: can't create symlink from ./usr/bin/find to ../../bin/busybox: Operation not permitted
tar: can't create symlink from ./usr/bin/time to ../../bin/busybox: Operation not permitted
tar: can't create symlink from ./usr/bin/tr to ../../bin/busybox: Operation not permitted
tar: can't create symlink from ./usr/bin/basename to ../../bin/busybox: Operation not permitted
tar: can't create symlink from ./usr/bin/arping to ../../bin/busybox: Operation not permitted
tar: can't create symlink from ./usr/bin/passwd to ../../bin/busybox: Operation not permitted
tar: can't create symlink from ./usr/bin/sort to ../../bin/busybox: Operation not permitted
tar: can't create symlink from ./usr/bin/wc to ../../bin/busybox: Operation not permitted
tar: can't create symlink from ./usr/bin/xargs to ../../bin/busybox: Operation not permitted
tar: can't create symlink from ./usr/bin/id to ../../bin/busybox: Operation not permitted
tar: can't create symlink from ./usr/bin/telnet to ../../bin/busybox: Operation not permitted
tar: can't create symlink from ./usr/bin/dirname to ../../bin/busybox: Operation not permitted
tar: can't create symlink from ./usr/bin/hexdump to ../../bin/busybox: Operation not permitted
tar: can't create symlink from ./usr/bin/reset to ../../bin/busybox: Operation not permitted
tar: can't create symlink from ./usr/bin/[[ to ../../bin/busybox: Operation not permitted
tar: can't create symlink from ./usr/bin/killall to ../../bin/busybox: Operation not permitted
tar: can't create symlink from ./usr/sbin/chroot to ../../bin/busybox: Operation not permitted
tar: can't create symlink from ./usr/sbin/telnetd to ../../bin/busybox: Operation not permitted
tar: can't create symlink from ./usr/sbin/ntpd to ../../bin/busybox: Operation not permitted
tar: can't create symlink from ./usr/sbin/brctl to ../../bin/busybox: Operation not permitted
tar: can't create symlink from ./usr/sbin/crond to ../../bin/busybox: Operation not permitted
tar: can't create symlink from ./bin/touch to busybox: Operation not permitted
tar: can't create symlink from ./bin/ash to busybox: Operation not permitted
tar: can't create symlink from ./bin/egrep to busybox: Operation not permitted
tar: can't create symlink from ./bin/sh to busybox: Operation not permitted
tar: can't create symlink from ./bin/mkdir to busybox: Operation not permitted
tar: can't create symlink from ./bin/true to busybox: Operation not permitted
tar: can't create symlink from ./bin/chgrp to busybox: Operation not permitted
tar: can't create symlink from ./bin/cat to busybox: Operation not permitted
tar: can't create symlink from ./bin/date to busybox: Operation not permitted
tar: can't create symlink from ./bin/zcat to busybox: Operation not permitted
tar: can't create symlink from ./bin/ls to busybox: Operation not permitted
tar: can't create symlink from ./bin/dd to busybox: Operation not permitted
tar: can't create symlink from ./bin/ln to busybox: Operation not permitted
tar: can't create symlink from ./bin/ping6 to busybox: Operation not permitted
tar: can't create symlink from ./bin/uname to busybox: Operation not permitted
tar: can't create symlink from ./bin/chown to busybox: Operation not permitted
tar: can't create symlink from ./bin/mktemp to busybox: Operation not permitted
tar: can't create symlink from ./bin/netstat to busybox: Operation not permitted
tar: can't create symlink from ./bin/mv to busybox: Operation not permitted
tar: can't create symlink from ./bin/gzip to busybox: Operation not permitted
tar: can't create symlink from ./bin/sync to busybox: Operation not permitted
tar: can't create symlink from ./bin/echo to busybox: Operation not permitted
tar: can't create symlink from ./bin/chmod to busybox: Operation not permitted
tar: can't create symlink from ./bin/false to busybox: Operation not permitted
tar: can't create symlink from ./bin/df to busybox: Operation not permitted
tar: can't create symlink from ./bin/ps to busybox: Operation not permitted
tar: can't create symlink from ./bin/mknod to busybox: Operation not permitted
tar: can't create symlink from ./bin/grep to busybox: Operation not permitted
tar: can't create symlink from ./bin/pidof to busybox: Operation not permitted
tar: can't create symlink from ./bin/fgrep to busybox: Operation not permitted
tar: can't create symlink from ./bin/mount to busybox: Operation not permitted
tar: can't create symlink from ./bin/sed to busybox: Operation not permitted
tar: can't create symlink from ./bin/ping to busybox: Operation not permitted
tar: can't create symlink from ./bin/kill to busybox: Operation not permitted
tar: can't create symlink from ./bin/cp to busybox: Operation not permitted
tar: can't create symlink from ./bin/umount to busybox: Operation not permitted
tar: can't create symlink from ./bin/gunzip to busybox: Operation not permitted
tar: can't create symlink from ./bin/netmsg to busybox: Operation not permitted
tar: can't create symlink from ./bin/vi to busybox: Operation not permitted
tar: can't create symlink from ./bin/sleep to busybox: Operation not permitted
tar: can't create symlink from ./bin/dmesg to busybox: Operation not permitted
tar: can't create symlink from ./bin/lock to busybox: Operation not permitted
tar: can't create symlink from ./bin/rm to busybox: Operation not permitted
tar: can't create symlink from ./bin/tar to busybox: Operation not permitted
tar: can't create symlink from ./bin/pwd to busybox: Operation not permitted
tar: can't create symlink from ./bin/nice to busybox: Operation not permitted
tar: can't create symlink from ./bin/rmdir to busybox: Operation not permitted
tar: can't create symlink from ./sbin/init to ../bin/busybox: Operation not permitted
tar: can't create symlink from ./sbin/reboot to ../bin/busybox: Operation not permitted
tar: can't create symlink from ./sbin/insmod to ../bin/busybox: Operation not permitted
tar: can't create symlink from ./sbin/klogd to ../bin/busybox: Operation not permitted
tar: can't create symlink from ./sbin/logread to ../bin/busybox: Operation not permitted
tar: can't create symlink from ./sbin/pivot_root to ../bin/busybox: Operation not permitted
tar: can't create symlink from ./sbin/syslogd to ../bin/busybox: Operation not permitted
tar: can't create symlink from ./sbin/hwclock to ../bin/busybox: Operation not permitted
tar: can't create symlink from ./sbin/vconfig to ../bin/busybox: Operation not permitted
tar: can't create symlink from ./sbin/route to ../bin/busybox: Operation not permitted
tar: can't create symlink from ./sbin/start-stop-daemon to ../bin/busybox: Operation not permitted
tar: can't create symlink from ./sbin/lsmod to ../bin/busybox: Operation not permitted
tar: can't create symlink from ./sbin/poweroff to ../bin/busybox: Operation not permitted
tar: can't create symlink from ./sbin/sysctl to ../bin/busybox: Operation not permitted
tar: can't create symlink from ./sbin/ifconfig to ../bin/busybox: Operation not permitted
tar: can't create symlink from ./sbin/watchdog to ../bin/busybox: Operation not permitted
tar: can't create symlink from ./sbin/udhcpc to ../bin/busybox: Operation not permitted
tar: can't create symlink from ./sbin/rmmod to ../bin/busybox: Operation not permitted
tar: can't create symlink from ./sbin/switch_root to ../bin/busybox: Operation not permitted
tar: can't create symlink from ./sbin/halt to ../bin/busybox: Operation not permitted
Downloading opkg_618-2_ar71xx.ipk...
Connecting to downloads.openwrt.org (78.24.191.177:80)
Extracting opkg_618-2_ar71xx.ipk...
Root file system successfully created under ./openwrt-trunk-ar71xx.
chroot: can't execute 'opkg': No such file or directory
chroot: can't execute 'opkg': No such file or directory
Mounting dev, proc, sys...
Entering chroot. Type exit to leave.
chroot: can't execute '/bin/sh': No such file or directory
Unmounting dev, proc, sys...
Bye
root@fritz:/var/media/ftp/uStor01/py# wget -O openwrt-chroot.sh http://**********com/raw.php\?i=V2fdhB4V
Connecting to **********com (72.20.36.113:80)
root@fritz:/var/media/ftp/uStor01/py#


werde als nächstes mal diese anleitung probieren
http://wl500g.info/showthread.php?21826-How-To-pyload-installieren

//edit klappt nicht, kein ipkg

weiss zur zeit echt nicht weiter..
der ultimative plan ist pyload auf fritzbox usb mit flexget laufen zu lassen. http://flexget.com/wiki


werde mich wohl erstmal mit der paketverwaltung auseinandersetzen müssen http://freetz.org/wiki/help/howtos/development/developer_information/package_development_dynamic
und meinem usb ein geeignetes dateisystem verpassen...
 
Zuletzt bearbeitet:
Was für ein Dateisystem hat dein USB-Stick? Symlinks auf FAT geht nicht... (Ich würde dir zu ext2/3 raten)

Gruß
Oliver
 
hi, danke für die antwort.. war mir nicht sicher ob ich mich auf dem richtigen weg befinde..

der usb stick hat zur zeit ntfs (hab ja auch ntfs paket mitinstalliert)
habe mich gestern den ganzen tagen tag mit pyload und flexget außeinandergesetzt,
alles auf eine ubuntu maschine aufgesetzt und configuriert um ein bisschen zurück in die linux umgebung zu finden...

firmware der fritzbox ist 50.04.57freetz-1.2_rc2

im laufe des heutigen tages werde ich nach der folgenden anleitung openwrt draufziehen,
bin mir fast sicher das es dann ohne probleme laufen wird.

falls nicht denk ich wirds doch am dateisystem liegen..
http://www.ip-phone-forum.de/showthread.php?t=245505&highlight=pyload


/edit habe gerade gesehen das der stick fat32 als dateisystem hatte...

/edit2

ganze nacht versucht den stick mit ext3 ans laufen zu kriegen, kein erfolg, hier mehr: http://www.ip-phone-forum.de/showthread.php?t=249732
 
Zuletzt bearbeitet:
Ich habe auf meiner 7270 mit 74.05.22-freetz-devel-9222 das angehängte Archiv hinzugefügt und damit versucht die aktuelle Version Pyload zu starten
Dabei bekomme ich leider nicht weiter:

Code:
root@fritz:/var/media/ftp/uStor01/pyload/bin# ./python /var/media/ftp/uStor01/py
load/pyload/systemCheck.py
#####   System Information   #####

('Platform:', 'linux2')
('Operating System:', 'posix')
('Python:', '2.6.6 (r266:84292, Oct 15 2010, 12:04:28) [GCC 4.2.1]\n')
('pycurl:', 'missing')
('py-crypto:', '2.3')
('OpenSSL:', 'missing')
('image libary:', '1.1.7')
('pyqt:', 'missing')


#####   System Status   #####

##  pyLoadCore  ##
Segmentation fault

Core starten schlägt wegen fehlendem pycurl fehl

Nachtrag:

Bei ./setvar.sh
erhalte ich nur

Code:
You can now test python and tesseract.
Segmentation fault
 
Zuletzt bearbeitet:
Da du sowieso Freetz verwendest, ist es am einfachsten, wenn du python mit dem aktuellen trunk kompilierst. Siehe http://freetz.org/ticket/1839

Ich habe trotzdem mal ein statisches Python-Paket angehängt. (Es kann sein, dass ein paar Module fehlen, da ich nicht alles einbinden wollte).
Code:
# file python
python: ELF 32-bit LSB executable, MIPS, MIPS32 version 1 (SYSV), statically linked, with unknown capability 0xf41 = 0x756e6700, with unknown capability 0x70100 = 0x3040000, stripped

Pyload kannst du dann wie folgt testen.
Du wechselst in das Verzeichnis mit python und gibst
Code:
PYTHONHOME=./pythonhome ./python /pfad/zu/pyLoadCore.py
ein. Wähle dann als Webserver lightweight aus, da ich das bjoern-Modul eingebaut habe.

Enthalten sind folgende Module
Code:
Python 2.7.3 (default, Dec  4 2012, 10:35:41) 
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.builtin_module_names
('__builtin__', '__main__', '_ast', '_bisect', '_codecs', '_collections', '_functools', '_hashlib', '_heapq', '_io', '_locale', '_random', '_socket', '_sqlite3', '_sre', '_struct', '_symtable', '_warnings', '_weakref', 'array', 'binascii', 'bjoern', 'cPickle', 'cStringIO', 'datetime', 'errno', 'exceptions', 'fcntl', 'gc', 'grp', 'imp', 'itertools', 'marshal', 'math', 'operator', 'posix', 'pwd', 'pycurl', 'select', 'signal', 'strop', 'sys', 'termios', 'thread', 'time', 'zipimport', 'zlib')
libcurl habe ich mit PolarSSL und zlib kompiliert.
 

Anhänge

  • python-mipsel-static.7z
    1.6 MB · Aufrufe: 24
Zuletzt bearbeitet:

Zurzeit aktive Besucher

Statistik des Forums

Themen
244,840
Beiträge
2,219,265
Mitglieder
371,543
Neuestes Mitglied
Brainbanger
Holen Sie sich 3CX - völlig kostenlos!
Verbinden Sie Ihr Team und Ihre Kunden Telefonie Livechat Videokonferenzen

Gehostet oder selbst-verwaltet. Für bis zu 10 Nutzer dauerhaft kostenlos. Keine Kreditkartendetails erforderlich. Ohne Risiko testen.

3CX
Für diese E-Mail-Adresse besteht bereits ein 3CX-Konto. Sie werden zum Kundenportal weitergeleitet, wo Sie sich anmelden oder Ihr Passwort zurücksetzen können, falls Sie dieses vergessen haben.