I love transmission-daemon

net-p2p/transmission-daemon is the best torrent client for FreeBSD
before that i used to like rtorrent, but i had huge lags when downloading at high speed

transmission-daemon is different story, i have 62 active torrents... and downloading at high speed, no problems.

i wanted to share my experience in case anyone of you have problems with rtorrent.

also transmission daemon is easy to use
+ i like web interface www/transmission-web

I think transmission-daemon is a true unix app
 
yes, i know, but you need ctorrent per torrent, while 1 transmission per n torrents

and maybe i did something wrong, but ctorrent was checking hash every time on start
 
killasmurf86 said:
net-p2p/transmission-daemon is the best torrent client for FreeBSD
before that i used to like rtorrent, but i had huge lags when downloading at high speed

transmission-daemon is different story, i have 62 active torrents... and downloading at high speed, no problems.

i wanted to share my experience in case anyone of you have problems with rtorrent.

also transmission daemon is easy to use
+ i like web interface www/transmission-web

I think transmission-daemon is a true unix app

How you config it
I want use it with screen and no graphic interface, how I config it and set IP and control it from another place
 
Code:
{
    "blocklist-enabled": 0, 
    "download-dir": "\/home\/Files\/torrents\/files\/", 
    "download-limit": 1000, 
    "download-limit-enabled": 0, 
    "encryption": 2, 
    "max-peers-global": 200, 
    "peer-port": 51413, 
    "pex-enabled": 1, 
    "port-forwarding-enabled": 0, 
    "rpc-authentication-required": 1, 
    "rpc-password": "PASSWORD", 
    "rpc-port": PORT, 
    "rpc-username": "USERNAME", 
    "rpc-whitelist": "127.0.0.1,xxx.xxx.xxx.xxx", 
    "rpc-whitelist-enabled": 1, 
    "upload-limit": 1000, 
    "upload-limit-enabled": 0
}

if you remove "rpc-whitelist" you can connect to transmission-daemon with transmission-wed from any IP
 
killasmurf86 said:
Code:
{
    "blocklist-enabled": 0, 
    "download-dir": "\/home\/Files\/torrents\/files\/", 
    "download-limit": 1000, 
    "download-limit-enabled": 0, 
    "encryption": 2, 
    "max-peers-global": 200, 
    "peer-port": 51413, 
    "pex-enabled": 1, 
    "port-forwarding-enabled": 0, 
    "rpc-authentication-required": 1, 
    "rpc-password": "PASSWORD", 
    "rpc-port": PORT, 
    "rpc-username": "USERNAME", 
    "rpc-whitelist": "127.0.0.1,xxx.xxx.xxx.xxx", 
    "rpc-whitelist-enabled": 1, 
    "upload-limit": 1000, 
    "upload-limit-enabled": 0
}

if you remove "rpc-whitelist" you can connect to transmission-daemon with transmission-wed from any IP

I remove rpc-whitelist
but when I type
http://192.168.0.42:9091
in firefoxe from another IP I see this message
Code:
Unauthorized IP Address.

Either disable the IP address whitelist or add your address to it.

If you're editing settings.json, see the 'rpc-whitelist' and 'rpc-whitelist-enabled' entries.

If you're still using ACLs, use a whitelist instead. See the transmission-daemon manpage for details.
 
this transmission setting I modify it

Code:
{
    "blocklist-enabled": 0, 
    "download-dir": "\/usr\/home\/Mostafa", 
    "download-limit": 100, 
    "download-limit-enabled": 0, 
    "encryption": 2, 
    "max-peers-global": 200, 
    "peer-port": 51413, 
    "pex-enabled": 1, 
    "port-forwarding-enabled": 0, 
    "rpc-authentication-required": 1, 
    "rpc-password": "PASSWORD", 
    "rpc-port": 9091, 
    "rpc-username": "trans", 
    "upload-limit": 100, 
    "upload-limit-enabled": 0
}
 
I see understand another thing .transmission-daemon make directory in my .config home folder and I can see setting file there ,

but when I kill transmission with kill PID and then start it from terminal and delete whitelist line , and then I see that error , so I kill it again and run it again and go to setting file I see again whitelist and I understand setting file is not stable and it change every time
 
this config dose not work for me I delete rpc whirelist and run transmission and set rpc-whitelist-enabled to 0 but dose not work and when I kill it and run afain I see config file change and I have rpc white list and rpc-whitelist-enabled again
I do not know why
 
ale said:
Can you try changing the setting while the daemon is not running?

Yes , first I kill daemon and then change setting and then start it but after that I kill again it change

after change setting I can not connect to web interface too
 
Code:
{
    "blocklist-enabled": 0, 
    "download-dir": "[color="Red"]\/home\/Files\/torrents\/files\/[/color]", 
    "download-limit": 1000, 
    "download-limit-enabled": 0, 
    "encryption": 2, 
    "max-peers-global": 200, 
    "peer-port": 51413, 
    "pex-enabled": 1, 
    "port-forwarding-enabled": 0, 
    "rpc-authentication-required": 1, 
    "rpc-password": "[color="Red"]PASSWORD[/color]", 
[b]    "rpc-port": [color="Red"]PORT[/color], [/b]
    "rpc-username": "[color="Red"]USERNAME[/color]", 
   [B] "rpc-whitelist-enabled": [color="Red"]0[/color],[/B] 
    "upload-limit": 1000, 
    "upload-limit-enabled": 0
}
make sure you connect to right port.
set "rpc-whitelist-enabled" to 0

set red variables
 
Both rtorrent and transmission are fine but:

1) transmission cannot be bound to a IP unlike rtorrent.
2) rtorrent cannot run as a daemon unlike transmission.

I know transmission can set the ToS (t option) but I find easier to filter, queue and monitor traffic by binding rtorrent to a specific IP.
 
I did not push rtorrent that far.

I have anyway found some useful tricks on calomel.org.

With respect to the lags you are experiencing on FreeBSD, I would suggest to look in particular under:

* "Disconnect idle clients quickly",
* "Decrease the time delay when your client connects to the trackers",
* "Increase the rate at which pieces are requested from other peers", and
* "Limit connections per client (3 connections per 300 seconds per ip)".

I am assuming of course that your pf.conf and .rtorrent.rc are appropriately configured on your box.
 
What about mldonkey? I use it for years and I am very happy with it. Only problem is that it does not support Ares network..
Regards
 
killasmurf86 said:
Code:
{
    "blocklist-enabled": 0, 
    "download-dir": "[color="Red"]\/home\/Files\/torrents\/files\/[/color]", 
    "download-limit": 1000, 
    "download-limit-enabled": 0, 
    "encryption": 2, 
    "max-peers-global": 200, 
    "peer-port": 51413, 
    "pex-enabled": 1, 
    "port-forwarding-enabled": 0, 
    "rpc-authentication-required": 1, 
    "rpc-password": "[color="Red"]PASSWORD[/color]", 
[b]    "rpc-port": [color="Red"]PORT[/color], [/b]
    "rpc-username": "[color="Red"]USERNAME[/color]", 
   [B] "rpc-whitelist-enabled": [color="Red"]0[/color],[/B] 
    "upload-limit": 1000, 
    "upload-limit-enabled": 0
}
make sure you connect to right port.
set "rpc-whitelist-enabled" to 0

set red variables

after I install new version of transmission , everything work good and prefect and I can control it from another system in world
 
transmission settings

(for headless system)

Found out (from transmission website) that in order to make settings in settings.json permanent, you need to stop the transmission daemon prior to editing the file otherwise your settings will be reset to their previous version.

So there is no need to pass all those flags in /etc/rc.conf, all you need to do is stop the daemon, configure settings.json to your needs and restart.

Hope it helps.
 
Code:
[root@AeriePeak ~]# transmission-remote -st

CURRENT SESSION
  Uploaded:   27.56 GiB
  Downloaded: 4.08 GiB
  Ratio:      6.75
  Duration:   6 days

TOTAL
  Started 14 times
  Uploaded:   121.4 GiB
  Downloaded: 247.1 GiB
  Ratio:      0.49
  Duration:   23 days
Love it too. <3
 
settings.json sample

Here is the full list of settings, with defaults filled in, formatted as json. This list is grouped and ordered in the same way as it is on the documentation page. Hope this saves someone the time. :beer

Edit to suit your needs, and then save it as: /usr/local/etc/transmission/home/settings.json, then restart transmission.

Code:
{

  "alt-speed-enabled": 0,
  "alt-speed-up": 50,
  "alt-speed-down": 50,
  "speed-limit-down": 100,
  "speed-limit-down-enabled": false,
  "speed-limit-up": 100,
  "speed-limit-up-enabled": false,
  "upload-slots-per-torrent": 14,

  "blocklist-url": "",
  "blocklist-enabled": false,

  "download-dir": "\/your\/download\/dir",
  "incomplete-dir": "\/your\/incomplete\/dir",
  "incomplete-dir-enabled": false,
  "preallocation": 1,
  "rename-partial-files": true,
  "start-added-torrents": true,
  "trash-original-torrent-files": false,
  "umask": 18,
  "watch-dir": "\/your\/watch\/dir",
  "watch-dir-enabled": false,

  "cache-size-mb": 4,
  "dht-enabled": true,
  "encryption": 1,
  "lazy-bitfield-enabled": true,
  "lpd-enabled": false,
  "message-level": 2,
  "pex-enabled": true,
  "prefetch-enabled": true,
  "scrape-paused-torrents-enabled": true,
  "script-torrent-done-enabled": false,
  "script-torrent-done-filename": "",
  "utp-enabled": true,

  "bind-address-ipv4": "0.0.0.0",
  "bind-address-ipv6": "::",
  "peer-congestion-algorithm": "CuBIC",
  "peer-limit-global": 240,
  "peer-limit-per-torrent": 60,
  "peer-socket-tos": "default",

  "peer-port": 51413,
  "peer-port-random-high": 65535,
  "peer-port-random-low": 1024,
  "peer-port-random-on-start": false,
  "port-forwarding-enabled": true,

  "download-queue-enabled": true,
  "download-queue-size": 5,
  "queue-stalled-enabled": true,
  "queue-stalled-minutes": 30,
  "seed-queue-enabled": false,
  "seed-queue-size": 10,

  "rpc-authentication-required": false,
  "rpc-bind-address": "0.0.0.0",
  "rpc-enabled": true,
  "rpc-password": "password",
  "rpc-port": 9091,
  "rpc-url": "\/transmission\/",
  "rpc-username": "username",
  "rpc-whitelist": "127.0.0.1",
  "rpc-whitelist-enabled": true,

  "alt-speed-time-enabled": false,
  "alt-speed-time-begin": 540,
  "alt-speed-time-end": 1020,
  "alt-speed-time-day": 127,
  "idle-seeding-limit": 30,
  "idle-seeding-limit-enabled": false,
  "ratio-limit": 2.0,
  "ratio-limit-enabled": false

}
 
Back
Top