NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
super_poussin
May 17, 2010Virtuoso
New Transmission add-on thread
The previous thread was very long time to open a new one and prepare the 2.0 :)
Putte1
Jul 08, 2010Aspirant
can you post the content of your settings.json and explain with which tool you open it ?
I use Putty and I did copy your settings.json and I use nano to edit the file. Here you can see I have added the standard username and password, changed it as it was encrypted.
in putty I try to stop the Transmission with ./transtop.sh or sh transtop.sh I still get same error.
In the scripts, there is already added the admin/password1 or I have to edit more in here?
{
"alt-speed-down": 50,
"alt-speed-enabled": false,
"alt-speed-time-begin": 540,
"alt-speed-time-day": 127,
"alt-speed-time-enabled": false,
"alt-speed-time-end": 1020,
"alt-speed-up": 50,
"bind-address-ipv4": "0.0.0.0",
"bind-address-ipv6": "::",
"blocklist-enabled": true,
"cache-size-mb": 2048,
"dht-enabled": true,
"download-dir": "/media/BitTorrent/",
"encryption": 1,
"incomplete-dir": "/c/media/BitTorrent/Incomplete",
"incomplete-dir-enabled": true,
"lazy-bitfield-enabled": true,
"lpd-enabled": false,
"max-peers-global": 200,
"message-level": 2,
"open-file-limit": 32,
"peer-limit-global": 240,
"peer-limit-per-torrent": 60,
"peer-port": 51413,
"peer-port-random-enabled": 0,
"peer-port-random-high": 65535,
"peer-port-random-low": 1024,
"peer-port-random-on-start": false,
"peer-socket-tos": 0,
"pex-enabled": true,
"pidfile": "/var/run/transmission-daemon.pid",
"port-forwarding-enabled": true,
"preallocation": 1,
"proxy": "",
"proxy-auth-enabled": false,
"proxy-auth-password": "",
"proxy-auth-username": "",
"proxy-enabled": false,
"proxy-port": 80,
"proxy-type": 0,
"ratio-limit": 2.0000,
"ratio-limit-enabled": true,
"rename-partial-files": true,
"rpc-authentication-required": true,
"rpc-bind-address": "0.0.0.0",
"rpc-enabled": true,
"rpc-password": "password1",
"rpc-port": 8181,
"rpc-username": "admin",
"rpc-whitelist": "*",
"rpc-whitelist-enabled": true,
"script-torrent-done-enabled": true,
"script-torrent-done-filename": "/c/addons-config/Transmission/email_alert",
"speed-limit-down": 400,
"speed-limit-down-enabled": false,
"speed-limit-up": 5,
"speed-limit-up-enabled": true,
"start-added-torrents": true,
"trash-original-torrent-files": false,
"umask": 0,
"upload-limit": 100,
"upload-limit-enabled": 0,
"upload-slots-per-torrent": 14,
"watch-dir": "/c/media/BitTorrent/sources/",
"watch-dir-enabled": 0
}
This is from the transtop.sh
#!/bin/sh
# *************
# transmission stop by super-poussin
# *************
# Variables
#
# Path to transmission-remote
REMOTE="/usr/local/bin/transmission-remote"
# Options to be passed to transmission-remote
TRANSOPT=" localhost:8181 -n admin:password1"
# *************
# Stop torrents
SEED="$($REMOTE $TRANSOPT -l | tail -n +2 | head -n -1 | grep Seeding |awk '{ p$
echo $SEED > /c/addons-config/Transmission/seeding.txt
RUNING="$($REMOTE $TRANSOPT -l | tail -n +2 | head -n -1 | grep Downloading |aw$
echo $RUNING > /c/addons-config/Transmission/downloading.txt
IDDLE="$($REMOTE $TRANSOPT -l | tail -n +2 | head -n -1 | grep Idle |awk '{ pri$
echo $IDDLE > /c/addons-config/Transmission/idle.txt
LIST="$($REMOTE $TRANSOPT -l | tail -n +2 | head -n -1 | awk '{ print $1; }' | $
for ID in $LIST; do
$REMOTE $TRANSOPT --torrent $ID --stop > /dev/null
done
chmod 777 /c/addons-config/Transmission/*.txt
This is from transtart.sh
#!/bin/sh
# *************
# transmission stop by super-poussin
# *************
# Variables
#
# Path to transmission-remote
REMOTE="/usr/local/bin/transmission-remote"
# Options to be passed to transmission-remote
TRANSOPT=" localhost:8181 -n admin:password1"
# *************
LIST=`cat /c/addons-config/Transmission/seeding.txt`
for ID in $LIST; do
$REMOTE $TRANSOPT --torrent $ID --start > /dev/null
done
LIST=`cat /c/addons-config/Transmission/downloading.txt`
for ID in $LIST; do
$REMOTE $TRANSOPT --torrent $ID --start > /dev/null
done
LIST=`cat /c/addons-config/Transmission/idle.txt`
for ID in $LIST; do
$REMOTE $TRANSOPT --torrent $ID --start > /dev/null
done
/Patrik
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!