NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
Hyperbit
Oct 31, 2012Aspirant
LIBC6 update
i try to install PyCrypto but i get some errors Preparing to replace python-crypto 2.6-2 (using python-crypto_2.6-2_sparc.deb) ... Unpacking replacement python-crypto ... dpkg: dependency problems...
Etz
Oct 31, 2012Aspirant
Hyperbit wrote: only the autorun doesn't works :/
But why not use this one: viewtopic.php?f=47&t=51851 (ReadyNasXtras package)?
Its pre-compiled 0.4.9, works well and has all necessary scripts included.
In youre case "autorun" doesnt work, because probably there is no startup script for Pyload service in /etc/init.d/
You could try to create it though, here is mine (x86 unit):
#!/bin/sh
### BEGIN INIT INFO
# Provides: pyload
# Required-Start: $syslog $local_fs $network $remote_fs
# Required-Stop: $syslog $local_fs $network $remote_fs
# Should-Start: $remote_fs $named
# Should-Stop: $remote_fs $named
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Starts pyload daemon
# Description: This script runs the pyload service
### END INIT INFO
# Starts and stops the pyload daemon.
PATH=/bin:/usr/bin:/sbin:/usr/sbin
DAEMON=/usr/bin/pyLoadCore
PIDFILE="~/.pyload/pyload.pid"
. /lib/lsb/init-functions
start() {
log_daemon_msg "Starting pyLoad server"
$DAEMON --daemon
if [ $? != 0 ]; then
log_end_msg 1
exit 1
else
log_end_msg 0
fi
}
stop() {
log_daemon_msg "Stoping pyLoad server"
$DAEMON -q
if [ $? != 0 ]; then
log_end_msg 1
# exit 1
else
log_end_msg 0
fi
}
case "$1" in
start)
start
;;
stop)
stop
;;
force-reload)
stop
sleep 5
start
;;
restart)
stop
sleep 2
start
;;
*)
echo "Usage: $0 {start|stop|restart|force-reload}"
exit 1
;;
esac
exit 0
Also sometimes looking into documentation helps a bit also... ;)
http://dev.shyd.de/2011/01/debian-downl ... on-pyload/
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!