Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
KyleK wrote:
rap had the same problem, it turned out it was some error in his lighttpd.conf. I'm not sure though what it was exactly. I'm sure he can jump in and provide support shortly.
Hi - I was getting a 400 error not 403. My error was due to the name of my DNS having an underscore in it which I fixed by renaming it.
Cheers
RAP
Offline
i got the error msg "Transmission daemon appear not to be running" , what's the issue?
Offline
oasis wrote:
i got the error msg "Transmission daemon appear not to be running" , what's the issue?
I'm no expert but sounds to me you haven't editted the file in /www/pages/clutch/remote/data to point to the location of our socket file whch should be somewhere in '/mnt/HD_a2/downloads/.transmission' looking at your posts.
RAP
Offline
oasis wrote:
Can someone guide me what is the default root password when i start the sshd.sh service? thanks
There is none. You have to set it before you start using sshd (using the "passwd root" command).
Regarding your Transmission problem: Check with the command "top" or "ps | grep trans" if the daemon is actually running. If not, try starting it manually with "transmission-daemon -d". I suspect you forgot to set the TRANSMISSION_HOME variable correctly.
export TRANSMISSION_HOME=/mnt/HD_a2/.transmission
If you use Telnet, put this line in the fun_plug script.
If you use SSH, put it in etc/profile.
Offline
oasis wrote:
Can someone guide me what is the default root password when i start the sshd.sh service? thanks
The firmware comes with a disabled root account. You need to set a password yourself or setup password-less login for ssh (public-key auth).
Offline
Updated binaries and install instructions are are available in the first post.
Offline
KyleK wrote:
Updated binaries and install instructions are are available in the first post.
Hi KyleK - thanks for this, just what I was looking for. I'm using the ffp 0.5 version and unfortunately the start script doesn't seem to work quite right as can be seen by the listing below. It looks to me that it does not set the transmission home directory correctly for some reason as after exporting that manually it works fine.
root@RAPDLINK:/mnt/HD_a2/ffp# cd start/
root@RAPDLINK:/mnt/HD_a2/ffp/start# ./transmission.sh status
transmission-daemon not running
root@RAPDLINK:/mnt/HD_a2/ffp/start# ./transmission.sh start
root@RAPDLINK:/mnt/HD_a2/ffp/start# ./transmission.sh status
transmission-daemon not running
root@RAPDLINK:/mnt/HD_a2/ffp/start# env
SSH_CLIENT=192.168.2.7 1741 22
MAIL=/var/mail/root
USER=root
OLDPWD=/ffp
HOME=/home/root
SSH_TTY=/dev/pts/1
PS1=\u@\h:\w\$
PS2=>
LOGNAME=root
TERM=xterm
PATH=/ffp/sbin:/ffp/bin:/usr/sbin:/sbin:/usr/bin:/bin
SSH_AUTH_SOCK=/tmp/ssh-kGERa14299/agent.14299
SHELL=/ffp/bin/sh
PWD=/ffp/start
SSH_CONNECTION=192.168.2.7 1741 192.168.2.2 22
Offline
Yep, seems you're right. It's an easy fix though.
Open start/transmission.sh and add an "export" to the TRANSMISSION_HOME statement.
I've updated the funpkg package as well.
Offline
Hi, do I have to create the folder ./transmission by myself? Thanks.
edit:
I have created the folder and transmission is running, but when i go to the web interface, i got this error:
Last edited by 5h4rk (2008-04-24 16:13:13)
Offline
If your lighttpd is not running as root, then you have to make sure that the socket that Transmission creates (/mnt/HD_a2/.transmission/daemon/socket) has full read and write rights for all accounts.
Offline
5h4rk wrote:
Hi, do I have to create the folder ./transmission by myself? Thanks.
edit:
I have created the folder and transmission is running, but when i go to the web interface, i got this error:
http://img113.imageshack.us/img113/7003/ssoc8.png
I just fixed the same problem by:
cd mnt/HD_a2/www/pages/clutch/remote/data
ls -l
"check the user and group for socket.txt, i found the owner is nobody and group is 20" then i
chown root socket.txt
chgrp root socket.txt
ls -l
"check the file again"
stop and restart transmission and lighttpd again
it works fine for me
Offline
Kylek, can you modify the transmission.sh to get rid of root only access? The official clutch package runs as "nobody", so maybe that's why many people get 403 access forbiden error.
Offline
kenyloveg wrote:
5h4rk wrote:
Hi, do I have to create the folder ./transmission by myself? Thanks.
edit:
I have created the folder and transmission is running, but when i go to the web interface, i got this error:
http://img113.imageshack.us/img113/7003/ssoc8.pngI just fixed the same problem by:
cd mnt/HD_a2/www/pages/clutch/remote/data
ls -l
"check the user and group for socket.txt, i found the owner is nobody and group is 20" then i
chown root socket.txt
chgrp root socket.txt
ls -l
"check the file again"
stop and restart transmission and lighttpd again
it works fine for me
I've done this but still getting the error. And I also chmod 777 to /mnt/HD_a2/.transmission/daemon/socket as Kylek said.
Offline
How do I get a log from daemon? Latest transmission-daemon crashes after a while and I don't know the reason, 1.06 seems to be working fine.
Offline
run as user nobody (for ffp 0.5)
--- transmission.sh-orig Fri Apr 25 22:40:37 2008 +++ transmission.sh Fri Apr 25 22:57:41 2008 @@ -14,14 +14,14 @@ transmission_start() { - $command -f 1>/ffp/var/$name.log 2>/ffp/var/$name.log & + su nobody -c "$command -f 1>/dev/null 2>&1 &" }
you need to create the .transmission dir from samba (or make sure it's writeable by nobody)
Last edited by quekky (2008-04-25 18:06:45)
Offline
quekky wrote:
run as user nobody (for ffp 0.5)
Code:
--- transmission.sh-orig Fri Apr 25 22:40:37 2008 +++ transmission.sh Fri Apr 25 22:57:41 2008 @@ -14,14 +14,14 @@ transmission_start() { - $command -f 1>/ffp/var/$name.log 2>/ffp/var/$name.log & + su nobody -c "$command -f 1>/dev/null 2>&1 &" }you need to create the .transmission dir from samba (or make sure it's writeable by nobody)
How do you do that in ffp 0.4? I have very little knowledge of *nix commands. I'm running it as user nobody already.
Offline
headman wrote:
How do I get a log from daemon? Latest transmission-daemon crashes after a while and I don't know the reason, 1.06 seems to be working fine.
Start it like this:
transmission-daemon -d 1>/mnt/HD_a2/.transmission/daemon.log 2>&1 &
Offline
5h4rk wrote:
Hi, do I have to create the folder ./transmission by myself? Thanks.
edit:
I have created the folder and transmission is running, but when i go to the web interface, i got this error:
http://img113.imageshack.us/img113/7003/ssoc8.png
I ran into the same thing, but I solved it by edditing transmission.sh, added the echo part
transmission_start() { $command -f 1>/ffp/var/$name.log 2>/ffp/var/$name.log & echo "/mnt/HD_a2/.transmission/daemon/socket" > /mnt/HD_a2/www/pages/clutch/remote/data/socket.txt }
Offline
KyleK wrote:
headman wrote:
How do I get a log from daemon? Latest transmission-daemon crashes after a while and I don't know the reason, 1.06 seems to be working fine.
Start it like this:
Code:
transmission-daemon -d 1>/mnt/HD_a2/.transmission/daemon.log 2>&1 &
Hi KyleK,
I also noticed the crash with your latest 1.11 svn build:
ffset is 368789719
inf->fileCount is 9
inf->files[first].offset is 327827
inf->files[first].length is 368461892
transmission-daemon: inout.c: 132: findFileLocation: Assertion `offset < inf->files[first].offset + inf->files[first].length' failed.
I googled that and found:
http://forum.transmissionbt.com/viewtopic.php?t=4508
That isn't version 1.11, that's a build from svn trunk that had a crasher bug in int for a few days over the weekend. Smile
Do an "svn up" and rebuild to make that crash go away...
any thoughts?
keep up the good works!
Offline
5h4rk wrote:
Hi, do I have to create the folder ./transmission by myself? Thanks.
edit:
I have created the folder and transmission is running, but when i go to the web interface, i got this error:
http://img113.imageshack.us/img113/7003/ssoc8.png
Had this problem myself, my simple solution was to follow a few instructions on http://www.shadowandy.net/_html/archive … nsmis.html :
echo /mnt/HD_a2/.transmission/daemon/socket > /mnt/HD_a2/www/pages/clutch/remote/data/socket.txt
Last edited by Scay (2008-04-29 16:07:52)
Offline
kikkeraap wrote:
Code:
transmission_start() { $command -f 1>/ffp/var/$name.log 2>/ffp/var/$name.log & echo "/mnt/HD_a2/.transmission/daemon/socket" > /mnt/HD_a2/www/pages/clutch/remote/data/socket.txt }
The "echo" command has only to be executed once. It's not necessary to add it to the start script.
Last edited by KyleK (2008-04-29 16:14:19)
Offline
metronet wrote:
I also noticed the crash with your latest 1.11 svn build:
ffset is 368789719
inf->fileCount is 9
inf->files[first].offset is 327827
inf->files[first].length is 368461892
transmission-daemon: inout.c: 132: findFileLocation: Assertion `offset < inf->files[first].offset + inf->files[first].length' failed.
any thoughts?
keep up the good works!
I'll compile an update tonight. ffp-0.4 or 0.5?
Offline
Updated installation instructions for total newbies (like me ):
Assuming that you succesfully installed fun_plug 0.5 and enabled Lighttpd with PHP continue below, otherwise look for software and installation instructions here:
http://www.inreto.de/dns323/fun-plug/
http://dns323.kood.org/howto:ffp#version_0.5_beta
With fun_plug 0.5 and Lighttpd with PHP installed;
Telnet to your DNS-323 and type the following:
cd /mnt/HD_a2 mkdir .transmission mkdir temp cd temp wget http://web.inf.tu-dresden.de/~fa859178/transmission-1.11svn-r5649-ffp0.5.tgz wget http://clutchbt.com/Files/Clutch-0.4.tar.gz funpkg -i transmission-1.11svn-r5649-ffp0.5.tgz cd /mnt/HD_a2/www/pages tar zvxf /mnt/HD_a2/temp/Clutch-0.4.tar.gz cd /mnt/HD_a2/ffp/start sh transmission.sh start chmod a+x transmission.sh echo /mnt/HD_a2/.transmission/daemon/socket > /mnt/HD_a2/www/pages/Clutch-0.4/remote/data/socket.txt
This worked for me on a fresh install.... Good luck
Offline
KyleK wrote:
metronet wrote:
I also noticed the crash with your latest 1.11 svn build:
ffset is 368789719
inf->fileCount is 9
inf->files[first].offset is 327827
inf->files[first].length is 368461892
transmission-daemon: inout.c: 132: findFileLocation: Assertion `offset < inf->files[first].offset + inf->files[first].length' failed.
any thoughts?
keep up the good works!I'll compile an update tonight. ffp-0.4 or 0.5?
Hi KyleK,
I am running ffp-0.4 busybox-1.8.1.
cheers,
Offline
ffp-0.4:
Transmission-1.11svn-r5727.tgz
As last time: I'm not using ffp-0.4 anymore, so I was not able to test this. Use at your own risk!
ffp-0.5:
Transmission-1.11svn-r5727-ffp0.5.tgz
The newer builds of Transmission require yet another library, libcurl this time. So to use this new build, you have to install an extra
package:
curl-7.18.1.tgz
Install instructions are in the first post.
Offline