Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
KyleK wrote:
What router do you use? It either does not support UPnP or NAT-PMP, or it is not enabled. Try to forwared one specific port in your router to the CH3SNAS, and use that as port for Transmission (the default is 51413).
You can test with this link if the port is properly accessible: http://www.utorrent.com/testport.php?port=<your port> (replace <your port> with the actual port number).
I finaly found out what the problem was. I probably had no connections to trackers since I didnt set a correct DNS server address in the CH3SNAS. It first pointed to the internal ROUTER IP. I changed it to the DNS servers that are present in the Lease that my router gets ET VOILA
I was working on mldonkey to get that working which also wasnt. It gave me a DNS resolution error. That is how I got the idea of settings the correct DNS server addresses in my CH3SNAS.
Transmission is downloading as we speak so I can say i'm very happy.
Still I want to thank you guys on helping out here
Last edited by egg_nostic (2008-05-27 17:22:46)
Offline
Hi all, I'm new here and my english is not best...but it doesn't matter...
Have a question. I've just switched from mldonkey to transmission, because transmission is more allowed/legal on the most trackers I use. But I really miss a schedule function in transmission. Is there any way that trasmission automatically limit/unlimit the upload/download rate?
Thx
Offline
I'm afraid that functionality doesn't exist.
But since Transmission can be controlled via transmission-remote, it would be possible to write a script that, based on some form of schedule, limits up and download automatically.
Haven't seen such an app yet, though.
Offline
Yes, I've seen that you can send commando's via transmission-remote, and its probably possible to make it work with some script, but can't find one though... Nobody need this function? Only mac users does!?
Offline
KyleK wrote:
I'm afraid that functionality doesn't exist.
But since Transmission can be controlled via transmission-remote, it would be possible to write a script that, based on some form of schedule, limits up and download automatically.
Haven't seen such an app yet, though.
You can use the crontab for that. you only need to develop a web interface for that. It's not that complicated.
Last edited by assuncap (2008-05-28 16:56:32)
Offline
I probably found a script for scheduling transmission. On this site http://kyyhkynen.net/stuff/mybook/torrent_helper.php one guy made a script with schedule and watchdir functions for transmission...
I'm trying to make it work now... )
Offline
K.P.A.X. wrote:
I probably found a script for scheduling transmission. On this site http://kyyhkynen.net/stuff/mybook/torrent_helper.php one guy made a script with schedule and watchdir functions for transmission...
I'm trying to make it work now... )
the script looks good but i would remove the sleep loop. is better to set the script on the crontab then to let it sleep for 5min. i guess i will use it my self.
thanks K.P.A.X for sharing this with us
Last edited by assuncap (2008-05-28 22:00:37)
Offline
Why is it better to use crontab than to use the sleep loop?
Offline
You welcome:)
But I'm a such noob that I cant even figure out how crontab works. I tried to edit it with commando ".../crontab - e" but i get some infinite loop, I tried commando ".../vi .../crontab" and get a bunch of hieroglyphs... I need some help. I need to put :
0 0 * * * transmission-remote -U
0 9 * * * transmission-remote -u 40
in my crontab to unlimit/limit transmission, right? How can you do it? I really cant figure it out, i'm a totally linux noob!
Thx
Offline
K.P.A.X. wrote:
You welcome:)
But I'm a such noob that I cant even figure out how crontab works. I tried to edit it with commando ".../crontab - e" but i get some infinite loop, I tried commando ".../vi .../crontab" and get a bunch of hieroglyphs... I need some help. I need to put :
0 0 * * * transmission-remote -U
0 9 * * * transmission-remote -u 40
in my crontab to unlimit/limit transmission, right? How can you do it? I really cant figure it out, i'm a totally linux noob!
Thx
use
#crontab -l >/tmp/tmp.crontab
#vi /tmp/tmp.crontab
i (for insert), edit the file (add those 2 lines). use full paths to transmission-remote!
esc, :wq
#crontab /tmp/tmp.crontab
#crontab -l
(to verify)
KyleK wrote:
Why is it better to use crontab than to use the sleep loop?
mostly resources i would say.. shell script in the background takes some ram and even the sleep takes some cpu cycles it's neglectable if you ask me but i like to use crond more..
Last edited by SilentException (2008-05-29 01:56:34)
Offline
I agree. The thing here is more about control. crontab gives you more control. and you do not need to edit the code every time you want to change the refresh rate.
in my case i have also a crotab web interface i made in perl a few years ago that makes things a lot easier.
Offline
2 SilentException
thx for explaining man, it works now )
Offline
K.P.A.X. wrote:
2 SilentException
thx for explaining man, it works now )
Hi:
I'm a relative newbie to both Linux and the DNS-323. I've been trying to get the script as mentioned in the linked web page to work with the scheduling and watchdir, but doesn't seem to work for me.
I'm running fun_plug_0.5 on my DNS-323.
Any suggestions/ideas?
Thanks.
Offline
Hi everyone,
I installed the Transmission/Clutch duo with no problems ( well, I used a lot of your tips and advices... Thanks for that).
My only drawback for now is the speed. I setup my DNS like egg_nostic suggested but I still can't get over 40KB/s for
a torrent that is seeded by over 2000 people...
Offline
Any way to verify that Transmission is correctly using the blocklist? I'm pretty sure I have it set up correctly, but I'd like to be sure...
Offline
If you haven't modified the startup script (transmission.sh), then Transmission will log all events to $TRANSMISSION_HOME/transmission-daemon.log (which should be /mnt/HD_a2/.transmission/transmission-daemon.log).
If the blocklist is enabled and present in the blocklists folder, entries about IPs being blocked should pop up.
Alternatively, you could start the the server directly from the command-line with the -f switch (and the -b switch as well). This way Transmission won't go into the background and you'll see all it's output.
Offline
What is the easiest way to auto start Transmission at bootup in blocklist mode? Do I need to edit the program call in transmission.sh?
Offline
Yes. Add the command switch "-b" after "$command" on line 23 in start/transmission.sh.
Offline
This is weird; after making the suggested change and rebooting, now I can't SSH into the box, or open up the clutch page. The normal DNS-323 setup page is responding, and I seem to be able to FTP in, as well as access samba shares.
How can I fix this?
Offline
Looking at my funplug log, it looks like the transmission.sh is hanging, before lighttpd and sshd can even start. So it won't let me access to SSH... is there anyway to fix this through FTP or Samba, or to get sshd to boot up before transmission.sh?
Offline
I figured out a fix for my problem; since I had Samba access, I was able to edit the funplug startup script and add in a specific call to the sshd daemon at the start of the run commands section. This gave me SSH access to the box once again. Once I was in, I chmod a-x transmission.sh to keep it from starting again at reboot. Now everything is back to normal (minus the non-functioning transmission).
Looking at the logs for funplug, I got the following transmission error at startup, which prevented anything from loading after:
* /ffp/start/transmission.sh ...
Starting transmission-daemon
Thread 'libeventThreadFunc' started
Starting libevent thread
setrlimit( RLIMIT_NOFILE, 712 )
200 usable file descriptors
Transmission 1.21 (5905) started
Found 0 torrents in "/mnt/HD_a2/.transmission/torrents"
transmission-daemon: invalid torrent file
transmission-daemon: invalid torrent file
Bound socket 15 to port 51413
Opened port 51413 to listen for incoming peer connections
Any ideas what is going on here?
Offline
Can you post the line that you changed in transmission.sh?
Also, make sure that you don't change any of these .sh files with Windows Notepad. It will screw up the encoding of the files, making them unusable for the linux running on the NAS.
I suggest something like SciTE or Notepad++, or any editor with the option to save files in Linux mode (LF mode).
Offline
I'm using Notepad++ and saving in Linux format.
I changed the following line (line 23 in transmission.sh)
from:
su $user -c "$command -f -v 2 1>$TRANSMISSION_HOME/$name.log
to:
su $user -c "$command -b -f -v 2 1>$TRANSMISSION_HOME/$name.log
(adding in the -b flag to use the blocklist)
Offline
There must be an & at the end of the command:
su $user -c "$command -f -v 2 1>$TRANSMISSION_HOME/$name.log 2>&1 &"
Offline
so including the -b tag, line 23 in its entirety should read:
su $user -c "$command -b -f -v 2 1>$TRANSMISSION_HOME/$name.log 2>&1 &"
Is that correct?
Offline