I run the daemon 2,83 on DreamBox sat-receiver under Enigma2 1,6 (the latest official release from Dream Multimedia) and everything works (almost) perfectly. The only problem is that Transmission doesn't resume the torrents after autostart.
I've made a bootlog, and it appears Transmission is starting normally - after the network is up and running:
Code: Select all
. . .
udhcpc (v1.15.3) started
Sending discover...
Sending select for 192.168.1.201...
Lease of 192.168.1.201 obtained, lease time 25200
adding dns 192.168.1.1
adding dns 0.0.0.0
done.
[4294709.347000] 5135 ms: 46 Starting /etc/rcS.d/S40networking...
INIT: Entering runlevel: 3
Starting system message bus: dbus.
starting gdaemon... done.
Starting Dropbear SSH server: dropbear.
starting Busybox Periodic Command Scheduler: crond... done.
crond[694]: chdir(/etc/cron/crontabs): No such file or directory
Starting internet superserver: inetd.
Starting syslogd/klogd: done
* starting FTP Server: vsftpd... done.
Starting automounter: done.
* Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon
[A[74G[ ok ]
starting transmission-daemon...
--------------------------------------
Transmission Started !!!
Open your browser at http://192.168.1.201:9091
--------------------------------------
. . .
And when I restart Transmission manually, everything is OK:
Code: Select all
Console: executing in run 0 the command: /etc/init.d/transmissiond restart
Code: Select all
#!/bin/sh
# ----- CONFIGURATION -----
LINE="--------------------------------------"
TRANSMISSION_ON=0
NAME="transmission-daemon"
DAEMON="/usr/bin/nice -n 9 /usr/bin/transmission-daemon"
DIRECTORY="/hdd/transmission"
RPC_PORT=9091
DOWNLOAD_DIR="/hdd/movie"
CONFIG_DIR="/hdd/transmission/config"
WATCH_DIR="/hdd/transmission/watch"
USER="root"
PASSWORD="dreambox"
ARGS="-C -g $CONFIG_DIR -a *.*.*.* -w $DOWNLOAD_DIR -p $RPC_PORT -t -u $USER -v $PASSWORD"
INET_ADDR=`awk '/address/{print$2}' /etc/network/interfaces`
PATH=/usr/sbin:/usr/bin:/sbin:/bin
TRANSMISSION_WEB_HOME="/usr/share/transmission/web/"
# ----- END OF CONFIGURATION -----
if [ ! -d $DIRECTORY ] ; then mkdir $DIRECTORY; fi
if [ ! -d $DOWNLOAD_DIR ] ; then mkdir $DOWNLOAD_DIR; fi
if [ ! -d $CONFIG_DIR ] ; then mkdir $CONFIG_DIR; fi
if [ ! -d $WATCH_DIR ] ; then mkdir $WATCH_DIR; fi
case $1 in
start)
echo -n "starting $NAME... "
echo
start-stop-daemon -S -b -n $NAME -a $DAEMON -- $ARGS
sleep 2
echo
echo $LINE
echo "Transmission Started !!!"
echo "Open your browser at http://$INET_ADDR:9091"
echo $LINE
echo
;;
stop)
echo
echo -n "stopping $NAME... "
killall $NAME
echo "done."
;;
restart)
echo
echo -n "restarting $NAME... "
$0 stop
sleep 5
$0 start
echo
;;
autostart | enable)
echo
update-rc.d transmissiond defaults 99
sleep 2
echo
;;
noautostart | disable)
echo
update-rc.d -f transmissiond remove
sleep 2
echo
;;
*)
echo " "
echo "Options: $0 {start|restart|stop|enable|disable}"
echo " "
esac
exit 0
Thank you!
Note:
I am complete Linux rookie - I know ~5 commands, how to open telnet, how to record bootlog, and that's all.