I know there are several threads about that topic out there, but none of them seemed to help me.
I’ve followed the following steps:
run commands (in putty):
sudo apt-get install transmission-daemon
sudo /etc/init.d/transmission-daemon stop
sudo nano /etc/transmission-daemon/settings.json
once you are the nano editor, look for and change the following:
“rpc-whitelist”: “127.0.0.1?, to “rpc-whitelist”: “...”,
“rpc-password”: “password”, to “rpc-password”: “osmc“,
“rpc-username”: “username”, to “rpc-username”: “osmc”,
“download-dir”: “/var/lib/transmission-daemon/downloads”, to “download-dir”: “/media/Mediastorage 2/Downloads",
with my setup the usb drives are automatically mounted at boot so didnt need to play with fstab.
also looking at the changes you made above you probably need to change
“rpc-whitelist”: “…” to “rpc-whitelist”: “...”
or leave that one as it is and just disable it completely:
“rpc-whitelist-enabled”: true, to “rpc-whitelist-enabled”: false,
edit: I see the forum doesnt let you put stars in so im guessing your whitelist already has stars between the dots
As far as the fstab goes. With my fresh install, I saw that the drives were mounted automatically too, so you may be right that I won’t have to fiddle with the fstab.
yea the name had escaped me to lol
the only other thing I do different from the guides was I run transmission under osmc user and didnt use the script in the init.d folder I could never get that to run, I use a script in /etc/systemd/system/ and then
sudo systemctl enable to enable auto boot
sudo systemctl start manual start
systemctl stop and manual stop
the script im using (cant remember where i got it from)
[code] [Unit]
Description=Transmission Bit Torrent Daemon
I remember having issues with the pid file if memory serves I did this
sudo touch /var/lib/transmission-daemon/.config/transmission-daemon/trans.PID
sudo chmod 777 /var/lib/transmission-daemon/.config/transmission-daemon/trans.PID
reboot and all was good
(this may not be the best way to set it up but its what worked for me )
But maybe I should have mentioned that I’m a total Linux newb and not familiar with anything concerning Linux.
So I don’t know how to install (I don’t know if that’s the correct term here) a custom script in a specific location. You would have to tell me the exact commands I have to type in the command step by step :\
sorry so how I did it from memory:
sudo apt-get install transmission-daemon
sudo service transmission-daemon stop
sudo chown osmc:osmc /etc/transmission-daemon/settings.json
sudo chown -R osmc:osmc /var/lib/transmission-daemon
sudo chmod 775 /etc/transmission-daemon/settings.json
sudo nano /etc/transmission-daemon/settings.json
change “rpc-whitelist-enabled”: true, to “rpc-whitelist-enabled”: false,
“rpc-password”: “password”,
“rpc-username”: “username”, (to what ever you want)
change the download directory to your location aswell
ctr x and y to save
sudo nano /etc/systemd/system/trans.service
copy and past the script above and save
“yourip”:9091 in browser and with any luck it should pop up
restart the pi an try again hopefull should load
(the init.d script will still be there failing each boot you can probly delete the file and be ok but someone there is also prob a clearer way to disable that one but im not sure what it is but it hasnt caused me any probs)
sorry the script got a little messed up pasting onto forum I didnt notice
ExecStart= line should all be one line the next line should start with [install]