1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-12 19:22:24 +00:00
iiab/roles/transmission/README.rst

98 lines
3.9 KiB
ReStructuredText
Raw Normal View History

2021-03-08 04:40:43 +00:00
.. |ss| raw:: html
<strike>
.. |se| raw:: html
</strike>
2021-03-08 04:45:01 +00:00
.. |nbsp| unicode:: 0xA0
:trim:
===================
2018-08-16 09:36:45 +00:00
Transmission README
===================
2018-08-16 09:36:45 +00:00
2018-08-29 04:21:08 +00:00
Transmission is a set of lightweight BitTorrent clients (in GUI, CLI and daemon form). All these incarnations feature a very simple and intuitive interface, on top on an efficient, cross-platform backend: https://transmissionbt.com
2018-08-29 04:47:03 +00:00
Transmission is intended to download KA Lite content to Internet-in-a-Box (IIAB) from places like http://pantry.learningequality.org/downloads/ka-lite/0.17/content/ — and also to seed content, assisting others.
2018-08-29 03:12:42 +00:00
For example, once KA Lite videos and thumbnails are confirmed downloaded, copy them (carefully!) from ``/library/transmission`` into ``/library/ka-lite/content`` as outlined by "KA Lite Administration: What tips & tricks exist?" at http://FAQ.IIAB.IO
Caution
-------
Usage of Transmission consumes significant Internet data and system resources.
Caveat emptor! (That's Latin for "Buyer Beware")
2018-08-16 09:36:45 +00:00
2018-08-28 21:42:10 +00:00
Using It
--------
2018-08-16 09:36:45 +00:00
2018-09-28 13:12:00 +00:00
Install Transmission by setting 'transmission_install' and 'transmission_enabled' to True in `/etc/iiab/local_vars.yml <http://wiki.laptop.org/go/IIAB/local_vars.yml>`_ — carefully choosing language(s) for KA Lite videos you want to download — and then run::
2018-08-29 04:47:03 +00:00
cd /opt/iiab/iiab
./runrole transmission
2018-08-29 05:01:24 +00:00
./iiab-network
2018-08-29 04:47:03 +00:00
Or if you prefer a complete reinstall of IIAB::
cd /opt/iiab/iiab
./iiab-install --reinstall
2018-08-28 21:42:10 +00:00
Login to Transmission's web interface http://box:9091 using administrative account::
2018-08-16 09:36:45 +00:00
2018-08-28 21:42:10 +00:00
Username: Admin
Password: changeme
2018-08-16 09:36:45 +00:00
2018-08-28 21:42:10 +00:00
Alternatively, you can run ``transmission-remote`` at the command-line.
Configuration
-------------
2018-08-28 21:42:10 +00:00
Configure Transmission using its web interface: http://box:9091
2018-08-29 05:03:56 +00:00
More settings can be changed within /etc/transmission-daemon/settings.json if you first ensure that the transmission-daemon.service is stopped::
2018-08-28 21:42:10 +00:00
systemctl stop transmission-daemon
2018-08-28 23:39:30 +00:00
Then edit the file::
2018-08-28 21:42:10 +00:00
nano /etc/transmission-daemon/settings.json
2018-08-28 23:39:30 +00:00
Here are some short explanations, as to what those 70+ variables mean: https://github.com/transmission/transmission/wiki/Editing-Configuration-Files
2018-08-29 05:03:56 +00:00
After saving your changes in 'settings.json' restart Transmission by running::
2018-08-29 04:47:03 +00:00
systemctl restart transmission-daemon
Adding Torrents
2018-08-18 04:32:45 +00:00
---------------
2018-08-29 04:47:03 +00:00
Transmission can facilitate provisioning content onto your IIAB, e.g. by adding thousands of KA Lite videos from places like: http://pantry.learningequality.org/downloads/ka-lite/0.17/content/
2018-09-28 13:12:00 +00:00
Please read the lettered instructions (A, B, C, D) in `/etc/iiab/local_vars.yml <http://wiki.laptop.org/go/IIAB/local_vars.yml>`_ and 'KA Lite Administration: What tips & tricks exist?' at http://FAQ.IIAB.IO outlining how to use Transmission to download and then install KA Lite content.
2018-08-28 21:42:10 +00:00
You can also download other torrents using Transmission's web interface, or by typing 'transmission-remote' at the command-line::
2018-08-16 09:36:45 +00:00
2018-08-28 21:42:10 +00:00
transmission-remote -a <path_to_the.torrent>
2018-08-16 09:36:45 +00:00
Known Issues
------------
2021-03-08 04:45:01 +00:00
* |ss| Default Transmission user/group may need fixing (https://github.com/transmission/transmission/issues/537) in some circumstances. You can set Ansible variables 'transmission_user' and 'transmission_group' e.g. in /opt/iiab/iiab/roles/transmission/defaults/main.yml (you might need 'User=' and 'Group=' in systemd unit file /lib/systemd/system/transmission-daemon.service — e.g. both might need to be set to 'debian-transmission' — if so then run 'systemctl daemon-reload' and 'systemctl restart transmission-daemon'). |se| |nbsp| `PR #2703 <https://github.com/iiab/iiab/pull/2703>`_
2018-08-16 09:36:45 +00:00
* Random Ports: Currently it is not possible to use random ports in the range 49152-65535. It is difficult to open multiple ports in IIAB's iptables-based firewall.
2018-08-16 09:36:45 +00:00
2018-08-18 04:32:45 +00:00
Troubleshooting
---------------
2018-08-28 21:42:10 +00:00
Verify that transmission-daemon is running::
systemctl status transmission-daemon
2018-08-29 05:11:18 +00:00
Re-check that Transmission's settings are correct here: (by following the instructions above, under 'Configuration')
::
2018-08-28 21:42:10 +00:00
/etc/transmission-daemon/settings.json