51

Odp: Rtorrent na LEDE

Podziałałem wczoraj jeszcze...;)
Widać już gołym okiem panel rutorrent.
Jednak, żeby nie było tak kolorowo, to coś nie działa...
Takie info mam w panelu:
[20.06.2017 12:44:30] WebUI started.
[20.06.2017 12:44:30] Bad response from server: (200 [parsererror,getplugins]) SyntaxError: Unexpected token <
[20.06.2017 12:50:05] JS error: [https://192.168.2.1/rutorrent/js/webui.js : 762] Uncaught TypeError: Cannot read property 'rTorrent' of undefined

52

Odp: Rtorrent na LEDE

Akurat masz błąd w kodzie gui. Zrób upgrade do wersji "stabilnej" jak już lub zgłoś im że jest błąd w gui,

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

53

Odp: Rtorrent na LEDE

Na jakim serwerze chcesz odpalić ruTorrent, standardowe uHTTPd lub lighttpd czy jeszcze coś innego?

Pokaż wynik poleceń

cat ~/.rtorrent.rc
cat /www/rutorrent/conf/config.php
cat /www/rutorrent/conf/plugins.ini

bez tego dalej nie ruszymy

WNDR3800 OpenWrt 19.07.7 / WNDR3700v2 17.01.6 / TL-WR741ND v4 17.01.6

54

Odp: Rtorrent na LEDE

root@LEDE:~# cat ~/.rtorrent.rc
min_peers = 40
max_peers = 100
min_peers_seed = 10
max_peers_seed = 50
max_uploads = 3
download_rate = 0
upload_rate = 0
directory = /overlay/torrenty
session =   /overlay/torrenty/session
port_range = 50800-50801
port_random = yes
check_hash = no
#use_udp_trackers = yes
encryption = allow_incoming, try_outgoing
dht = on
dht_port = 6881
#peer_exchange = yes
encoding_list = UTF-8
scgi_local = /tmp/rtorrent.socket
#scgi_port = 5000;
#scgi_host = "127.0.0.1";
#schedule = chmod,0,0,"execute=chmod,777,/tmp/rtorrent.socket"
#xmlrpc_dialect = i8


root@LEDE:~# cat /www/rutorrent/conf/config.php
"php" => '/usr/bin/php-cgi'p
        // configuration parameters

        // for snoopy client
        @define('HTTP_USER_AGENT', 'Mozilla/5.0 (Windows NT 6.0; WOW64; rv:12.0) Gecko/20100101 Firefox/12.0', true);
        @define('HTTP_TIME_OUT', 30, true);     // in seconds
        @define('HTTP_USE_GZIP', true, true);
        $httpIP = null;                         // IP string. Or null for any.

        @define('RPC_TIME_OUT', 5, true);       // in seconds

        @define('LOG_RPC_CALLS', false, true);
        @define('LOG_RPC_FAULTS', true, true);

        // for php
        @define('PHP_USE_GZIP', false, true);
        @define('PHP_GZIP_LEVEL', 2, true);

        $schedule_rand = 10;                    // rand for schedulers start, +0..X seconds

        $do_diagnostic = true;
        $log_file = '/tmp/errors.log';          // path to log file (comment or leave blank to disable logging)

        $saveUploadedTorrents = true;           // Save uploaded torrents to profile/torrents directory or not
        $overwriteUploadedTorrents = false;     // Overwrite existing uploaded torrents in profile/torrents directory or make unique name

        $topDirectory = '/';                    // Upper available directory. Absolute path with trail slash.
        $forbidUserSettings = false;

        // $scgi_port = 5000;
        // $scgi_host = "127.0.0.1";

        // For web->rtorrent link through unix domain socket
        // (scgi_local in rtorrent conf file), change variables
        // above to something like this:
        //
        $scgi_port = 0;
        $scgi_host = "unix:///tmp/rpc.socket";

        $XMLRPCMountPoint = "/RPC2";            // DO NOT DELETE THIS LINE!!! DO NOT COMMENT THIS LINE!!!

        $pathToExternals = array(
                "php"   => '',                  // Something like /usr/bin/php. If empty, will be found in PATH.
                "curl"  => '',                  // Something like /usr/bin/curl. If empty, will be found in PATH.
                "gzip"  => '',                  // Something like /usr/bin/gzip. If empty, will be found in PATH.
                "id"    => '',                  // Something like /usr/bin/id. If empty, will be found in PATH.
                "stat"  => '',                  // Something like /usr/bin/stat. If empty, will be found in PATH.
        );

        $localhosts = array(                    // list of local interfaces
                "127.0.0.1",
                "localhost",
        );

        $profilePath = '../share';              // Path to user profiles
        $profileMask = 0777;                    // Mask for files and directory creation in user profiles.
                                                // Both Webserver and rtorrent users must have read-write access to it.
                                                // For example, if Webserver and rtorrent users are in the same group then the value may be 0770.

        $tempDirectory = null;                  // Temp directory. Absolute path with trail slash. If null, then autodetect will be used.

        $canUseXSendFile = false;               // If true then use X-Sendfile feature if it exist

        $locale = "UTF8";

root@LEDE:~# cat /www/rutorrent/conf/plugins.ini
;; Plugins' permissions.
;; If flag is not found in plugin section, corresponding flag from "default" section is used.
;; If flag is not found in "default" section, it is assumed to be "yes".
;;
;; For setting individual plugin permissions you must write something like that:
;;
;; [ratio]
;; enabled = yes                        ;; also may be "user-defined", in this case user can control plugin's state from UI
;; canChangeToolbar = yes
;; canChangeMenu = yes
;; canChangeOptions = no
;; canChangeTabs = yes
;; canChangeColumns = yes
;; canChangeStatusBar = yes
;; canChangeCategory = yes
;; canBeShutdowned = yes

[default]
enabled = user-defined
canChangeToolbar = yes
canChangeMenu = yes
canChangeOptions = yes
canChangeTabs = yes
canChangeColumns = yes
canChangeStatusBar = yes
canChangeCategory = yes
canBeShutdowned = yes

A czym różnią się te dwie wyżej wymienione opcje? Nie znam ani jednego ani drugiego...

55

Odp: Rtorrent na LEDE

Któryś masz uruchomiony ale o tym później. Najpierw doprowadź te trzy pliki do takiego stanu jak poniżej

root@LEDE:~# cat ~/.rtorrent.rc

# This is an example resource file for rTorrent. Copy to
# ~/.rtorrent.rc and enable/modify the options as needed. Remember to
# uncomment the options you wish to enable.

# Maximum and minimum number of peers to connect to per torrent.
#
#throttle.min_peers.normal.set = 40
#throttle.max_peers.normal.set = 100

# Same as above but for seeding completed torrents (-1 = same as downloading)
#
#throttle.min_peers.seed.set = 10
#throttle.max_peers.seed.set = 50

# Maximum number of simultanious uploads per torrent.
#
#throttle.max_uploads.set = 15

# Global upload and download rate in KiB. "0" for unlimited.
#
#throttle.global_down.max_rate.set_kb = 0
#throttle.global_up.max_rate.set_kb = 0

# Default directory to save the downloaded torrents.
#
directory.default.set = /mnt/usb

# Default session directory. Make sure you don't run multiple instance
# of rtorrent using the same session directory. Perhaps using a
# relative path?
#
session.path.set = ~/.rtorrent.session

# Watch a directory for new torrents, and stop those that have been
# deleted.
#
#schedule2 = watch_directory,5,5,load.start=./watch/*.torrent
#schedule2 = untied_directory,5,5,stop_untied=

# Close torrents when diskspace is low.
#
#schedule2 = low_diskspace,5,60,close_low_diskspace=100M

# The ip address reported to the tracker.
#
#network.local_address.set = 127.0.0.1
#network.local_address.set = rakshasa.no

# The ip address the listening socket and outgoing connections is
# bound to.
#
#network.bind_address.set = 127.0.0.1
#network.bind_address.set = rakshasa.no

# Port range to use for listening.
#
#network.port_range.set = 6890-6999

# Start opening ports at a random position within the port range.
#
#network.port_random.set = no

# Check hash for finished torrents. Might be usefull until the bug is
# fixed that causes lack of diskspace not to be properly reported.
#
#pieces.hash.on_completion.set = no

# Set whether the client should try to connect to UDP trackers.
#
#trackers.use_udp.set = yes

# Alternative calls to bind and ip that should handle dynamic ip's.
#
#schedule2 = ip_tick,0,1800,ip=rakshasa
#schedule2 = bind_tick,0,1800,bind=rakshasa

# Encryption options, set to none (default) or any combination of the following:
# allow_incoming, try_outgoing, require, require_RC4, enable_retry, prefer_plaintext
#
# The example value allows incoming encrypted connections, starts unencrypted
# outgoing connections but retries with encryption if they fail, preferring
# plaintext to RC4 encryption after the encrypted handshake
#
# protocol.encryption.set = allow_incoming,enable_retry,prefer_plaintext

# Enable DHT support for trackerless torrents or when all trackers are down.
# May be set to "disable" (completely disable DHT), "off" (do not start DHT),
# "auto" (start and stop DHT as needed), or "on" (start DHT immediately).
# The default is "off". For DHT to work, a session directory must be defined.
#
# dht.mode.set = auto

# UDP port to use for DHT.
#
#dht.port.set = 6881

# Enable peer exchange (for torrents not marked private)
#
#protocol.pex.set = yes

system.umask.set = 0000
session.use_lock.set = no
network.scgi.open_local = /tmp/rpc.socket
schedule2 = scgi_permission,0,0,"execute.nothrow=chmod,777,/tmp/rpc.socket"

root@LEDE:~# cat /www/rutorrent/conf/config.php

<?php
        // configuration parameters

        // for snoopy client
        @define('HTTP_USER_AGENT', 'Mozilla/5.0 (Windows NT 6.0; WOW64; rv:12.0) Gecko/20100101 Firefox/12.0', true);
        @define('HTTP_TIME_OUT', 30, true);     // in seconds
        @define('HTTP_USE_GZIP', true, true);
        $httpIP = null;                         // IP string. Or null for any.

        @define('RPC_TIME_OUT', 5, true);       // in seconds

        @define('LOG_RPC_CALLS', false, true);
        @define('LOG_RPC_FAULTS', true, true);

        // for php
        @define('PHP_USE_GZIP', false, true);
        @define('PHP_GZIP_LEVEL', 2, true);

        $schedule_rand = 10;                    // rand for schedulers start, +0..X seconds

        $do_diagnostic = true;
        $log_file = '/tmp/errors.log';          // path to log file (comment or leave blank to disable logging)

        $saveUploadedTorrents = true;           // Save uploaded torrents to profile/torrents directory or not
        $overwriteUploadedTorrents = false;     // Overwrite existing uploaded torrents in profile/torrents directory or make unique name

        $topDirectory = '/';                    // Upper available directory. Absolute path with trail slash.
        $forbidUserSettings = false;

        // $scgi_port = 5000;
        // $scgi_host = "127.0.0.1";

        // For web->rtorrent link through unix domain socket
        // (scgi_local in rtorrent conf file), change variables
        // above to something like this:
        //
        $scgi_port = 0;
        $scgi_host = "unix:///tmp/rpc.socket";

        $XMLRPCMountPoint = "/RPC2";            // DO NOT DELETE THIS LINE!!! DO NOT COMMENT THIS LINE!!!

        $pathToExternals = array(
                "php"   => '/usr/bin/php-cgi',  // Something like /usr/bin/php. If empty, will be found in PATH.
                "curl"  => '',                  // Something like /usr/bin/curl. If empty, will be found in PATH.
                "gzip"  => '',                  // Something like /usr/bin/gzip. If empty, will be found in PATH.
                "id"    => '',                  // Something like /usr/bin/id. If empty, will be found in PATH.
                "stat"  => '',                  // Something like /usr/bin/stat. If empty, will be found in PATH.
        );

        $localhosts = array(                    // list of local interfaces
                "127.0.0.1",
                "localhost",
        );

        $profilePath = '../share';              // Path to user profiles
        $profileMask = 0777;                    // Mask for files and directory creation in user profiles.
                                                // Both Webserver and rtorrent users must have read-write access to it.
                                                // For example, if Webserver and rtorrent users are in the same group then the value may be 0770.

        $tempDirectory = null;                  // Temp directory. Absolute path with trail slash. If null, then autodetect will be used.

        $canUseXSendFile = false;               // If true then use X-Sendfile feature if it exist

        $locale = "UTF8";

root@LEDE:~# cat /www/rutorrent/conf/plugins.ini

;; Plugins' permissions.
;; If flag is not found in plugin section, corresponding flag from "default" section is used.
;; If flag is not found in "default" section, it is assumed to be "yes".
;;
;; For setting individual plugin permissions you must write something like that:
;;
;; [ratio]
;; enabled = yes                        ;; also may be "user-defined", in this case user can control plugin's state from UI
;; canChangeToolbar = yes
;; canChangeMenu = yes
;; canChangeOptions = no
;; canChangeTabs = yes
;; canChangeColumns = yes
;; canChangeStatusBar = yes
;; canChangeCategory = yes
;; canBeShutdowned = yes

[default]
enabled = user-defined
canChangeToolbar = yes
canChangeMenu = yes
canChangeOptions = yes
canChangeTabs = yes
canChangeColumns = yes
canChangeStatusBar = yes
canChangeCategory = yes
canBeShutdowned = yes

[_getdir]
enabled = no
[_noty]
enabled = no
[_noty2]
enabled = no
[_task]
enabled = no
[autotools]
enabled = no
[check_port]
enabled = no
[chunks]
enabled = no
[cookies]
enabled = no
[cpuload]
enabled = no
[create]
enabled = no
[data]
enabled = no
[datadir]
enabled = no
[diskspace]
enabled = no
[edit]
enabled = no
[erasedata]
enabled = no
[extratio]
enabled = no
[extsearch]
enabled = no
[feeds]
enabled = no
[filedrop]
enabled = no
[geoip]
enabled = no
[history]
enabled = no
[httprpc]
enabled = no
[ipad]
enabled = no
[loginmgr]
enabled = no
[lookat]
enabled = no
[mediainfo]
enabled = no
[ratio]
enabled = no
[retrackers]
enabled = no
[rpc]
enabled = user-defined
[rss]
enabled = no
[rssurlrewrite]
enabled = no
[rutracker_check]
enabled = no
[scheduler]
enabled = no
[screenshots]
enabled = no
[seedingtime]
enabled = no
[show_peers_like_wtorrent]
enabled = no
[source]
enabled = no
[theme]
enabled = no
[throttle]
enabled = no
[tracklabels]
enabled = no
[trafic]
enabled = no
[unpack]
enabled = no
[uploadeta]
enabled = no
[xmpp]
enabled = no
WNDR3800 OpenWrt 19.07.7 / WNDR3700v2 17.01.6 / TL-WR741ND v4 17.01.6

56

Odp: Rtorrent na LEDE

To powiedz mi jeszcze jak mam to zamienić, bo zainstalowałem nano ale jakoś ciężko mi się odnaleźć...<załamka>

57

Odp: Rtorrent na LEDE

Dajesz np.

nano ~/.rtorrent.rc 
WNDR3800 OpenWrt 19.07.7 / WNDR3700v2 17.01.6 / TL-WR741ND v4 17.01.6

58 (edytowany przez szpiler 2017-06-21 12:27:31)

Odp: Rtorrent na LEDE

Zrobione, co teraz?

59

Odp: Rtorrent na LEDE

Sprawdź czy działa, jak nie pokaż info z rutorrent

WNDR3800 OpenWrt 19.07.7 / WNDR3700v2 17.01.6 / TL-WR741ND v4 17.01.6

60

Odp: Rtorrent na LEDE

Jeszcze wczoraj sprawdzałem czy działa...niestety nie.
[21.06.2017 18:42:27] WebUI started.
[21.06.2017 18:42:27] Bad response from server: (200 [parsererror,getplugins]) SyntaxError: Unexpected token <
[21.06.2017 18:42:33] JS error: [https://192.168.2.1/rutorrent/js/webui.js : 762] Uncaught TypeError: Cannot read property 'rTorrent' of undefined

61 (edytowany przez mavcin 2017-06-21 17:52:12)

Odp: Rtorrent na LEDE

No to jeszcze raz pokaż wynik poleceń

cat ~/.rtorrent.rc
cat /www/rutorrent/conf/config.php
cat /www/rutorrent/conf/plugins.ini
WNDR3800 OpenWrt 19.07.7 / WNDR3700v2 17.01.6 / TL-WR741ND v4 17.01.6

62 (edytowany przez szpiler 2017-06-21 18:07:10)

Odp: Rtorrent na LEDE

root@LEDE:~# cat ~/.rtorrent.rc
# This is an example resource file for rTorrent. Copy to
# ~/.rtorrent.rc and enable/modify the options as needed. Remember to
# uncomment the options you wish to enable.

# Maximum and minimum number of peers to connect to per torrent.
#
#throttle.min_peers.normal.set = 40
#throttle.max_peers.normal.set = 100

# Same as above but for seeding completed torrents (-1 = same as downloading)
#
#throttle.min_peers.seed.set = 10
#throttle.max_peers.seed.set = 50

# Maximum number of simultanious uploads per torrent.
#
#throttle.max_uploads.set = 15

# Global upload and download rate in KiB. "0" for unlimited.
#
#throttle.global_down.max_rate.set_kb = 0
#throttle.global_up.max_rate.set_kb = 0

# Default directory to save the downloaded torrents.
#
directory.default.set = /mnt/usb

# Default session directory. Make sure you don't run multiple instance
# of rtorrent using the same session directory. Perhaps using a
# relative path?
#
session.path.set = ~/.rtorrent.session

# Watch a directory for new torrents, and stop those that have been
# deleted.
#
#schedule2 = watch_directory,5,5,load.start=./watch/*.torrent
#schedule2 = untied_directory,5,5,stop_untied=

# Close torrents when diskspace is low.
#
#schedule2 = low_diskspace,5,60,close_low_diskspace=100M

# The ip address reported to the tracker.
#
#network.local_address.set = 127.0.0.1
#network.local_address.set = rakshasa.no

# The ip address the listening socket and outgoing connections is
# bound to.
#
#network.bind_address.set = 127.0.0.1
#network.bind_address.set = rakshasa.no

# Port range to use for listening.
#
#network.port_range.set = 6890-6999

# Start opening ports at a random position within the port range.
#
#network.port_random.set = no

# Check hash for finished torrents. Might be usefull until the bug is
# fixed that causes lack of diskspace not to be properly reported.
#
#pieces.hash.on_completion.set = no

# Set whether the client should try to connect to UDP trackers.
#
#trackers.use_udp.set = yes

# Alternative calls to bind and ip that should handle dynamic ip's.
#
#schedule2 = ip_tick,0,1800,ip=rakshasa
#schedule2 = bind_tick,0,1800,bind=rakshasa

# Encryption options, set to none (default) or any combination of the following:
# allow_incoming, try_outgoing, require, require_RC4, enable_retry, prefer_plaintext
#
# The example value allows incoming encrypted connections, starts unencrypted
# outgoing connections but retries with encryption if they fail, preferring
# plaintext to RC4 encryption after the encrypted handshake
#
# protocol.encryption.set = allow_incoming,enable_retry,prefer_plaintext

# Enable DHT support for trackerless torrents or when all trackers are down.
# May be set to "disable" (completely disable DHT), "off" (do not start DHT),
# "auto" (start and stop DHT as needed), or "on" (start DHT immediately).
# The default is "off". For DHT to work, a session directory must be defined.
#
# dht.mode.set = auto

# UDP port to use for DHT.
#
#dht.port.set = 6881

# Enable peer exchange (for torrents not marked private)
#
#protocol.pex.set = yes

system.umask.set = 0000
session.use_lock.set = no
network.scgi.open_local = /tmp/rpc.socket
schedule2 = scgi_permission,0,0,"execute.nothrow=chmod,777,/tmp/rpc.socket"
root@LEDE:~# cat /www/rutorrent/conf/config.php
<?php
        // configuration parameters

        // for snoopy client
        @define('HTTP_USER_AGENT', 'Mozilla/5.0 (Windows NT 6.0; WOW64; rv:12.0) Gecko/20100101 Firefox/12.0', true);
        @define('HTTP_TIME_OUT', 30, true);     // in seconds
        @define('HTTP_USE_GZIP', true, true);
        $httpIP = null;                         // IP string. Or null for any.

        @define('RPC_TIME_OUT', 5, true);       // in seconds

        @define('LOG_RPC_CALLS', false, true);
        @define('LOG_RPC_FAULTS', true, true);

        // for php
        @define('PHP_USE_GZIP', false, true);
        @define('PHP_GZIP_LEVEL', 2, true);

        $schedule_rand = 10;                    // rand for schedulers start, +0..X seconds

        $do_diagnostic = true;
        $log_file = '/tmp/errors.log';          // path to log file (comment or leave blank to disable logging)

        $saveUploadedTorrents = true;           // Save uploaded torrents to profile/torrents directory or not
        $overwriteUploadedTorrents = false;     // Overwrite existing uploaded torrents in profile/torrents directory or make unique name

        $topDirectory = '/';                    // Upper available directory. Absolute path with trail slash.
        $forbidUserSettings = false;

        // $scgi_port = 5000;
        // $scgi_host = "127.0.0.1";

        // For web->rtorrent link through unix domain socket
        // (scgi_local in rtorrent conf file), change variables
        // above to something like this:
        //
        $scgi_port = 0;
        $scgi_host = "unix:///tmp/rpc.socket";

        $XMLRPCMountPoint = "/RPC2";            // DO NOT DELETE THIS LINE!!! DO NOT COMMENT THIS LINE!!!

        $pathToExternals = array(
                "php"   => '/usr/bin/php-cgi',  // Something like /usr/bin/php. If empty, will be found in PATH.
                "curl"  => '',                  // Something like /usr/bin/curl. If empty, will be found in PATH.
                "gzip"  => '',                  // Something like /usr/bin/gzip. If empty, will be found in PATH.
                "id"    => '',                  // Something like /usr/bin/id. If empty, will be found in PATH.
                "stat"  => '',                  // Something like /usr/bin/stat. If empty, will be found in PATH.
        );

        $localhosts = array(                    // list of local interfaces
                "127.0.0.1",
                "localhost",
        );

        $profilePath = '../share';              // Path to user profiles
        $profileMask = 0777;                    // Mask for files and directory creation in user profiles.
                                                // Both Webserver and rtorrent users must have read-write access to it.
                                                // For example, if Webserver and rtorrent users are in the same group then the value may be 0770.

        $tempDirectory = null;                  // Temp directory. Absolute path with trail slash. If null, then autodetect will be used.

        $canUseXSendFile = false;               // If true then use X-Sendfile feature if it exist

        $locale = "UTF8";
root@LEDE:~# cat /www/rutorrent/conf/plugins.ini
;; Plugins' permissions.
;; If flag is not found in plugin section, corresponding flag from "default" section is used.
;; If flag is not found in "default" section, it is assumed to be "yes".
;;
;; For setting individual plugin permissions you must write something like that:
;;
;; [ratio]
;; enabled = yes                        ;; also may be "user-defined", in this case user can control plugin's state from UI
;; canChangeToolbar = yes
;; canChangeMenu = yes
;; canChangeOptions = no
;; canChangeTabs = yes
;; canChangeColumns = yes
;; canChangeStatusBar = yes
;; canChangeCategory = yes
;; canBeShutdowned = yes

[default]
enabled = user-defined
canChangeToolbar = yes
canChangeMenu = yes
canChangeOptions = yes
canChangeTabs = yes
canChangeColumns = yes
canChangeStatusBar = yes
canChangeCategory = yes
canBeShutdowned = yes

[_getdir]
enabled = no
[_noty]
enabled = no
[_noty2]
enabled = no
[_task]
enabled = no
[autotools]
enabled = no
[check_port]
enabled = no
[chunks]
enabled = no
[cookies]
enabled = no
[cpuload]
enabled = no
[create]
enabled = no
[data]
enabled = no
[datadir]
enabled = no
[diskspace]
enabled = no
[edit]
enabled = no
[erasedata]
enabled = no
[extratio]
enabled = no
[extsearch]
enabled = no
[feeds]
enabled = no
[filedrop]
enabled = no
[geoip]
enabled = no
[history]
enabled = no
[httprpc]
enabled = no
[ipad]
enabled = no
[loginmgr]
enabled = no
[lookat]
enabled = no
[mediainfo]
enabled = no
[ratio]
enabled = no
[retrackers]
enabled = no
[rpc]
enabled = user-defined
[rss]
enabled = no
[rssurlrewrite]
enabled = no
[rutracker_check]
enabled = no
[scheduler]
enabled = no
[screenshots]
enabled = no
[seedingtime]
enabled = no
[show_peers_like_wtorrent]
enabled = no
[source]
enabled = no
[theme]
enabled = no
[throttle]
enabled = no
[tracklabels]
enabled = no
[trafic]
enabled = no
[unpack]
enabled = no
[uploadeta]
enabled = no
[xmpp]
enabled = no

63

Odp: Rtorrent na LEDE

Te wyglądają ok, edytowałeś jakieś inne pliki w katalogu rutorrent?

pokaż wynik

opkg list-installed
WNDR3800 OpenWrt 19.07.7 / WNDR3700v2 17.01.6 / TL-WR741ND v4 17.01.6

64

Odp: Rtorrent na LEDE

Dużo rzeczy robiłem, żeby zadziałało, jednak na oślep wink

root@LEDE:~# opkg list-installed
base-files - 173-r3435-65eec8b
block-mount - 2016-12-04-84b530a7-2
busybox - 1.25.1-4
chat - 2.4.7-11
comgt - 0.32-28
comgt-directip - 0.32-28
comgt-ncm - 0.32-28
ddns-scripts - 2.7.6-13
ddns-scripts_no-ip_com - 2.7.6-13
dnsmasq - 2.77-1
dropbear - 2017.75-1
e2fsprogs - 1.43.3-2
ekooneplstat - 20150706
etherwake - 1.09-4
f2fsck - 1.8.0-1
firewall - 2017-05-27-a4d98aea-1
fstools - 2016-12-04-84b530a7-2
fwtool - 1
hostapd-common - 2016-12-19-ad02e79d-3
ip6tables - 1.4.21-2
iptables - 1.4.21-2
iptables-mod-conntrack-extra - 1.4.21-2
iptables-mod-ipopt - 1.4.21-2
iw - 4.9-1
iwinfo - 2016-09-21-fd9e17be-1
jshn - 2017-02-24-96305a3c-1
jsonfilter - 2016-07-02-dea067ad-1
kernel - 4.4.71-1-2aaf2fe6923906dee98f7ea8de5885b9
kmod-ath - 4.4.71+2017-01-31-2
kmod-ath9k - 4.4.71+2017-01-31-2
kmod-ath9k-common - 4.4.71+2017-01-31-2
kmod-cfg80211 - 4.4.71+2017-01-31-2
kmod-crypto-crc32c - 4.4.71-1
kmod-crypto-hash - 4.4.71-1
kmod-fs-ext4 - 4.4.71-1
kmod-fs-f2fs - 4.4.71-1
kmod-fs-vfat - 4.4.71-1
kmod-fuse - 4.4.71-1
kmod-gpio-button-hotplug - 4.4.71-2
kmod-ifb - 4.4.71-1
kmod-ip6tables - 4.4.71-1
kmod-ipt-conntrack - 4.4.71-1
kmod-ipt-conntrack-extra - 4.4.71-1
kmod-ipt-core - 4.4.71-1
kmod-ipt-ipopt - 4.4.71-1
kmod-ipt-nat - 4.4.71-1
kmod-lib-crc-ccitt - 4.4.71-1
kmod-lib-crc16 - 4.4.71-1
kmod-lib-textsearch - 4.4.71-1
kmod-mac80211 - 4.4.71+2017-01-31-2
kmod-mii - 4.4.71-1
kmod-nf-conntrack - 4.4.71-1
kmod-nf-conntrack6 - 4.4.71-1
kmod-nf-ipt - 4.4.71-1
kmod-nf-ipt6 - 4.4.71-1
kmod-nf-nat - 4.4.71-1
kmod-nf-nathelper-extra - 4.4.71-1
kmod-nls-base - 4.4.71-1
kmod-nls-cp437 - 4.4.71-1
kmod-nls-iso8859-1 - 4.4.71-1
kmod-nls-utf8 - 4.4.71-1
kmod-ppp - 4.4.71-1
kmod-pppoe - 4.4.71-1
kmod-pppox - 4.4.71-1
kmod-sched-cake - 4.4.71+2017-01-28-9789742c-1
kmod-sched-core - 4.4.71-1
kmod-scsi-core - 4.4.71-1
kmod-slhc - 4.4.71-1
kmod-tun - 4.4.71-1
kmod-usb-acm - 4.4.71-1
kmod-usb-core - 4.4.71-1
kmod-usb-ledtrig-usbport - 4.4.71-1
kmod-usb-net - 4.4.71-1
kmod-usb-net-cdc-ether - 4.4.71-1
kmod-usb-net-cdc-mbim - 4.4.71-1
kmod-usb-net-cdc-ncm - 4.4.71-1
kmod-usb-net-huawei-cdc-ncm - 4.4.71-1
kmod-usb-net-qmi-wwan - 4.4.71-1
kmod-usb-net-rndis - 4.4.71-1
kmod-usb-net-sierrawireless - 4.4.71-1
kmod-usb-printer - 4.4.71-1
kmod-usb-serial - 4.4.71-1
kmod-usb-serial-option - 4.4.71-1
kmod-usb-serial-qualcomm - 4.4.71-1
kmod-usb-serial-sierrawireless - 4.4.71-1
kmod-usb-serial-wwan - 4.4.71-1
kmod-usb-storage - 4.4.71-1
kmod-usb-wdm - 4.4.71-1
kmod-usb2 - 4.4.71-1
lede-keyring - 2017-01-20-a50b7529-1
libblobmsg-json - 2017-02-24-96305a3c-1
libc - 1.1.16-1
libcurl - 7.52.1-3
libexpat - 2.2.0-1
libext2fs - 1.43.3-2
libf2fs - 1.8.0-1
libgcc - 5.4.0-1
libip4tc - 1.4.21-2
libip6tc - 1.4.21-2
libiwinfo - 2016-09-21-fd9e17be-1
libiwinfo-lua - 2016-09-21-fd9e17be-1
libjson-c - 0.12.1-1
libjson-script - 2017-02-24-96305a3c-1
liblua - 5.1.5-1
liblzo - 2.09-1
libmbedtls - 2.4.2-1
libncurses - 6.0-1
libnl-tiny - 0.1-5
libopenssl - 1.0.2k-1
libpcre - 8.40-2
libpthread - 1.1.16-1
librt - 1.1.16-1
libsigcxx - 2.5.4-1
libstdcpp - 5.4.0-1
libtorrent - 0.13.6-git-1-14e793b75dac95c51ad64ff9cd2dc6772b68c625
libubox - 2017-02-24-96305a3c-1
libubus - 2017-02-18-34c6e818-1
libubus-lua - 2017-02-18-34c6e818-1
libuci - 2016-07-04-e1bf4356-1
libuci-lua - 2016-07-04-e1bf4356-1
libuclient - 2016-12-09-52d955fd-1
libusb-1.0 - 1.0.21-1
libustream-openssl - 2016-07-02-ec80adaa-2
libuuid - 2.29.2-1
libxml2 - 2.9.4-1
libxtables - 1.4.21-2
logd - 2017-03-10-16f7e161-1
lua - 5.1.5-1
luaexpat - 1.3.0-1
luasec - 0.6-1
luasocket - 3.0-rc1-20130909-3
luci - git-17.152.82987-7f6fc16-1
luci-app-commands - git-17.152.82987-7f6fc16-1
luci-app-ddns - 2.4.8-1
luci-app-ekooneplstat - 20150929
luci-app-firewall - git-17.152.82987-7f6fc16-1
luci-app-openvpn - git-17.152.82987-7f6fc16-1
luci-app-p910nd - git-17.152.82987-7f6fc16-1
luci-app-samba - git-17.152.82987-7f6fc16-1
luci-app-sqm - 1.1.3-1
luci-app-wol - git-17.152.82987-7f6fc16-1
luci-base - git-17.152.82987-7f6fc16-1
luci-i18n-base-en - git-17.152.82987-7f6fc16-1
luci-i18n-base-pl - git-17.152.82987-7f6fc16-1
luci-i18n-commands-en - git-17.152.82987-7f6fc16-1
luci-i18n-commands-pl - git-17.152.82987-7f6fc16-1
luci-i18n-ddns-pl - 2.4.8-1
luci-i18n-firewall-en - git-17.152.82987-7f6fc16-1
luci-i18n-firewall-pl - git-17.152.82987-7f6fc16-1
luci-i18n-openvpn-en - git-17.152.82987-7f6fc16-1
luci-i18n-openvpn-pl - git-17.152.82987-7f6fc16-1
luci-i18n-p910nd-en - git-17.152.82987-7f6fc16-1
luci-i18n-p910nd-pl - git-17.152.82987-7f6fc16-1
luci-i18n-samba-en - git-17.152.82987-7f6fc16-1
luci-i18n-samba-pl - git-17.152.82987-7f6fc16-1
luci-i18n-wol-en - git-17.152.82987-7f6fc16-1
luci-i18n-wol-pl - git-17.152.82987-7f6fc16-1
luci-lib-ip - git-17.152.82987-7f6fc16-1
luci-lib-jsonc - git-17.152.82987-7f6fc16-1
luci-lib-nixio - git-17.152.82987-7f6fc16-1
luci-mod-admin-full - git-17.152.82987-7f6fc16-1
luci-proto-3g - git-17.152.82987-7f6fc16-1
luci-proto-ipv6 - git-17.152.82987-7f6fc16-1
luci-proto-ncm - 20170319
luci-proto-ppp - git-17.152.82987-7f6fc16-1
luci-proto-qmi - git-17.152.82987-7f6fc16-1
luci-proto-relay - git-17.152.82987-7f6fc16-1
luci-ssl-openssl - git-17.152.82987-7f6fc16-1
luci-theme-bootstrap - git-17.152.82987-7f6fc16-1
mkf2fs - 1.8.0-1
mtd - 21
nano - 2.7.5-1
netifd - 2017-01-25-650758b1-1
ntfs-3g - 2016.2.22-1-fuseint
odhcp6c - 2017-01-30-c13b6a05-1
odhcpd - 2017-04-28-9268ca65-1
openssl-util - 1.0.2k-1
openvpn-easy-rsa - 2013-01-30-ff5bfd1d-2
openvpn-openssl - 2.4.2-1
opkg - 2017-03-23-1d0263bb-1
p910nd - 0.97-5
php7 - 7.1.1-1
php7-cgi - 7.1.1-1
php7-mod-json - 7.1.1-1
ppp - 2.4.7-11
ppp-mod-pppoe - 2.4.7-11
procd - 2017-02-15-5f912410-1
relayd - 2016-02-07-ad0b25ad-2
rpcd - 2016-12-03-0577cfc1-1
rtorrent-rpc - 0.9.6-git-1-62cb5a4605c0664bc522e0e0da9c72f09cf643a9
samba36-server - 3.6.25-6
screen - 4.3.1-1
sqm-scripts - 1.1.3-1
swconfig - 11
sysinfo - 20170327
tc - 4.4.0-9
terminfo - 6.0-1
uboot-envtools - 2015.10-1
ubox - 2017-03-10-16f7e161-1
ubus - 2017-02-18-34c6e818-1
ubusd - 2017-02-18-34c6e818-1
uci - 2016-07-04-e1bf4356-1
uclient-fetch - 2016-12-09-52d955fd-1
uhttpd - 2016-10-25-1628fa4b-1
uhttpd-mod-ubus - 2016-10-25-1628fa4b-1
umbim - 2015-07-04-29aaf43b-1
uqmi - 2016-12-19-8ceeab69-1
usb-modeswitch - 2017-05-24-453da8e5-1
usign - 2015-07-04-ef641914-1
wget - 1.18-2
wpad-mini - 2016-12-19-ad02e79d-3
wwan - 2014-07-17-1
xmlrpc-c - 1.39.0-1
xmlrpc-c-common - 1.39.0-1
xmlrpc-c-internal - 1.39.0-1
xmlrpc-c-server - 1.39.0-1
zlib - 1.2.11-1

65

Odp: Rtorrent na LEDE

Proponuje usuń katalog z rutorrent i rozpakuj go od nowa

rm -r /www/rutorrent/
cd /www
wget https://github.com/Novik/ruTorrent/archive/v3.8.tar.gz
tar zxvf v3.8
mv ruTorrent-3.8 rutorrent

potem edytuj na nowo pliki konfiguracyjne a reszty nie ruszaj

WNDR3800 OpenWrt 19.07.7 / WNDR3700v2 17.01.6 / TL-WR741ND v4 17.01.6

66 (edytowany przez szpiler 2017-06-21 18:43:19)

Odp: Rtorrent na LEDE

Zrobiłem wszystko jak zaleciłeś.
Restart routera i dalej to samo, nie działa.

Nie wiem czy to jest istotne, ale mam WDR4300 z Luci, zrobiłem exroot na pendrive 8GB, tam instaluję pluginy.
Drugi port USB jest wykorzystany na router Netgear 810S...
Docelowo będzie hub USB i wpięty dysk 1TB na USB.
Tam też chcę utworzyć katalog przechowywania/seedowania pobranych plików poprzez rtorrent.

67

Odp: Rtorrent na LEDE

Teraz głośno myślę...
Jeśli pendrive który służy do exroota jest sformatowany systemem plików f2fs
a na tą chwilę tam jest wskazany folder wymiany rtorrent, to czy nie jest to problemem?

68

Odp: Rtorrent na LEDE

Jakie masz info w rutorrent?

WNDR3800 OpenWrt 19.07.7 / WNDR3700v2 17.01.6 / TL-WR741ND v4 17.01.6

69

Odp: Rtorrent na LEDE

[21.06.2017 19:51:23] WebUI started.
[21.06.2017 19:51:23] Bad response from server: (200 [parsererror,getplugins]) SyntaxError: Unexpected token <

Jeśli kliknę np w "Pobieranie", "Ukończony" etc to pojawia się jeszcze:
[21.06.2017 19:51:26] JS error: [https://192.168.2.1/rutorrent/js/stable.js : 1735] Uncaught TypeError: Cannot read property 'scrollTop' of undefined

70 (edytowany przez mavcin 2017-06-21 20:24:34)

Odp: Rtorrent na LEDE

Zrób

uci set uhttpd.main.interpreter=.php=/usr/bin/php-cgi
uci commit

Jeśli mieszałeś coś w konfiguracji php to też daj

opkg install php7 php7-cgi php7-mod-json --force-reinstall --force-maintainer
WNDR3800 OpenWrt 19.07.7 / WNDR3700v2 17.01.6 / TL-WR741ND v4 17.01.6

71 (edytowany przez szpiler 2017-06-21 21:11:12)

Odp: Rtorrent na LEDE

Wykonałem wszystkie 3 komendy, restart i chyba prawie działa wink. Zmienił się trochę wizualnie układ  rutorrent, nie ma żadnego błędu i jest informacja " Lista torrentów niedostępna, nie można połączyć z rtorrentem."


EDIT:
Domyśliłem się, że po restarcie rtorrent nie jest uruchomiony.
Odszukałem potrzebną komendę do jego uruchomienia w Twoim wcześniejszym poście tj.
screen -dmSfn rtorrent rtorrent
i chyba pomogło. Działa!
Za chwilę sprawdzę czy pobiera pliki big_smile

72 (edytowany przez szpiler 2017-06-21 21:18:48)

Odp: Rtorrent na LEDE

Dodałem dwa pliki nie ściągało nic...
Odświeżyłem stronę i nie widzę dodanych plików i teraz znów jest
Lista torrentów niedostępna, nie można połączyć z rtorrentem."
i
[21.06.2017 22:07:00] Zła ścieżka do rTorrenta. Sprawdź, czy jest uruchomiony. Sprawdź też ustawienia $scgi_port oraz $scgi_host settings w config.php oraz scgi_port w pliku konfiguracyjnym rTorrent.

EDIT:
Ponowny restart i powtórzenie ww komendy, zaczęło się ściąganie plików wink
Wielkie dzięki za poświęcony czas i pomoc!
Będę prosił jeszcze o pomoc w konfiguracji kiedy dojdzie kolejny dysk na dane, jeśli sobie nie poradzę, jeszcze raz dziękuję!

73 (edytowany przez szpiler 2017-06-22 12:20:47)

Odp: Rtorrent na LEDE

Mam problem z pobieraniem torrentów z btgigs.info
Szukam informacji na tamtejszym forum, ale może ktoś ma rozwiązanie?

Przy trakerze mam:    Tracker: [Error]
Może nie radzi sobie z szyfrowaniem https?

EDIT:
Odznaczyłem opcję - tracker SSL i wszystko śmiga.
Teraz potrzebuję pomocy jak ustawić reguły dla SSL, żeby z szyfrowaniem też śmigało.

74

Odp: Rtorrent na LEDE

Potrzebuję pomocy z konfiguracją dotyczącą dodatkowego dysku.
Zakupiłem hub usb, wcześniej zrobiłem exroot na pendrive, gdzie zainstalowałem rtorrent z rutorrent.
Hub umożliwił mi dodatkowe podłączenie dysku, jednak potrzebuję pomocy w konfiguracji.
Chciałbym żeby na dysku znajdowały się ściągane i seedowane pliki z rtorrent.

75 (edytowany przez sty 2017-11-11 01:07:51)

Odp: Rtorrent na LEDE

szpiler napisał/a:

Mam problem z pobieraniem torrentów z btgigs.info
Szukam informacji na tamtejszym forum, ale może ktoś ma rozwiązanie?

Przy trakerze mam:    Tracker: [Error]
Może nie radzi sobie z szyfrowaniem https?

EDIT:
Odznaczyłem opcję - tracker SSL i wszystko śmiga.
Teraz potrzebuję pomocy jak ustawić reguły dla SSL, żeby z szyfrowaniem też śmigało.

Jest na owym forum kilka poradników na ten temat pod rtorrent - trzeba ustawić odpowiednie zmienne systemowe w /etc dla SSL i pozmieniać nieco w .rtorrent.rc - grunt to mieć pobrany w odpowiedniej formie certyfikat z gigsa, jeszcze przed pierwszym ssankiem za pomocą klienta (mają jakoś ineczaj sformatowany certyfikat i trzeba go odpowiednio pobrać...czy wręcz inaczej skompilować sam rtorrent, z tego co pamiętam). Musisz po prostu dobrze poszukać na owym forum - chyba coś ok. 2014-ego roku widziałem testowany osobiście i działający wtedy poradnik pod rtorrent z ssl na openwrt. Oczywiście do dzisiejszego dnia mogło się tam sporo zmienić - nie mam tam już konta od dawna to Ci z detalami nie pomogę - napisz w ostateczności PW do załogi lub na irc-u.
Ogólnie to raczej szukaj na tamtym forum pomocy - tutaj nie jest to istotny temat dla kogokolwiek, to trudno będzie uzyskać konkretną i rzeczową pomoc. Zresztą sam zapewne wiesz, że ogólnie cały temat jest dosyć mocno kontrowersyjny i nie tu, i nie w taki sposób należy szukać pomocy na takie tematy (szczególnie o btgigs.info) na szanowanym forum o zupełnie innej tematyce.
Co do dodatkowych dysków i dysków ogólnie w kontekście rtorrent+rutorrent to chyba obecnie warto posiłkować się doinstalowaniem coreutils-"coś tam" i odpowiednią konfą (rutorrent szczególnie - uwaga: sporo, nawet tych podstawowych wtyczek, nie działa wcale/lub problematycznie pod openwrt) - tutaj na forum ktoś niedawno o tym pisał chyba (podstawa to zdaje się najnowszy rutorrent).
Ogólnie jak rtorrent ssl pod openwrt i gigs - to zdecydowanie goły klient w konsoli puszczony w screen - to działa dosyć dobrze: oczywiście na odpowiednio mocnym sprzęcie.
A jak chcesz mieć po prostu sprawnie i bez większych problemów ssanie torków (z gigsa również), to przy założeniu że masz nie za mocny sprzęt, wtedy transmission-daemon-openssl + zewnętrzny menager, np. transmission-remote-gui (pod tym linkiem jest cały czas rozwijany: https://github.com/leonsoft-kras/transm … /releases) jest znacznie lepszym i prawie niezawodnym rozwiązaniem.