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
#
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
rm -rf openwrt-trunk-ar71xx* pkgcache*
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
#
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
sh openwrt-chroot.sh
pyload
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
# 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
/ #
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'
#
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
cd /var/media/ftp/uStor01/
mkdir py
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
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#
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
You can now test python and tesseract.
Segmentation fault
# 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
PYTHONHOME=./pythonhome ./python /pfad/zu/pyLoadCore.py
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')