Jump to content

rTorrent - BitTorrent-клиент


Recommended Posts

screen_2022-01-10_10:59:07_rt.png

Скрытый текст
BusyBox v1.34.1 (2021-12-10 08:29:27 UTC) built-in shell (ash)

~ # 
~ # opkg install rtorrent-easy-install
Installing rtorrent-easy-install (0.2-5) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/rtorrent-easy-install_0.2-5_mipsel-3.4.ipk
Installing xmlrpc-c-common (1.51.07-3) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/xmlrpc-c-common_1.51.07-3_mipsel-3.4.ipk
Installing xmlrpc-c-internal (1.51.07-3) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/xmlrpc-c-internal_1.51.07-3_mipsel-3.4.ipk
Installing xmlrpc-c (1.51.07-3) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/xmlrpc-c_1.51.07-3_mipsel-3.4.ipk
Installing xmlrpc-c-server (1.51.07-3) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/xmlrpc-c-server_1.51.07-3_mipsel-3.4.ipk
Installing rtorrent-rpc (0.9.8-2) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/rtorrent-rpc_0.9.8-2_mipsel-3.4.ipk
Installing coreutils-stat (8.32-6) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/coreutils-stat_8.32-6_mipsel-3.4.ipk
Installing coreutils-id (8.32-6) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/coreutils-id_8.32-6_mipsel-3.4.ipk
Installing gzip (1.11-1) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/gzip_1.11-1_mipsel-3.4.ipk
Installing rutorrent (3.10-1) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/rutorrent_3.10-1_mipsel-3.4.ipk
Installing rutorrent-plugin-rpc (3.10-1) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/rutorrent-plugin-rpc_3.10-1_mipsel-3.4.ipk
Installing screen (4.8.0-2) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/screen_4.8.0-2_mipsel-3.4.ipk
Installing lighttpd (1.4.61-1) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/lighttpd_1.4.61-1_mipsel-3.4.ipk
Installing lighttpd-mod-fastcgi (1.4.61-1) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/lighttpd-mod-fastcgi_1.4.61-1_mipsel-3.4.ipk
Installing lighttpd-mod-scgi (1.4.61-1) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/lighttpd-mod-scgi_1.4.61-1_mipsel-3.4.ipk
Installing lighttpd-mod-auth (1.4.61-1) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/lighttpd-mod-auth_1.4.61-1_mipsel-3.4.ipk
Installing lighttpd-mod-authn_file (1.4.61-1) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/lighttpd-mod-authn_file_1.4.61-1_mipsel-3.4.ipk
Configuring lighttpd.
Configuring lighttpd-mod-auth.
Configuring lighttpd-mod-authn_file.
Configuring xmlrpc-c-common.
Configuring xmlrpc-c-internal.
Configuring xmlrpc-c.
Configuring coreutils-stat.
Configuring xmlrpc-c-server.
Configuring rtorrent-rpc.
Configuring coreutils-id.
Configuring gzip.
Configuring rutorrent.
Configuring rutorrent-plugin-rpc.
Configuring screen.
Configuring lighttpd-mod-fastcgi.
Configuring lighttpd-mod-scgi.
Configuring rtorrent-easy-install.

#### Welcome to rtorrent easy installation script! 
 We assuming no lighttpd/rtorrent/rutorrent was installed before! 
 Please, answer a few question to configure torrent client. 
 Default aswers given in [brackets], just hit Enter to accept it.

Type "username:password" if you want to protect Web UI or hit Enter to leave password protection disabled []: 
Which port should be used by web interface? [81]: 8888
Enter (maximal) download speed in KB/s [2048]: 
Enter (maximal) upload speed in KB/s [2048]: 
Enter folder name on USB drive where torrent content should be stored [/opt/torrents]: 

 Done! You may open 51411-51412 TCP/UDP ports on your router to
 facilitate uploading/donwloading. It's not necessary but recommended.
 rutorrent web UI will be available at following URL:

 http://<ip_address_of_router>:<port>/rutorrent

 Do you wish to start torrent client? [y]: 
 Starting lighttpd...              done. 
 Starting rtorrent...              done. 
~ # 
~ #

 

 

Link to comment
Share on other sites

21 час назад, TheBB сказал:

screen_2022-01-10_10:59:07_rt.png

  Показать содержимое
BusyBox v1.34.1 (2021-12-10 08:29:27 UTC) built-in shell (ash)

~ # 
~ # opkg install rtorrent-easy-install
Installing rtorrent-easy-install (0.2-5) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/rtorrent-easy-install_0.2-5_mipsel-3.4.ipk
Installing xmlrpc-c-common (1.51.07-3) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/xmlrpc-c-common_1.51.07-3_mipsel-3.4.ipk
Installing xmlrpc-c-internal (1.51.07-3) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/xmlrpc-c-internal_1.51.07-3_mipsel-3.4.ipk
Installing xmlrpc-c (1.51.07-3) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/xmlrpc-c_1.51.07-3_mipsel-3.4.ipk
Installing xmlrpc-c-server (1.51.07-3) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/xmlrpc-c-server_1.51.07-3_mipsel-3.4.ipk
Installing rtorrent-rpc (0.9.8-2) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/rtorrent-rpc_0.9.8-2_mipsel-3.4.ipk
Installing coreutils-stat (8.32-6) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/coreutils-stat_8.32-6_mipsel-3.4.ipk
Installing coreutils-id (8.32-6) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/coreutils-id_8.32-6_mipsel-3.4.ipk
Installing gzip (1.11-1) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/gzip_1.11-1_mipsel-3.4.ipk
Installing rutorrent (3.10-1) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/rutorrent_3.10-1_mipsel-3.4.ipk
Installing rutorrent-plugin-rpc (3.10-1) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/rutorrent-plugin-rpc_3.10-1_mipsel-3.4.ipk
Installing screen (4.8.0-2) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/screen_4.8.0-2_mipsel-3.4.ipk
Installing lighttpd (1.4.61-1) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/lighttpd_1.4.61-1_mipsel-3.4.ipk
Installing lighttpd-mod-fastcgi (1.4.61-1) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/lighttpd-mod-fastcgi_1.4.61-1_mipsel-3.4.ipk
Installing lighttpd-mod-scgi (1.4.61-1) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/lighttpd-mod-scgi_1.4.61-1_mipsel-3.4.ipk
Installing lighttpd-mod-auth (1.4.61-1) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/lighttpd-mod-auth_1.4.61-1_mipsel-3.4.ipk
Installing lighttpd-mod-authn_file (1.4.61-1) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/lighttpd-mod-authn_file_1.4.61-1_mipsel-3.4.ipk
Configuring lighttpd.
Configuring lighttpd-mod-auth.
Configuring lighttpd-mod-authn_file.
Configuring xmlrpc-c-common.
Configuring xmlrpc-c-internal.
Configuring xmlrpc-c.
Configuring coreutils-stat.
Configuring xmlrpc-c-server.
Configuring rtorrent-rpc.
Configuring coreutils-id.
Configuring gzip.
Configuring rutorrent.
Configuring rutorrent-plugin-rpc.
Configuring screen.
Configuring lighttpd-mod-fastcgi.
Configuring lighttpd-mod-scgi.
Configuring rtorrent-easy-install.

#### Welcome to rtorrent easy installation script! 
 We assuming no lighttpd/rtorrent/rutorrent was installed before! 
 Please, answer a few question to configure torrent client. 
 Default aswers given in [brackets], just hit Enter to accept it.

Type "username:password" if you want to protect Web UI or hit Enter to leave password protection disabled []: 
Which port should be used by web interface? [81]: 8888
Enter (maximal) download speed in KB/s [2048]: 
Enter (maximal) upload speed in KB/s [2048]: 
Enter folder name on USB drive where torrent content should be stored [/opt/torrents]: 

 Done! You may open 51411-51412 TCP/UDP ports on your router to
 facilitate uploading/donwloading. It's not necessary but recommended.
 rutorrent web UI will be available at following URL:

 http://<ip_address_of_router>:<port>/rutorrent

 Do you wish to start torrent client? [y]: 
 Starting lighttpd...              done. 
 Starting rtorrent...              done. 
~ # 
~ #

 

 

Это здорово, что работает.  Вот если бы помогли настроить. Устанавливал все по Гайду. Все запускается с первого раза. Ничего редактировать не надо. Единственное что менял в настройках при установке, это скорость закачки и оттачи по умолчанию. При попытке закачать любой торент в веб интерфейсе сообщения Закачка 1 и в разделе Ошибка 1

Link to comment
Share on other sites

  • 3 months later...

Добрый день, решил обновить пакеты, rtorrent обновился на 0.2-6 и притянул PHP8, a был PHP7 который пришлось удалять руками. Итогом, в WEB интерфейсе ошибка -

Bad response from server: (503 [error,getplugins]) Service Unavailable

rtorrent и lighttpd запускаются и работают

opkg info php8 выводит какой-то конфликт с php7 который удален
Package: php8
Version: 8.1.4-1
Depends: libc, libssp, librt, libpthread, libpcre2, zlib, libxml2, zoneinfo-core
Conflicts: php7
Status: install ok installed
Section: lang
Architecture: mipsel-3.4
Size: 2405
Filename: php8_8.1.4-1_mipsel-3.4.ipk
Conffiles:
 /opt/etc/php.ini 93d9e22f3b4bfe0b19be4f508f5a9fa23ab85df3776ca2d65df47691121dfae3
Description: PHP is a widely-used general-purpose scripting language that is especially
 suited for Web development and can be embedded into HTML.
 This package contains only the PHP config file. You must actually choose
 your PHP flavour (cli, cgi or fastcgi).
 
 Please note, that installing php5 and php8 in parallel on the same target
 is not supported in OpenWrt/LEDE/Entware.
Installed-Time: 165100224

В /opt/var/log/lighttpd/error.log такое

2022-04-27 12:03:20: (../src/gw_backend.c.658) If you're trying to run your app as a FastCGI backend, make sure you're using the FastCGI-enabled version.  If this is PHP on Gentoo, add 'fastcgi' to the USE flags.  If this is PHP, try removing the bytecode caches for now and try again.
2022-04-27 12:03:20: (../src/gw_backend.c.1083) ERROR: spawning gw failed.
2022-04-27 12:03:21: (../src/gw_backend.c.530) connect /tmp/php-fcgi.sock-0: Connection refused
2022-04-27 12:03:22: (../src/gw_backend.c.373) child exited: 2 unix:/tmp/php-fcgi.sock-0

 

Link to comment
Share on other sites

49 минут назад, Jabber сказал:

притянул PHP8

удалить все пакеты и конфиг "php7"

`rm /opt/etc/php.ini*`

(пере)установить конфиг "php8"

`opkg install php8`

создать симлинк "php-fcgi" (https://github.com/openwrt/packages/commit/9aa794c85207a23f19925d4cae428eefc9e6e387#diff-c08cdd3bc140ec4ea23d69933886c0e010b1949193a35057b0f9b0e1eb1fe052L497 vs https://github.com/openwrt/packages/blob/master/lang/php8/Makefile#L512-L513)

`ln -sf php8-fcgi /opt/bin/php-fcgi` или ``ln -sf php8-cgi /opt/bin/php-fcgi``

  • Thanks 2
Link to comment
Share on other sites

1 час назад, TheBB сказал:

`ln -sf php8-cgi /opt/bin/php-fcgi`

Спасибо! Именно этого как раз и не хватало. Ожило.

Edited by Jabber
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...