Hi there,
I am having some difficulty getting the transmission settings edited.
Once I get it open, I can’t save the changes. I tried esc’+’:wq’ and :wq but it doesn’t work. When I try to login using the Ip address:9091 after a reboot I get a ‘Access Forbidden’ error.
How do I save the changes? And do I have to stop the transmission each time and then reboot each time I edit the config file?
Also, when I try to create a specific downloads directory (#mkdir /mnt…etc) it says it cannot create the directory because no directory exists. Am I missing something?
Thanks in advance,
David
Editing transmission config on dns-323
Re: Editing transmission config on dns-323
Most of your questions are not about Transmission, it would be better to ask them on another forum, something about basic Linux use.
Learn to use vi, if you can't save a file its because it is write protected, or it doesn't belong to the user that is trying to change it. If you are root then you can bypass those protections (but I can write it w/o the forum interpreting it as a smiley: ": x !" w/o the spaces).wordguy wrote:I can’t save the changes. I tried esc’+’:wq’ and :wq but it doesn’t work
What? You don't login into that port, did you meant something else, like opening the Web client on a browser... and it asked for a user/password? If that is the case then perhaps you want to disable user authentication, or the alternative, set the user and password; that is explained (not very well) in Transmission's Wiki: Editing Configuration Files, in the section about RPC.wordguy wrote:login using the Ip address:9091
You have to stop transmission so the daemon doesn't change the settings (overwriting whatever you changed by hand), you can also edit, and then "killall -HUP transmission-daemon" to tell the daemon to reload the settings (and preserve what you changed). You do not need to reboot.wordguy wrote:How do I save the changes? And do I have to stop the transmission each time and then reboot
I'm guessing the "etc" means several subdirectories... then use "mkdir -p" but don't use it blindly, try to learn what it does.wordguy wrote:(#mkdir /mnt…etc) it says it cannot create the directory
Re: Editing transmission config on dns-323
Thanks. I've picked up the basic commands to use. I've managed to save the edits to the config file. I've rebooted the dns-323 as well. I still can't connect.
Yes, the IP address:9091 was the web gui login.
Any suggestions on what to try next?
How can I post my config file here? Is there a generate text file of the config file command?
Yes, the IP address:9091 was the web gui login.
Any suggestions on what to try next?
How can I post my config file here? Is there a generate text file of the config file command?
Re: Editing transmission config on dns-323
Can you please have a look at the config logfile and let me know what's missing?
Here's the logfile:
/ # chmod a+x /ffp/start/transmission.sh;
/ # sh /ffp/start/transmission.sh stop
Stopping transmission-daemon
killall: transmission-daemon: no process killed
/ # vi /mnt/HD_a2/.transmission-daemon/settings.json
"ratio-limit": 2,
"ratio-limit-enabled": false,
"rename-partial-files": true,
"rpc-authentication-required": false,
"rpc-bind-address": "0.0.0.0",
"rpc-enabled": true,
"rpc-password": "mypassword"
"rpc-port": 9091,
"rpc-url": "/transmission/",
"rpc-username": "myusername"
"rpc-whitelist": "192.168.0.15",
"rpc-whitelist-enabled":true,
"script-torrent-done-enabled": false,
"script-torrent-done-filename": "",
"speed-limit-down": 100,
"speed-limit-down-enabled": false,
"speed-limit-up": 100,
"speed-limit-up-enabled": false,
"start-added-torrents": true,
"trash-original-torrent-files": false,
"umask": 18,
"upload-slots-per-torrent": 14
}
/ # sh /ffp/start/transmission.sh stop
Stopping transmission-daemon
killall: transmission-daemon: no process killed
/ # vi /mnt/HD_a2/.transmission-daemon/settings.json
{
"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": false,
"blocklist-url": "http://www.example.com/blocklist",
"cache-size-mb": 2,
"dht-enabled": true,
"download-dir": "/home/nobody/Downloads",
"encryption": 0,
"idle-seeding-limit": 30,
"idle-seeding-limit-enabled": false,
"incomplete-dir": "/home/nobody/Downloads",
"incomplete-dir-enabled": false,
"lazy-bitfield-enabled": true,
I /mnt/HD_a2/.transmission-daemon/settings.json 1/64 1%
"bind-address-ipv4": "0.0.0.0",
"bind-address-ipv6": "",
"blocklist-enabled": false,
"blocklist-url": "http://www.example.com/blocklist",
"cache-size-mb": 2,
"dht-enabled": true,
"download-dir": "/home/nobody/Downloads",
"encryption": 0,
"idle-seeding-limit": 30,
"idle-seeding-limit-enabled": false,
"incomplete-dir": "/home/nobody/Downloads",
"incomplete-dir-enabled": false,
"lazy-bitfield-enabled": true,
"lpd-enabled": false,
"message-level": 2,
"open-file-limit": 32,
"peer-congestion-algorithm": "",
"peer-limit-global": 240,
"peer-limit-per-torrent": 60,
"peer-port": 51413,
"peer-port-random-high": 65535,
"peer-port-random-low": 49152,
"peer-port-random-on-start": false,
"peer-socket-tos": "default",
"pex-enabled": true,
"port-forwarding-enabled": true,
"preallocation": 1,
"prefetch-enabled": 0,
"ratio-limit": 2,
"ratio-limit-enabled": false,
"rename-partial-files": true,
"rpc-authentication-required": false,
"rpc-bind-address": "0.0.0.0",
"rpc-enabled": true,
"rpc-password": "mypassword"
"rpc-port": 9091,
"rpc-url": "/transmission/",
"rpc-username": "myusername"
"rpc-whitelist": "192.168.0.15",
"rpc-whitelist-enabled":true,
"script-torrent-done-enabled": false,
"script-torrent-done-filename": "",
"speed-limit-down": 100,
I /mnt/HD_a2/.transmission-daemon/settings.json 53/64 82%
Here's the logfile:
/ # chmod a+x /ffp/start/transmission.sh;
/ # sh /ffp/start/transmission.sh stop
Stopping transmission-daemon
killall: transmission-daemon: no process killed
/ # vi /mnt/HD_a2/.transmission-daemon/settings.json
"ratio-limit": 2,
"ratio-limit-enabled": false,
"rename-partial-files": true,
"rpc-authentication-required": false,
"rpc-bind-address": "0.0.0.0",
"rpc-enabled": true,
"rpc-password": "mypassword"
"rpc-port": 9091,
"rpc-url": "/transmission/",
"rpc-username": "myusername"
"rpc-whitelist": "192.168.0.15",
"rpc-whitelist-enabled":true,
"script-torrent-done-enabled": false,
"script-torrent-done-filename": "",
"speed-limit-down": 100,
"speed-limit-down-enabled": false,
"speed-limit-up": 100,
"speed-limit-up-enabled": false,
"start-added-torrents": true,
"trash-original-torrent-files": false,
"umask": 18,
"upload-slots-per-torrent": 14
}
/ # sh /ffp/start/transmission.sh stop
Stopping transmission-daemon
killall: transmission-daemon: no process killed
/ # vi /mnt/HD_a2/.transmission-daemon/settings.json
{
"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": false,
"blocklist-url": "http://www.example.com/blocklist",
"cache-size-mb": 2,
"dht-enabled": true,
"download-dir": "/home/nobody/Downloads",
"encryption": 0,
"idle-seeding-limit": 30,
"idle-seeding-limit-enabled": false,
"incomplete-dir": "/home/nobody/Downloads",
"incomplete-dir-enabled": false,
"lazy-bitfield-enabled": true,
I /mnt/HD_a2/.transmission-daemon/settings.json 1/64 1%
"bind-address-ipv4": "0.0.0.0",
"bind-address-ipv6": "",
"blocklist-enabled": false,
"blocklist-url": "http://www.example.com/blocklist",
"cache-size-mb": 2,
"dht-enabled": true,
"download-dir": "/home/nobody/Downloads",
"encryption": 0,
"idle-seeding-limit": 30,
"idle-seeding-limit-enabled": false,
"incomplete-dir": "/home/nobody/Downloads",
"incomplete-dir-enabled": false,
"lazy-bitfield-enabled": true,
"lpd-enabled": false,
"message-level": 2,
"open-file-limit": 32,
"peer-congestion-algorithm": "",
"peer-limit-global": 240,
"peer-limit-per-torrent": 60,
"peer-port": 51413,
"peer-port-random-high": 65535,
"peer-port-random-low": 49152,
"peer-port-random-on-start": false,
"peer-socket-tos": "default",
"pex-enabled": true,
"port-forwarding-enabled": true,
"preallocation": 1,
"prefetch-enabled": 0,
"ratio-limit": 2,
"ratio-limit-enabled": false,
"rename-partial-files": true,
"rpc-authentication-required": false,
"rpc-bind-address": "0.0.0.0",
"rpc-enabled": true,
"rpc-password": "mypassword"
"rpc-port": 9091,
"rpc-url": "/transmission/",
"rpc-username": "myusername"
"rpc-whitelist": "192.168.0.15",
"rpc-whitelist-enabled":true,
"script-torrent-done-enabled": false,
"script-torrent-done-filename": "",
"speed-limit-down": 100,
I /mnt/HD_a2/.transmission-daemon/settings.json 53/64 82%
-
- Posts: 5
- Joined: Thu Jun 16, 2011 8:20 pm
Re: Editing transmission config on dns-323
You'll be better off asking these questions in the DNS-323 forum. Here's a link the relevant thread: http://forum.dsmg600.info/viewtopic.php?id=2719
Your problems for the remote login could be any number of things at this point. Is the computer you're connection from 192.168.0.15? Are you using the correct username/password specified in your config?
Are you even saving the settings.json file correctly? As stated, you have to stop transmission first, then edit the settings file with vi or some other editor, then start transmission again.
I need a bit more info to know what you've done so far.
Your problems for the remote login could be any number of things at this point. Is the computer you're connection from 192.168.0.15? Are you using the correct username/password specified in your config?
Are you even saving the settings.json file correctly? As stated, you have to stop transmission first, then edit the settings file with vi or some other editor, then start transmission again.
I need a bit more info to know what you've done so far.
Re: Editing transmission config on dns-323
thanks for the response.
Yes, that IP address is the LAN IP of my local laptop.
I never get to enter my username or password because I either get the 403 Forbidden message or it can't connect at all.
I have tried multiple IP's in the transmission config white list. I've disabled and then tried enabling the whitelist as well. Each time rebooting and always stopping the daemon before making changes.
To Save, I am clicking 'esc' then :wq
Do you see anything in my config that would suggest a fix?
Yes, that IP address is the LAN IP of my local laptop.
I never get to enter my username or password because I either get the 403 Forbidden message or it can't connect at all.
I have tried multiple IP's in the transmission config white list. I've disabled and then tried enabling the whitelist as well. Each time rebooting and always stopping the daemon before making changes.
To Save, I am clicking 'esc' then :wq
Do you see anything in my config that would suggest a fix?