Personally I like Deluge. I have used both rtorrent and deluge on synology Nas. Found deluge was much easier to setup.
I have setup rtorrent 4th time on openwrt successfully but the issue is installing rutorrent breaks everthing, it just takes over the router ip 192.168.1.1.
Typing in 192.168.1.1:80 redirects to rutorrent which is not connected to the rtorrent.
same is the case with 192.168.1.1:9092
and everything on openwrt is bit messy, e.g just to format my USB to ext4 I had to download the MiniTool Partition Wizard Free. which was as easy as two clicks in gargoyle.
so can I go this route
1.Install rtorrent using this command on gargoyle
- Start putty
Host name: 192.168.1.1
Port: 22
Connection Type : SSH
Save it once and press open
Username: Root
Password: admin
Code: Select all
Opkg update
opkg install rtorrent screen
2. Make rtorrent.rc file using
Code: Select all
cd /root
vi .rtorrent.rc
Press Esc and then type
:wq and press enter
3. Edit it using WinScp, (Vi just sucks and nano is an extra step)
- Open Winscp select file protocol SCP
- Host Name is router ip i.e 192.168.1.1
- Username: root
- Password: admin
Double click root folder and double click .rtorrent.rc
and copy the following setting
Code: Select all
encoding_list = UTF-8
system.umask.set = 022
port_range = 23877-23877
port_random = no
check_hash = no
trackers.enable = 1
dht = auto
dht_port = 6881
scgi_port = 127.0.0.1:5000
encryption = allow_incoming, try_outgoing, enable_retry
directory = /mnt/sd1/downloads/
session = /mnt/sda1/rtorrent/session/
schedule = rss_downloader,300,300,"execute=/usr/lib/lua/rss_downloader.lua"
replace /mnt/sda2/downloads/ with your download folder
and /mnt/sda2/rtorrent/session/ with your session folder which you can create using winscp
4. Open winscp as before go to mnt and your sda1 or whatever and create folders downloads and rtorrent. Within rtorrent create another session folder.
5. Create create an autostart script, /etc/init.d/rtorrent using the command
Code: Select all
Vi create an autostart script, /etc/init.d/rtorrent
add the following code using winscp as before
Code: Select all
#!/bin/sh /etc/rc.common
START=99
STOP=99
start () {
screen -dmS rtorrent rtorrent
}
stop () {
killall -9 rtorrent
}
6. enable autostart and start rtorrent service One line at a time
Code: Select all
enable autostart and start rtorrent service.
7. Check using command
8. Install Rutorrent
References