easyddup a simple upgrade/downgrade utility

Post new topic   Reply to topic    DD-WRT Forum Index -> Contributions Upload
Goto page Previous  1, 2, 3 ... 10, 11, 12 ... 19, 20, 21  Next
Author Message
yoyoma2
DD-WRT User


Joined: 24 Sep 2016
Posts: 372

PostPosted: Wed Sep 01, 2021 0:05    Post subject: Reply with quote
New version (August 31st).

Changes:

Added ini file keyword EDDUP_KEEP_CACHE_ENTRIES to set how many most recent cache entries to keep (set to 5 in easyddup.ini.sample). Without this keyword the cache grows over time and the users must delete entries themselves to avoid filling the USB drive.

Also if tee is missing on the router, logging to easyddup.log is cleanly disabled and a warning is issued along with a tip on how to solve this.

Thanks to @IONK and @slycordinator.
Sponsor
IONK
DD-WRT Guru


Joined: 19 Aug 2011
Posts: 967

PostPosted: Fri Dec 10, 2021 6:36    Post subject: Reply with quote
@yoyoma2 there's a revelation about the URL which easyddup is using to retrieve the latest builds:
blkt wrote:
Other-downloads relies on a script to generate new website links, and keep in mind 'other' implies not primary.

Again, direct http and https links are fully functional and also immediately accessible for a public build release.

It seems like that "other-downloads" URL is also being gradually phased out from the build announcement posts.

Although easyddup auto falls back to the HTTPS download link in case the "other-downloads" link returns a blank page, I've encountered a few times that the "other-downloads" page didn't show the latest build https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=330961, and the fall-back mechanism didn't kick in because the page was not blank.
easyddup email notification will not function reliably because of this.
Do you think it's good to make the HTTPS URL as the main source for easyddup to check for new builds?

_________________
▫ RSS feed for DD-WRT releases (2024): https://rsseverything.com/feed/7d36ab68-7733-46c3-bd8a-9c54c5cef08c.xml
easyddup - A simple upgrade/downgrade utility by yoyoma2 --- as featured in 📌 Reference Links, stickies retired back to forum (Moderator's Pick 🌟)
blkt
DD-WRT Guru


Joined: 20 Jan 2019
Posts: 5700

PostPosted: Fri Dec 10, 2021 6:40    Post subject: Reply with quote
Not phased out, other is still there, just attempting to guide people to direct https, ftp and http (wget) links.

Sometimes the script needs to be manually done; the other listing is not reliable as URLs mentioned above.

FYI other-downloads website links are generated directly from https, go see any firmware file link locations.
yoyoma2
DD-WRT User


Joined: 24 Sep 2016
Posts: 372

PostPosted: Fri Dec 10, 2021 15:23    Post subject: Reply with quote
I'll flip the primary and secondary download locations around as to use the more reliable one first. Thanks for the heads up @IONK and the backend implementation details @blkt.
yoyoma2
DD-WRT User


Joined: 24 Sep 2016
Posts: 372

PostPosted: Fri Dec 10, 2021 19:20    Post subject: Reply with quote
New version (December 10th).

Changes:

Use the "other downloads" url second as a fallback instead of first. The people in the know say it's more reliable this way.
IONK
DD-WRT Guru


Joined: 19 Aug 2011
Posts: 967

PostPosted: Sat Dec 11, 2021 1:03    Post subject: Reply with quote
thanks yoyoma2

p.s: is there any way to update the attachment in your first post and keep the previous download count? it's a bit sad to have the download counter reset to 0 every time you upload a new version.

_________________
▫ RSS feed for DD-WRT releases (2024): https://rsseverything.com/feed/7d36ab68-7733-46c3-bd8a-9c54c5cef08c.xml
easyddup - A simple upgrade/downgrade utility by yoyoma2 --- as featured in 📌 Reference Links, stickies retired back to forum (Moderator's Pick 🌟)
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14221
Location: Texas, USA

PostPosted: Sat Dec 11, 2021 1:54    Post subject: Reply with quote
Probably depends on how it's being done (or not). I don't think there's much to change that will fix that, whether it's being updated by "upload new version" or "delete attachment / add attachment". I can't remember the specifics on this version of phpBB right off the top of my head.

REVISIT:

blkt wrote:
Sometimes the script needs to be manually done; the other listing is not reliable as URLs mentioned above.

It's always done manually, methinks. But I found my unofficial download mirror again:

https://svn.dd-wrt.com/ticket/7416

_________________
"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
yoyoma2
DD-WRT User


Joined: 24 Sep 2016
Posts: 372

PostPosted: Sat Dec 11, 2021 2:41    Post subject: Reply with quote
I'm seeing "Downloaded: 622 Time(s)" for the tgz file in the first post. Strange we see a different number. Confused I use the "upload new version" button for each new version.
IONK
DD-WRT Guru


Joined: 19 Aug 2011
Posts: 967

PostPosted: Sat Dec 11, 2021 2:44    Post subject: Reply with quote
yoyoma2 wrote:
I'm seeing "Downloaded: 622 Time(s)" for the tgz file in the first post. Strange we see a different number. Confused I use the "upload new version" button for each new version.
I also see 622, but I think the actual number should be higher than that? Or am I too optimistic?
_________________
▫ RSS feed for DD-WRT releases (2024): https://rsseverything.com/feed/7d36ab68-7733-46c3-bd8a-9c54c5cef08c.xml
easyddup - A simple upgrade/downgrade utility by yoyoma2 --- as featured in 📌 Reference Links, stickies retired back to forum (Moderator's Pick 🌟)
IONK
DD-WRT Guru


Joined: 19 Aug 2011
Posts: 967

PostPosted: Mon Dec 20, 2021 5:34    Post subject: Reply with quote
@yoyoma2 last night my router was updated to r47893.
After some time, r47893 was removed from the list of downloads.
This morning when I run easyddup again, it automatically selects the latest available build r47874, although that build number is lower than the current build.
Do you think easyddup should not auto select if the latest available build number is lower than the current build number installed on the router? If user wants to downgrade, probably -d is more suitable?

Also, after I realized it auto selected the older build, I pressed Ctrl-C but it's not terminated. Is it because I was running easyddup via SSH? What is the correct way of terminating easyddup via SSH?

_________________
▫ RSS feed for DD-WRT releases (2024): https://rsseverything.com/feed/7d36ab68-7733-46c3-bd8a-9c54c5cef08c.xml
easyddup - A simple upgrade/downgrade utility by yoyoma2 --- as featured in 📌 Reference Links, stickies retired back to forum (Moderator's Pick 🌟)
IONK
DD-WRT Guru


Joined: 19 Aug 2011
Posts: 967

PostPosted: Tue Dec 21, 2021 6:24    Post subject: Reply with quote
kernel-panic69 wrote:
There's no image resolution limitations anymore, but if people upload 5MB files, it's going to load slow as sh*t. That was part of the reasoning for limiting the resolution in the first place, aside from skewing the page formatting.

@yoyoma2 it seems like there's no longer any resolution limit for the attached image, and also the output from easyddup is different now because of the new features, so I'm thinking of redoing the GIF file on your first post. Is there anything you want to add to it? caption? highlight? pauses?

_________________
▫ RSS feed for DD-WRT releases (2024): https://rsseverything.com/feed/7d36ab68-7733-46c3-bd8a-9c54c5cef08c.xml
easyddup - A simple upgrade/downgrade utility by yoyoma2 --- as featured in 📌 Reference Links, stickies retired back to forum (Moderator's Pick 🌟)
jauch888888
DD-WRT User


Joined: 23 Apr 2020
Posts: 101

PostPosted: Tue Dec 21, 2021 23:26    Post subject: Reply with quote
Hi,

about EDDUP_TARGET_PARTITION

(I have the e8500), I unchecked that ;

Code:

# Some routers can have more than one firmware partition: e.g. linux and linux2
# If this situation is detected, easyddup quits unless you specify the target partition
# On many routers this argument is ignored and the target partition alternates automatically
# WARNING: make sure you know what you are doing!
EDDUP_TARGET_PARTITION=linux


but still get the error, dont know if I need to do something else?

Code:

Select a firmware file to install (or Q): 1
Selected dd-wrt-webupgrade.bin
Using locally cached file.
ERROR: Found 2 linux partitions, set EDDUP_TARGET_PARTITION in easyddup.ini.
Quitting


thanks
IONK
DD-WRT Guru


Joined: 19 Aug 2011
Posts: 967

PostPosted: Wed Dec 22, 2021 0:03    Post subject: Reply with quote
jauch888888 wrote:
Hi,

about EDDUP_TARGET_PARTITION

(I have the e8500), I unchecked that ;

Code:

# Some routers can have more than one firmware partition: e.g. linux and linux2
# If this situation is detected, easyddup quits unless you specify the target partition
# On many routers this argument is ignored and the target partition alternates automatically
# WARNING: make sure you know what you are doing!
EDDUP_TARGET_PARTITION=linux


but still get the error, dont know if I need to do something else?

Code:

Select a firmware file to install (or Q): 1
Selected dd-wrt-webupgrade.bin
Using locally cached file.
ERROR: Found 2 linux partitions, set EDDUP_TARGET_PARTITION in easyddup.ini.
Quitting


thanks
can you please attach your easyddup.ini here, thanks
_________________
▫ RSS feed for DD-WRT releases (2024): https://rsseverything.com/feed/7d36ab68-7733-46c3-bd8a-9c54c5cef08c.xml
easyddup - A simple upgrade/downgrade utility by yoyoma2 --- as featured in 📌 Reference Links, stickies retired back to forum (Moderator's Pick 🌟)
jauch888888
DD-WRT User


Joined: 23 Apr 2020
Posts: 101

PostPosted: Wed Dec 22, 2021 0:11    Post subject: Reply with quote
IONK wrote:
jauch888888 wrote:
Hi,

about EDDUP_TARGET_PARTITION

(I have the e8500), I unchecked that ;

Code:

# Some routers can have more than one firmware partition: e.g. linux and linux2
# If this situation is detected, easyddup quits unless you specify the target partition
# On many routers this argument is ignored and the target partition alternates automatically
# WARNING: make sure you know what you are doing!
EDDUP_TARGET_PARTITION=linux


but still get the error, dont know if I need to do something else?

Code:

Select a firmware file to install (or Q): 1
Selected dd-wrt-webupgrade.bin
Using locally cached file.
ERROR: Found 2 linux partitions, set EDDUP_TARGET_PARTITION in easyddup.ini.
Quitting


thanks
can you please attach your easyddup.ini here, thanks


you mean easyddup-vars.ini, I dont see easyddup.ini
IONK
DD-WRT Guru


Joined: 19 Aug 2011
Posts: 967

PostPosted: Wed Dec 22, 2021 0:12    Post subject: Reply with quote
jauch888888 wrote:
you mean easyddup-vars.ini, I dont see easyddup.ini
no, you need to rename easyddup.ini.sample to easyddup.ini then modify it.

@yoyoma2 do you want to revise the instructions in the readme file?

_________________
▫ RSS feed for DD-WRT releases (2024): https://rsseverything.com/feed/7d36ab68-7733-46c3-bd8a-9c54c5cef08c.xml
easyddup - A simple upgrade/downgrade utility by yoyoma2 --- as featured in 📌 Reference Links, stickies retired back to forum (Moderator's Pick 🌟)
Goto page Previous  1, 2, 3 ... 10, 11, 12 ... 19, 20, 21  Next Display posts from previous:    Page 11 of 21
Post new topic   Reply to topic    DD-WRT Forum Index -> Contributions Upload 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 cannot attach files in this forum
You cannot download files in this forum