Netgear R6700 ddwrt-39494 Transmissiond

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Author Message
neveroffline
DD-WRT Novice


Joined: 06 Jan 2011
Posts: 32
Location: USA

PostPosted: Sun May 12, 2019 4:27    Post subject: Netgear R6700 ddwrt-39494 Transmissiond Reply with quote
I'm having a weird issue with this build (ddwrt-39494std) and getting transmission working.

I'm able to start/stop transmission, but unable to get the web RPC part up. Basically I get a 403 on the web end from a local address, IE: 192.168.1.*. IE: http://192.168.1.1:9091/transmission/web/ from 192.168.1.118 connected to same r6700

Code:

403: Forbidden

Unauthorized IP Address.

Either disable the IP address whitelist or add your address to it.

If you're editing settings.json, see the 'rpc-whitelist' and 'rpc-whitelist-enabled' entries.

If you're still using ACLs, use a whitelist instead. See the transmission-daemon manpage for details.



USB Storage drive is mounted to /mnt/sda1/

syslog:


Code:
Jan 1 00:05:24 test-2019 daemon.info transmission-daemon[1548]: Transmission 2.94 (d8e60ee44f) started (session.c:740)
Jan 1 00:05:24 test-2019 daemon.info transmission-daemon[1548]: RPC Server Adding address to whitelist: 127.0.0.1 (rpc-server.c:971)
Jan 1 00:05:24 test-2019 daemon.info transmission-daemon[1548]: RPC Server Serving RPC and Web requests on port 127.0.0.1:9091/transmission/ (rpc-server.c:1213)
Jan 1 00:05:24 test-2019 daemon.info transmission-daemon[1548]: RPC Server Whitelist enabled (rpc-server.c:1217)
Jan 1 00:05:24 test-2019 daemon.info transmission-daemon[1548]: DHT Generating new id (tr-dht.c:311)
Jan 1 00:05:24 test-2019 daemon.info transmission-daemon[1548]: Using settings from "/tmp/root/tmp/mnt/sda1/tsettings" (daemon.c:528)
Jan 1 00:05:24 test-2019 daemon.info transmission-daemon[1548]: Saved "/tmp/root/tmp/mnt/sda1/tsettings/settings.json" (variant.c:1266)
Jan 1 00:05:24 test-2019 daemon.info transmission-daemon[1548]: Port Forwarding (NAT-PMP) initnatpmp succeeded (0) (natpmp.c:70)
Jan 1 00:05:24 test-2019 daemon.info transmission-daemon[1548]: Port Forwarding (NAT-PMP) sendpublicaddressrequest succeeded (2) (natpmp.c:70)
Jan 1 00:05:33 test-2019 daemon.info transmission-daemon[1548]: Port Forwarding State changed from "Not forwarded" to "Starting" (port-forwarding.c:92)
Jan 1 00:05:33 test-2019 daemon.info transmission-daemon[1548]: Port Forwarding State changed from "Starting" to "???" (port-forwarding.c:92)
Jan 1 00:06:05 test-2019 daemon.info transmission-daemon[1548]: DHT Attempting bootstrap from dht.transmissionbt.com (tr-dht.c:249)
Jan 1 00:06:29 test-2019 daemon.info transmission-daemon[1548]: DHT Not saving nodes, DHT not ready (tr-dht.c:359)
Jan 1 00:06:29 test-2019 daemon.info transmission-daemon[1548]: Port Forwarding Stopped (port-forwarding.c:180)


settings.json
Code:

{
    "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": 4,
    "dht-enabled": true,
    "download-dir": "/tmp/mnt/sda1/Torrents",
    "download-limit": 100,
    "download-limit-enabled": 0,
    "download-queue-enabled": true,
    "download-queue-size": 5,
    "encryption": 1,
    "idle-seeding-limit": 30,
    "idle-seeding-limit-enabled": false,
    "incomplete-dir": "/tmp/mnt/sda1/Torrents",
    "incomplete-dir-enabled": true,
    "lpd-enabled": false,
    "max-peers-global": 200,
    "message-level": 3,
    "peer-congestion-algorithm": "",
    "peer-id-ttl-hours": 6,
    "peer-limit-global": 200,
    "peer-limit-per-torrent": 50,
    "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": false,
    "preallocation": 1,
    "prefetch-enabled": true,
    "queue-stalled-enabled": true,
    "queue-stalled-minutes": 30,
    "ratio-limit": 2.0000,
    "ratio-limit-enabled": true,
    "rename-partial-files": true,
    "rpc-authentication-required": false,
    "rpc-bind-address": "0.0.0.0",
    "rpc-enabled": true,
    "rpc-port": 9091,
    "rpc-url": "/transmission/",
    "rpc-whitelist": "127.0.0.1,192.168.1.*",
    "rpc-whitelist-enabled": true,
    "scrape-paused-torrents-enabled": true,
    "script-torrent-done-enabled": false,
    "script-torrent-done-filename": "",
    "seed-queue-enabled": false,
    "seed-queue-size": 10,
    "speed-limit-down": 400,
    "speed-limit-down-enabled": false,
    "speed-limit-up": 3,
    "speed-limit-up-enabled": true,
    "start-added-torrents": true,
    "trash-original-torrent-files": true,
    "umask": 18,
    "upload-slots-per-torrent": 14,
    "utp-enabled": true
}


I have local addresses listed, and it shows it's loading the settings file, but none of the addresses are loaded. In addition, if transmission is enabled in GUI, it fails to load due to /mnt/sda1 not being mounted yet. I've been trying to load transmission from the cmd-line so above is the result of that.

I have also tried an empty settings dir/file from the ddwrt-GUI and manually adding "127.0.0.1,192.168.1.*" there, no difference. It doesn't matter if I put /mnt/sda1... or /tmp/mnt/sda1... in the settings.json.

Any ideas?
Sponsor
neveroffline
DD-WRT Novice


Joined: 06 Jan 2011
Posts: 32
Location: USA

PostPosted: Sun May 12, 2019 9:57    Post subject: Reply with quote
I got things working, here is a guide:
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=319750
luis_erasmo
DD-WRT Novice


Joined: 26 Sep 2007
Posts: 33

PostPosted: Fri Apr 02, 2021 3:20    Post subject: Entware conflict [solved] Reply with quote
Hi,
this is a little contribution
if you are using entware transmission over a built-in binary, some problems could be fixed when you specify the binary to use

in /opt/etc/init.d/S88transmission I change
PROCS=transmission-daemon
by:
PROCS=/opt/bin/transmission-daemon

this fixes my conflict with the built in binary.

Good speeds for everyone.!
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum