I followed the German guide of wengi (with some help from babelfish) and now everything is working finally
Now i need to find out how to create ftp accounts with different directory access...
Ok..here goes nothing or all..
I followed this guide for my configuration using oleg firmware:
http://wl500g.info/showthread.php?t=5909
i installed gnuplot, logrotate and transmission:
(cron was already installed).Code:ipkg install gnuplot ipkg install logrotate ipkg install transmission
since i used marcnesium tutorial, my directories are:
Code:/opt/share/torrent /opt/share/torrent/source /opt/share/torrent/work /opt/share/torrent/target
my transmission.conf file has the following:
my crontab file has the following:Code:# Configuration # NOTE: no spaces around the = sign # the config will be sourced (eg. . transmission.conf) SOURCE=/opt/share/torrent/source WORK=/opt/share/torrent/work TARGET=/opt/share/torrent/target #MAILTO=torrent@somedomain.com #MAILFROM=torrent@somedomain.com MAILOPT="-smail.somedomain.com -f" USER=admin GROUP=root DATE_FORMAT="%d %h %H:%M" # Transmission daemon variables PIDFILE=/opt/var/run/transmission.pid ACTIVE=/opt/share/torrent/active-torrents.txt HOME=/opt/share/torrent WATCHDOG=300 LISTENING_PORT=65534 # set SPEED in kB/s or -1 for unlimited UPLOAD_SPEED=10 DOWNLOAD_SPEED=-1 #UPLOAD_SPEED=41 #DOWNLOAD_SPEED=180 # change SYSLOG from /tmp/syslog.log to SYSLOG=/opt/var/log/messages #Uncomment the following for UPNP NAT traversal #NAT_TRAVERSAL=--nat-traversal # Seed torrent after completition (YES or NO) AUTOSEED="YES" # If the following limit is reached watchdog will not enqueue new one MAX_ACTIVE_TORRENTS=10 # Creating graphical log of transfer with gnuplot # can be very site specific issue. See transmission.cgi # how this variables are used. GNUPLOT=/opt/bin/gnuplot GNUPLOT_COMMAND=${WORK}/transfer.gnuplot GNUPLOT_DATA=${WORK}/transfer.data GNUPLOT_OUTPUT=/opt/share/www/transfer.png HTTP_IMG_LOCATION=../transfer.png #TZ offset in seconds. Use +- sign. DST manually TIMEZONE_OFFSET=+3600 #Colors for command line. # comment out if not needed GREEN="\033[32;1m" #NC="\033[0m" #BACK_UP="\033[1K\033[0G" NORMAL="\033[0m" WARN="\033[33;1m" BAD="\033[31;1m" BOLD="\033[1m" GOOD="\033[32;1m"
my S05syslogd has the following:Code:SHELL=/bin/sh PATH=/sbin:/bin:/usr/sbin:/usr/bin:/opt/bin:/opt/sbin:/opt/usr/bin:/opt/usr/sbin MAILTO="" HOME=/ # ---------- ---------- Default is Empty ---------- ---------- # # Syntax for lines is : minute hour day month dayofweek command # */5 * * * * admin run-parts /opt/etc/cron.5mins 01 * * * * admin run-parts /opt/etc/cron.hourly 02 4 * * * admin run-parts /opt/etc/cron.daily 22 4 * * 0 admin run-parts /opt/etc/cron.weekly 42 4 1 * * admin run-parts /opt/etc/cron.monthly */30 * * * * admin nice /opt/sbin/transmission_watchdog
i put a .torrent file on the source directory, i force watchdog to start, then i select the .torrent file and make it active.Code:#!/bin/sh # # Startup script for syslogd # # Stop myself if running if [ -n "`pidof syslogd`" ]; then killall syslogd 2>/dev/null fi /sbin/syslogd -m 0 -O /opt/var/log/messages -S -l 7
The .torrent file is copied to the work directory, but the torrent does not start downloading.
Here is my transmission.cgi page
I also get errors on the log page and no graphic. Here is a image:
So can please somebody tell me why is this not working
I'm getting mad
I followed the German guide of wengi (with some help from babelfish) and now everything is working finally
Now i need to find out how to create ftp accounts with different directory access...
Seems that i have to do a translation... if i have the time.
wengi
Yes, you should
Now, my fight is with the ftp server. I found out the configuration file stupid-ftp.conf on the /etc folder.
I made changes to this file, save it, saved the flash and rebooted.
However, after the reboot the changes i made are gone and the file is equal to what it was
How can this be?
Hi I followed the instructions and I get the following error trying to start transmissiond:
Jun 15 22:09:19 transmission_watchdog: Transmission daemon restarted!
Jun 15 22:09:19 transmissiond[546]: Transmission daemon 0.80-svn (1874) started - http://transmission.m0k.org/
Jun 15 22:09:20 transmissiond[546]: chdir - No such file or directory
Again and again and again.
The .torrent files are located in the source directory. Work directoru contains 3 directories with the same name like the torrents files, but transfer.data is empty. The conf file seems OK. Transmission.cgi works fine.
Any clue?
Regards
can you attach your transmission.conf file?
HEre it's:
# Configuration
# NOTE: no spaces around the = sign
# the config will be sourced (eg. . transmission.conf)
SOURCE=/tmp/harddisk/torrent/source
WORK=/tmp/harddisk/torrent/work
TARGET=/tmp/harddisk/torrent/target
#MAILTO=torrent@somedomain.com
#MAILFROM=torrent@somedomain.com
#MAILOPT="-smail.somedomain.com -f"
USER=admin
GROUP=root
DATE_FORMAT="%d %h %H:%M"
# Transmission daemon variables
PIDFILE=/opt/var/run/transmission.pid
ACTIVE=/tmp/harddisk/torrent/active-torrents.txt
HOME=/tmp/harddisk/torrent
WATCHDOG=300
LISTENING_PORT=65534
# set SPEED in kB/s or -1 for unlimited
UPLOAD_SPEED=10
DOWNLOAD_SPEED=80
#UPLOAD_SPEED=41
#DOWNLOAD_SPEED=180
# change SYSLOG from /tmp/syslog.log to
SYSLOG=/opt/var/log/messages
DEBUG=1
#Uncomment the following for UPNP NAT traversal
NAT_TRAVERSAL=--nat-traversal
# Seed torrent after completition (YES or NO)
AUTOSEED="YES"
# If the following limit is reached watchdog will not enqueue new one
MAX_ACTIVE_TORRENTS=5
# Creating graphical log of transfer with gnuplot
# can be very site specific issue. See transmission.cgi
# how this variables are used.
GNUPLOT=/opt/bin/gnuplot
GNUPLOT_COMMAND=${WORK}/transfer.gnuplot
GNUPLOT_DATA=${WORK}/transfer.data
GNUPLOT_OUTPUT=/opt/share/www/transfer.png
HTTP_IMG_LOCATION=../transfer.png
#TZ offset in seconds. Use +- sign. DST manually
TIMEZONE_OFFSET=+3600
#Colors for command line. # comment out if not needed
GREEN="\033[32;1m"
#NC="\033[0m"
#BACK_UP="\033[1K\033[0G"
NORMAL="\033[0m"
WARN="\033[33;1m"
BAD="\033[31;1m"
BOLD="\033[1m"
GOOD="\033[32;1m"
AND the output of mount command:
/dev/root on / type squashfs (ro)
none on /dev type devfs (rw)
proc on /proc type proc (rw)
ramfs on /tmp type ramfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/discs/disc0/part1 on /opt type ext3 (rw)
/dev/discs/disc1/part2 on /tmp/harddisk type ext3 (rw,noatime)
disc0 is a 2GB USB pen where is also configured 512MB of swap
disc1 is a 500GB MAXTOR USB HD.
Hi everyone.
Probably the problem is HOME variable?
Trnasmission points to /tmp/harddisk/torrent but admin user has it's own HOME pointing to /usr/local/root.
Can I use another user to start Transmission?
Regards
daemon should be started with transmission_watchdog. And there HOME is set to $WORK.
Hi.
I've changed the HOME to $WORK but it doesn't work. I've tried to run transmissiond manually with this results:;
[admin@ASUS torrent]$ transmissiond HUP active-torrents.txt -v 1
Remove /usr, it's in the way.
With the command transmission_watchdog also doesn't work.
Any idea?
Also tried:
[admin@ASUS torrent]$ export HOME=/tmp/harddisk/torrent/work
[admin@ASUS torrent]$ transmissiond HUP active-torrents.txt -v 1
Remove /tmp, it's in the way.
What does it means? --> Remove /tmp, it's in the way.
Hi everyone.
I removed the actual release and I installed this release --> transmission_0.6+r1320-1_mipsel.ipk and everything works fine.
2171 admin 1428 S transmissiond -p 65534 -w 300 -u -1 -d -1 -i /opt/var
2174 admin 1428 S transmissiond -p 65534 -w 300 -u -1 -d -1 -i /opt/var
2175 admin 1428 S transmissiond -p 65534 -w 300 -u -1 -d -1 -i /opt/var
2176 admin 1428 S transmissiond -p 65534 -w 300 -u -1 -d -1 -i /opt/var
2177 admin 1428 S transmissiond -p 65534 -w 300 -u -1 -d -1 -i /opt/var
2178 admin 1428 S transmissiond -p 65534 -w 300 -u -1 -d -1 -i /opt/var
2179 admin 1428 S transmissiond -p 65534 -w 300 -u -1 -d -1 -i /opt/var
Could be a bug in release 0.7+r1874-1?
Regards
I have better one ----> [752]: Could not open file XD and sup with that shit?
Setting HOME externally does not help as the $HOME is set by transmission.conf
Stating that Transmission does not work is too little evidence to comment anything. I can fix it if I see that it really does not work for me. By now there was not such case, but for others milestone my vary.
For some reason the graph in the log tab does not show anything. I have attached it. It just displays this every time i click log also i am not sure if my log i sclearing itself out or not because it still has logs from the Jun 18 till today. I don't know whats going as I am still trying to understand how this program works. Thanks in advance
1.9.2.7-9
Transmission daemon 1.22+ (6196)
Last edited by kolp; 28-06-2008 at 23:26.