Posted: Wed Apr 07, 2021 8:03 Post subject: Make a new option for BitTorrent Transmission Daemon Config
Router Model
Netgear R7000P
Firmware Version
DD-WRT v3.0-r46259 std (04/03/21)
Kernel Version
Linux 4.4.264 #2426 SMP Sat Apr 3 09:01:58 +07 2021 armv7l
Dear developers,
For our critical moment of our life we are stay together. I believe god is tasting our humanities. We will win this fight.
I am using BitTorrent transmission for downloading. Its been three months of experience. I have schedule reboot every six hours. Every time transmission settings change its default value when its start. The settings.json file is modify by router is not stay on reboot. when the electricity came and go very fast (bump) the transmission user settings (settings.json) file change to default. We need a new option to fix this problem. When I move or delete big amount of data from USB store next reboot settings are change.
So, this reason we need a new option. Under the NAS add a new option name "BitTorrent: Transmission Daemon Config Lock".
Two hundred GB of downloaded data is corrupted because of this. It’s a big pain when it is last moment of finish download. In the pandemic my download is high. Nothing to do with.
I have *no* idea why you're rebooting your router every 6 hours, but this seems like a user config issue, or you are using a junk Chromium browser, not a firmware issue to me. _________________ "Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT Pogo - A minimal level of ability is expected and needed... DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)
----------------------
Linux User #377467 counter.li.org / linuxcounter.net
Joined: 08 May 2018 Posts: 14126 Location: Texas, USA
Posted: Wed Apr 07, 2021 15:28 Post subject:
AFAIK nvram and webconfigs survive reboots. There shouldn't be an issue here if that wiki is followed, at least nobody has reported this before that I am aware of. _________________ "Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT Pogo - A minimal level of ability is expected and needed... DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)
----------------------
Linux User #377467 counter.li.org / linuxcounter.net
Joined: 08 May 2018 Posts: 14126 Location: Texas, USA
Posted: Sat Oct 09, 2021 22:26 Post subject:
The one thing I see in the wiki that is suspect is you will not see /mnt/sda; or rather, you cannot use it. It probably should be /mnt/sda1 which would be the properly formatted partition. Unless of course it automagically assumes sda1 within DD-WRT... nobody confirmed whether or not @blkt was correct here. _________________ "Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT Pogo - A minimal level of ability is expected and needed... DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)
----------------------
Linux User #377467 counter.li.org / linuxcounter.net
When I first enabled transmission it assumed /mnt/sda, which is really bad and may have been the cause of my router hanging though I did change it to /mnt/sda1 and later the correct location /tmp/mnt/sda1. I am not having the hanging right now but this config replacement is so annoying. It will replace on reboot or clicking apply in the webgui transmission/usb page. Not sure what is the point of specifying a config location if it just wipes it...
Any suggestions for work arounds? I am thinking copying over on startup but then there is the apply settings as well and it may do that on other webgui pages, hell it may replace it every time the service is restarted. Where is the code for this? that is probably the best way to see what it is doing.
Seems it remakes the config every time the service starts, and the service seems to restart anytime the watch dog wants. The code really needs to be changed on this, you need to be able to change transmissions config in settings.json
Can you watch for a service starting and have a script do something? I could try that and overwrite the settings.json
I found a simple solution, change the setting for the config location to somewhere it doesn't matter so the code can use that to wipe it. Disable transmission in the webgui. Then you can start the transmission binary with the startup script with the config-dir option example
On further investigation it's transmissiond that is overwriting all of settings.json and not ddwrt. You need 'killall transmissiond' BEFORE editing it. When transmissiond closes it overwrites settings.json. Now ddwrt is also wiping the parts of settings.json it has options in the gui for. It does this not sure when. This wouldn't be a problem for me except it also uses an option in the gui for 'Transmission Download Directory' to change 2 settings in settings.json, one being 'download-dir' the appropriate setting the other being 'incomplete-dir'. This is not good if you want to use a different drive for 'incomplete-dir'. I need to use a different drive because I use an archive drive for the 'download-dir' and if you let the torrents construct on that it makes a lot of writes and a lot of writes severely fragments archive drives and makes them perform horribly.
Joined: 06 Jun 2006 Posts: 7463 Location: Dresden, Germany
Posted: Mon Oct 11, 2021 6:49 Post subject: Re: Make a new option for BitTorrent Transmission Daemon Con
Ritam Banik wrote:
Router Model
Netgear R7000P
Firmware Version
DD-WRT v3.0-r46259 std (04/03/21)
Kernel Version
Linux 4.4.264 #2426 SMP Sat Apr 3 09:01:58 +07 2021 armv7l
Dear developers,
For our critical moment of our life we are stay together. I believe god is tasting our humanities. We will win this fight.
I am using BitTorrent transmission for downloading. Its been three months of experience. I have schedule reboot every six hours. Every time transmission settings change its default value when its start. The settings.json file is modify by router is not stay on reboot. when the electricity came and go very fast (bump) the transmission user settings (settings.json) file change to default. We need a new option to fix this problem. When I move or delete big amount of data from USB store next reboot settings are change.
So, this reason we need a new option. Under the NAS add a new option name "BitTorrent: Transmission Daemon Config Lock".
Two hundred GB of downloaded data is corrupted because of this. It’s a big pain when it is last moment of finish download. In the pandemic my download is high. Nothing to do with.
Your sincerely
Friendly user
RB
but you know that the transmission config, no matter if broken/reset/overwritten etc. or not will never corrupt your data? _________________ "So you tried to use the computer and it started smoking? Sounds like a Mac to me.." - Louis Rossmann https://www.youtube.com/watch?v=eL_5YDRWqGE&t=60s