Changes

From Amahi Wiki
Jump to: navigation, search
26 bytes removed ,  15:38, 5 April 2014
2. Edit the settings.json.
{{Code| nano /var/lib/transmission/.config/transmission-daemon/settings.json}}
3. Edit these fields, remembering the username and password
{{Text|Text=<pre>"rpc-authentication-required": true,
"rpc-bind-address": "0.0.0.0",
"rpc-enabled": true,
"rpc-password": "[Insert wanted password]",
"rpc-port": 9091,
"rpc-username": "[Username wanted]",}}</pre>
CTRL-X to save.
4. Restart Transmission Service
service amahi-Transmission start
Next, we need to make sure that the cronjob that automatically loads torrents from the torrents share uses the same user authentification.
6. Edit the following
{{Text| */5 * * * * transmission transmission-remote localhost:9091 -a /var/hda/files/torrents/*.torrent && rm -f /var/hda/files/torrents/*.torrent}}
add "--auth [username]:[password]" so the line becomes:
{{Text| */5 * * * * transmission transmission-remote localhost:9091 --auth [username]:[password] -a /var/hda/files/torrents/*.torrent && rm -f /var/hda/files/torrents/*.torrent}}
where the username and password are the ones you entered as rpc-username and rpc-password.
12,424

edits