Joined: 31 Jul 2021 Posts: 2146 Location: All over YOUR webs
Posted: Mon Nov 29, 2021 13:15 Post subject:
You dont paste the script per say.
You copy it to /tmp on the router, make it executable and then run it.
Each time you want to upgrade again you must do same, since anything on tmp will disapear after each reboot.
Joined: 08 May 2018 Posts: 14247 Location: Texas, USA
Posted: Thu Dec 02, 2021 17:31 Post subject:
We will likely never see cryptographic signing, md5, sha256, crc verification information for DD-WRT ever again. Don't hold your breath. FWIW, I know how much longer it would take to parse md5sums on the number of firmware images currently built just by calculating how long it takes to do so on a full run of FreshTomato MIPS and ARM images. "Time is money". _________________ "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
Posted: Fri Dec 03, 2021 6:10 Post subject: Re: [SCRIPT] CLI update auto-download and flash latest beta
mwchang wrote:
Didn't see any error checking (e.g. download size vs listed size)?
Sometimes, the file size of a firmware was too small, indicating an error. If you flashed it, the router might be bricked.
Note that easyddup has a configurable minimum & maximum file size check feature. The listed size, if unusually large or small, could indicate a problem build even if it matches the file.
Joined: 26 Mar 2013 Posts: 1858 Location: Hung Hom, Hong Kong
Posted: Sun Jul 30, 2023 15:18 Post subject:
kernel-panic69 wrote:
FWIW, I know how much longer it would take to parse md5sums on the number of firmware images currently built just by calculating how long it takes to do so on a full run of FreshTomato MIPS and ARM images. "Time is money".
Just do it slowly using a shell script, starting from most recent builds working backward to older builds. Anyway, this is not urgent.
Anyway, it might be more comfortable not to rely on a script to flash firmware, but do it step by step typing each command. You can see their results slowly. If anything went wrong, you could stop instantly.