Discussion

BananaPi as download server

9 6138
FishX  
Post Last Edited by FishX at 2014-7-23 22:32

1)remove transmission gui and install transmission daemon


  1. sudo apt-get remove transmission
  2. sudo apt-get install transmission-daemon
  3. sudo service transmission-daemon stop
Copy the Code


2)modify the settings:

  1. sudo nano /etc/transmission-daemon/settings.json
Copy the Code

a)add all ip to the whitelist

  1. "rpc-whitelist": "*.*.*.*",
Copy the Code

b)change the username and password

  1. "rpc-username": "bnnpi",
  2. "rpc-password": "bnnpi",
Copy the Code

Press Ctrl+x &y to save and exit

c)restart transmission daemon

  1. sudo service transmission-daemon start
Copy the Code

Finally,you can open in a browser to visit transmission

  1. http://you bnnpi's ip:9091
Copy the Code

you can change other settings from the second icon on the bottomleft


QQ截图20140724123238.png

nealwon  
Reply 1# FishX 测试了下  好用,多谢分享,论坛不活跃啊
各位大神们 来冒冒泡啊  随便吐点口水也好哇

我是在普通服务器测试的 等pi到了才知道pi上效果如何~~

Arda  
Since Raspberry Pi, transmission always crashed on me with big files. That's why I'd suggest to compile and use libtorrent/rtorrent/xmlrpc instead. It takes time (10-15 times each for rtorrent/libtorrent), but it's damn worth it. Also rutorrent is a good webui.

Using bananian, apache + samba + rtorrent running, total ram consumed is 52MBs

Haxy  
Someone pls write how to install rtorrent and rutorrent

B17C0D3  
i made also bad experience with transmission, next i wanted to try deluge.

Fortunately transmission worked great for me on Banana Pi.
On Raspberry Pi I got disk disconnections, but hard drive is usb, not sata like in Banana Pi, which is much more estable.

Post Last Edited by daristan at 2014-8-25 03:01

For me I didn't remove anything but install transmission-daemon. As what you say the setting is a real pain butbecause iI have done on raspberry pi before so I just copy all the setting over.  So far the highest speed on a single file is more than 4mb/s, on raspberry pi will not reach 2mb/s. Tried before download more than 8gb single file with no issue, however advice to pause the file if u going shut down or reboot to avoid corruption.

Btw surprise to see there is upload, for me I set the upload to zero from what I remember but somehow it really stay at zero upload, it suppose to be unlimited

B17C0D3  
Post Last Edited by B17C0D3 at 2014-8-27 12:18

right now i use this tutorial to install rtorrent on bananian and the command "./configure --with-xmlrpc-c" shows an error

this are the last lines of output:
  1. checking for sys/statfs.h... yes
  2. checking for statvfs... ok
  3. checking whether pthreads work without any flags... no
  4. checking for the pthreads library -lpthreads... no
  5. checking whether pthreads work with -Kthread... no
  6. checking whether pthreads work with -kthread... no
  7. checking for the pthreads library -llthread... no
  8. checking whether pthreads work with -pthread... yes
  9. checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
  10. checking if more special flags are required for pthreads... no
  11. checking for PTHREAD_PRIO_INHERIT... no
  12. checking for NcursesW wide-character library... no
  13. checking for Ncurses library... no
  14. checking for Curses library... no
  15. configure: error: requires either NcursesW or Ncurses library
  16. ./configure --with-xmlrpc-c  18,05s user 9,72s system 56% cpu 49,294 total
Copy the Code
it is new for me to compile software
can somone help me?

configure: error: requires either NcursesW or Ncurses library


install ncurses library.

  1. sudo apt-get install libncurses5-dev
Copy the Code

You have to log in before you can reply Login | Sign Up

Points Rules