PDA

Bekijk de volledige versie : Questions on Transmission & WL500gp



Kajun
21-10-2007, 22:48
I have two problems with transmission. These two are unrelated to each other, and I will describe them seperately as a result.

But let me give me some background information first. In my home, I have a Sitecom Wireless Router connected to the cable modem. An Asus WL500gp is connected by wire to the Sitecom (main) router, and is setup as an Access Point in my network. A 500 GB USB 2.0 drive is connected, and is set up by following Wengi's excellent guide (http://wl500g.info/showthread.php?t=10307) on this forum. Aside from using the Asus as an extension of the main router for internet purposes, I use the Asus to download torrents from internet. An older version of Transmission is installed (0.7), because newer versions regularly give failed hash problems. The setup is functional, yet at the same time, I regularly encounter problems. Part of it is my own inexperience with the linux-ish environment, but at the same time there might be some bugs as well (this is in no way meant as an attack on Oleg, because I cannot begin to comprehend the work, the time and effort he's put into this whole thing, partly just to please us all).

(1) The first problem has to do with the startup of torrents. From time to time, and lately it's been the case alot, Transmission_watchdog will have started, and processed the queued torrents. But the torrents refuse to actually start downloading (0 connections with peers are being made). The torrents work when running them on my notebook (confirming there are actual peers). My initial reaction was this was a NAT problem, so I forwarded the relevant torrent port (as found in the transmission config) in my Sitecom router, to the IP-address of the WL500gp. But this hasn't changed a thing. Is there anything I'm overlooking in my setup? Since my Asus functions as an Access Point, there should be no need to open any ports, as port traffic should be handled by the main router. I have to say the problem seems worse after the router's been on for a while without any interruption (power down).

(2) The second problem is rather odd. There have been some torrents where Transmission initiates a download, and then almost instantly considers it as
'finished'! But when looking in the 'target' folder, no file is found (yet it is seen as a completed torrent). Upon deleting the log file in the 'target'
folder, and restarting the torrent by putting it in the source folder, the process repeats itself: it considers itself as done. I've had a few files as well,
where it said it was seeding (with no actual file to be seen anywhere). This suggests it may have been downloaded somewhere in the past, but not in the folder as specified in the Transmission config (and I don't see how that could be possible). Has anyone had similar problems?


I also have some general questions:

(3) Sometimes, after the internet connection is down (due to cable modem or main router issues), or if the power goes out, my Asus does not seem to auto-re-mount the USB harddrive upon powering up or rebooting. It is strange, because I configured my Asus according to Wengi's file, so the relevant 'mount' commands are added to the config. After manually mounting drive, everything is okay again. But still, this is a nuisance.

(4) I know due to chipset limitations the WL500gp can only managed USB data transfer speeds up to 2.5 MB/sec. In my case, I've only managed about 1300 kb/sec. What are some of alternatives we can have to transfer lots of data? I've tried ejecting the USB disk (Ext3), and then connecting it to Windows. I installed a Windows Ext2/Ext3 driver (found here (http://www.fs-driver.org/extendeddl.html)), but no success: the drive will get unreponsive and nearly crash my Windows XP. I know the driver can function: I've tried on the same USB 2.0 harddrive, prior to setting it up under the WL500gp, and it worked fine then. My guess is the swap partition might be causing this (as it probably has unreadable data). Any idea how to solve this, or are there any other alternatives to copy Ext3 data quickly to a Windows environment?

I am sorry for so much text. But I don't want to give too little information.

gamerhk
10-11-2007, 14:31
I have managed to get transmission 0.82 working on my WL-500gP.
I found it unable to remove the directories created on my USB disk after torrent download is completed. I tried purge, remove, scrape etc and do not help. I tried reboot the router and even use FTP connection to remove still no good. When use FTP to delete, it says directory not empty Please advise. Also, how can I upgrade to the latest transmission version manually?

oleo
10-11-2007, 23:19
There is FORCE_REMOVE option in config file!

ocelivise
10-11-2007, 23:57
I mounted partition1 of my hd to /opt. Installed samba2 and it all works good(I can acess,copy,delete files).

Then I installed transmission client.

I made directory /opt/torrent >then created /opt/torrent/work,/opt/torrent/source....
Then used "chmod ugoa+w" on all

Changed i tr.config file all /tmp/harddisk.. to /opt/torrent...

1.When I start torrent i says "segmentation fault"(samba2 is working good:confused:)

2. I am no connectable on tracker, how to open port (which is listed in config file)

3. I am listed 2 times on tracker peer list

4. I managed to download one torrent sucessfuly from one public tracker(even after these error aoccured)

ps. fw is 1.9.2.7-8

dzontra
11-11-2007, 11:27
I have 0.82-3 version installed.

In my transmission.cgi - FORCE_REMOVE looks for "yes".
In my transmission.conf - FORCE_REMOVE is "YES".

After changing 'yes' to 'YES' in cgi, I can delete torrents that are "DONE" (it was not possible before).

@gamerhk
try to alter 'YES' to 'yes' in transmission.conf and let us know the result.

regards

zheka_ppp
12-11-2007, 09:48
Oleo, thank you very much for transmission.cgi and transmission working !

I'v got 20 active torrents seeding, about 50Gb total size with less then 0.3 avg system load !
But I have some troubles when I have to restart transmission (pressing Pause in web-interface, then after transmission is gone "pause" again and then watchdog manually or by cron). Occasionally 1 - 4 torrents starts checking files. And it takes a long time and high system load. More over, if I press "pause" during some torrent checking or waiting for check - after restart this completed torrents start to download once again from 0% ! So I have to restart transmission with removing all cache files - and it hurts, complete check takes around 4 hours...
Pausing transmission also gives me coredumps in .transmission folder occasionally.
Is there any correlation between torrent-file and file in cache folder ? Can I find the related cache file to remove it exactly, not forcing transmission to check all torrents, but only the ones, that started to download once again instead of seeding.

Thanks in advance, Eugene

P.S Sorry for my english

oleo
12-11-2007, 09:59
This is probably a bug when stopping large number of active torrents. We are waiting for 5 secondt for torrents to finish. But this is not enough for such cases. That's why some torrents cacge gets garbled. For now I suggest that you manually push them out, although I know than this is not a solution. Recheching should be done in queue . So you should have "Waiting to check ..,"

Correlation of cache files and torrent id of course torrent hash tha coul be shown by Info button.

Anyway, I am now testing 0.93+ and It looks like it will solve most of the problems and probably introduce new ones.

gamerhk
13-11-2007, 14:11
thanks oleo and dzontra, it works for me!

gamerhk
14-11-2007, 14:28
How to upgrade from 0.82 to 0.93+?

wengi
14-11-2007, 14:49
How to upgrade from 0.82 to 0.93+?wait until it is released.

gamerhk
14-11-2007, 15:01
I see it has been released from the transmission website isn't it?

wengi
14-11-2007, 15:06
but oleo has to release version for our asus router.
Have a look here (http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/Packages) for available packages and versions.

wengi

gamerhk
14-11-2007, 15:34
ic....so need to wait

satjoey
15-11-2007, 18:15
the text log is ok but the graph looks like this ?????

Creating graph...
plot '/tmp/harddisk/torrent/work/transfer.data' using ($1+86400++3600):2 title 'download' axis x1y1 with impulses, '/tmp/harddisk/torrent/work/transfer.data' using ($1+86400++3600):3 title 'upload' with impulses, '/tmp/harddisk/torrent/work/transfer.data' using ($1+86400++3600):4 axis x1y2 title 'load' with lines ^ "/tmp/harddisk/torrent/work/transfer.gnuplot", line 13: warning: Skipping data file with no valid points plot '/tmp/harddisk/torrent/work/transfer.data' using ($1+86400++3600):2 title 'download' axis x1y1 with impulses, '/tmp/harddisk/torrent/work/transfer.data' using ($1+86400++3600):3 title 'upload' with impulses, '/tmp/harddisk/torrent/work/transfer.data' using ($1+86400++3600):4 axis x1y2 title 'load' with lines ^ "/tmp/harddisk/torrent/work/transfer.gnuplot", line 13: warning: Skipping data file with no valid points plot '/tmp/harddisk/torrent/work/transfer.data' using ($1+86400++3600):2 title 'download' axis x1y1 with impulses, '/tmp/harddisk/torrent/work/transfer.data' using ($1+86400++3600):3 title 'upload' with impulses, '/tmp/harddisk/torrent/work/transfer.data' using ($1+86400++3600):4 axis x1y2 title 'load' with lines ^ "/tmp/harddisk/torrent/work/transfer.gnuplot", line 13: warning: Skipping data file with no valid points plot '/tmp/harddisk/torrent/work/transfer.data' using ($1+86400++3600):2 title 'download' axis x1y1 with impulses, '/tmp/harddisk/torrent/work/transfer.data' using ($1+86400++3600):3 title 'upload' with impulses, '/tmp/harddisk/torrent/work/transfer.data' using ($1+86400++3600):4 axis x1y2 title 'load' with lines ^ "/tmp/harddisk/torrent/work/transfer.gnuplot", line 13: x range is invalid

Anyone knows what's wrong

oleo
15-11-2007, 18:53
You have empty syslog. Press update to see if that changes.

satjoey
15-11-2007, 20:10
nothing there just this :

Unable to find recent transfer stats in syslog

21:03:23 up 1 day, 24 min, load average: 0.04, 0.01, 0.00



XXXXXXXXX.XviD-DiAMOND.3882574.TPB .status not found for /tmp/harddisk/torrent/work/P2.DVDSCR.XviD-DiAMOND.3882574.TPB/P2.DVDSCR.XviD-DiAMOND.3882574.TPB.torrent Start: 01 Jan 01:00



/opt/share/www/cgi-bin/transmission.cgi: kill: 9: (699) - No such process this is on top when put a torrent in source

EdSki
16-11-2007, 00:23
(Re)Start Watchdog, give it some time and you have a new logfile!

Ed

satjoey
16-11-2007, 13:42
do not help
when i press update it says : Unable to find recent transfer stats in syslog

and log says :

Nov 16 14:30:02 transmission_watchdog: Removing .watchdog protection
Nov 16 14:30:07 transmissiond[5367]: Transmission daemon 0.82 (r) started - http://transmission.m0k.org/
Nov 16 14:30:07 transmission_watchdog: Transmission daemon restarted!
Nov 16 14:31:07 transmission_watchdog: Starting torrent /tmp/harddisk/torrent/work/XXXXXX.S02E08.HDTV.XviD-LOL.3887258.TPB/XXXXXX.S02E08.HDTV.XviD-LOL.3887258.TPB.torrent
Nov 16 14:33:12 transmission_watchdog: Transmission daemon restarted!
Nov 16 14:33:12 transmissiond[432]: Transmission daemon 0.82 (r) started - http://transmission.m0k.org/

Creating graph...
plot '/tmp/harddisk/torrent/work/transfer.data' using ($1+86400++3600):2 title 'download' axis x1y1 with impulses, '/tmp/harddisk/torrent/work/transfer.data' using ($1+86400++3600):3 title 'upload' with impulses, '/tmp/harddisk/torrent/work/transfer.data' using ($1+86400++3600):4 axis x1y2 title 'load' with lines ^ "/tmp/harddisk/torrent/work/transfer.gnuplot", line 13: warning: Skipping data file with no valid points plot '/tmp/harddisk/torrent/work/transfer.data' using ($1+86400++3600):2 title 'download' axis x1y1 with impulses, '/tmp/harddisk/torrent/work/transfer.data' using ($1+86400++3600):3 title 'upload' with impulses, '/tmp/harddisk/torrent/work/transfer.data' using ($1+86400++3600):4 axis x1y2 title 'load' with lines ^ "/tmp/harddisk/torrent/work/transfer.gnuplot", line 13: warning: Skipping data file with no valid points plot '/tmp/harddisk/torrent/work/transfer.data' using ($1+86400++3600):2 title 'download' axis x1y1 with impulses, '/tmp/harddisk/torrent/work/transfer.data' using ($1+86400++3600):3 title 'upload' with impulses, '/tmp/harddisk/torrent/work/transfer.data' using ($1+86400++3600):4 axis x1y2 title 'load' with lines ^ "/tmp/harddisk/torrent/work/transfer.gnuplot", line 13: warning: Skipping data file with no valid points plot '/tmp/harddisk/torrent/work/transfer.data' using ($1+86400++3600):2 title 'download' axis x1y1 with impulses, '/tmp/harddisk/torrent/work/transfer.data' using ($1+86400++3600):3 title 'upload' with impulses, '/tmp/harddisk/torrent/work/transfer.data' using ($1+86400++3600):4 axis x1y2 title 'load' with lines ^ "/tmp/harddisk/torrent/work/transfer.gnuplot", line 13: x range is invalid

kaizen
27-11-2007, 20:33
I've set UL limit in transmission.conf to 13

In transmission graph (log) looks OK.

But I've installed nload - and it shows avg UL transfer 25-30 kBps. After pausing transmission transfer drops to 2-4 kBps.

How solve this problem?

oleo
28-11-2007, 10:56
Press the Help button and read the FAQ. Limit is only for good packets. No handshaking.

kaizen
28-11-2007, 17:15
It means 10kBps overhead and 13kBps real data?

ocelivise
29-11-2007, 01:25
I'm using transmission 0.93, is it possible to select files for downloading instead of downloading whole torrent?

oleo
29-11-2007, 09:35
Simple answer is: No. libtransmission has this possibility though.

oleo
29-11-2007, 09:38
Yes. Unfortunately. For low speed lines the impact is big. For example try to download a file with ftp and see how much upload is taken.

Pulver
29-11-2007, 16:35
you might consider switching to rtorrent.

rtorrent lets you decide what files to download - and it works really well on a asus router :)

After using rtorrent for a couple of days I really dont miss a gui as much as I thought I would :)

mitraku
03-01-2008, 21:40
Is there any way setting up transmission to start more than 1 torrent every 30 min from the queue? I would like it to have 5 active torrents instead of one without having to start them manually.
Thank you.

oleo
04-01-2008, 07:27
No. But if you have slow torrents then you can mark them with Bypass. This way enqueuing will still work.

For example mark manually 4 active torrents as bypass and fifth will be enqueued by watchdog.

mitraku
04-01-2008, 21:20
Thanks. It would be interesting if transmission can mark a torrent as bypassed if it has a low download(defined) speed, but i suppose this can`t also be done.

Arise
05-01-2008, 14:38
I have some questions about transmission.

What makes a torrent an active one? Is it active if it downloaded right now, or is it active if it is in the seeding mode? (was already downloaded).

How many torrents should I keep at seeding? What is the max limit?

The interface PAUSE button is missinterpreted. If I click on the PAUSE button, I have to click again on the same button to resume the transfers. Took me about 1 hour to find out this. I tried to restart the router and I tried to restart the watchdog from ssh and admin interface over and over again only to find out by mistake that I have to push again on the pause button. Can the interface be adjusted to display "Resume" instead "Pause" ?

oleo
06-01-2008, 19:57
ACTIVE = downloading + seeding

Practical number depends on your hardware, bandwidth and type of torrents. I suggest up to 20 although this also depends on user experience. So go for as little as possible but not less than that.

Think of Pause button as Pause on tape recorder. It Stops/Starts activity of the transmission daemon. And yes, it is design problem of the static header that prevents Resume/Pause button.

mitraku
07-01-2008, 12:03
My wl500gp holds up to 160 active music torrents.

valzzz
18-02-2008, 18:31
Hi!
First of all I would like to thank this community for great "how to"'s..
I'm now using latest stable Olegs FW with transmission.
One problem with transmission:


Feb 18 19:53:04 transmissiond[396]: Port Mapping (NAT-PMP): readnatpmpresponseorretry returned error -7, errno is 146 (Connection refused)
Feb 18 19:53:04 transmissiond[396]: Port Mapping (NAT-PMP): If your router supports NAT-PMP, please make sure NAT-PMP is enabled!
Feb 18 19:53:04 transmissiond[396]: Port Mapping (NAT-PMP): NAT-PMP port forwarding unsuccessful, trying UPnP next
Feb 18 19:53:04 transmissiond[396]: Port Mapping (UPNP): upnpDiscover returned NULL (errno 2 - No such file or directory)
Feb 18 19:53:04 transmissiond[396]: Port Mapping (UPNP): UPNP_GetValidIGD failed. (errno 0 - Success)
Feb 18 19:53:04 transmissiond[396]: Port Mapping (UPNP): If your router supports UPnP, please make sure UPnP is enabled!

I've enabled upnp via web UI and even tried to open ports from virtual maschine, but nothing.
Upload is almost nothing

avberk
19-02-2008, 08:29
Maybe the firewall of the asus is blocking traffic.
Either put the asus in AP (access point) mode or check the
forum on how to set firewall rules.

Freelancer
02-03-2008, 13:36
Hi, there

I have a big problem. I am inside of closed torrent tracker.
This guys only allow Transmission version 1.05 and if I have "+" on the end like this 1.05+ than it is forbidden.
Now I've been patient for more than 4 months to catch a state when I have a version that they like. This moment did not happen. And as I look it will never happen because Oleo releases versions with "+" on the end. Currently I have: Transmission/1.05+ (5051).
My question is where can I hack the version number so it reports back to this closed mind morons 1.05?

oleo
02-03-2008, 17:36
You must build it by yourself. It is not so hard. See http://trac.nslu2-linux.org/optware/wiki

You can change configure.ac

configure.ac:USERAGENT_PREFIX="1.06+"
or use the following commmand:

sed -i -e 's/1.06+/1.05/' builds/transmission/*
make transmission-clean
make transmission-check

Freelancer
02-03-2008, 22:24
Thank you Oleo, I shall do as you told me.
But now I need to go to sleep. :)

edk
03-04-2008, 15:12
I made a little program to associate torrent files with it and move them to transmission source Folder.

1st time running you must specify local folder and transmission share folder.
You can associate torrent files with Torrent mover by pressing "Associate ..." button. To do that, You must have administrator privileges.

If Torrent Mover for some reasons cant move torrent file to transmission folder it stores it to local folder.

Parameters:
config - configuration dialog
copy - move torrent files form local to transmission source directory.

andyqp
29-04-2008, 07:53
Something strange is happening after downgrade to 5642, and I'm not sure that I've seen it before.

After the torrent (completely downloaded and even seeded for a couple of minutes) is moved from "work" folder to "target" folder, the download starts again (or maybe continues from some arbitrary position/percentage - I've not catched a situation when there is actually 0.00% displayed). Transfer statistics and information on tracker show, that there is actual download happening. After the torrent is completely downloaded (again), the seeding starts normally.

All that time the extension on .torrent file is .torrent.seeding. And files appear to be complete - I've copied them over to my computer during that extra download phase and tried to run without a problem. There were no checkum files in that particular package so this kind of "check" is not 100% reliable, but given the low download percentage shown at that time, it should not work at all if that percentage was correct...

Push out/Push in and Pause/Unpause do not help.

Has anyone else noticed this behaviour?

Andris

(I've decided to start a new thread without version and build numbers) just in case they change)