It's honestly difficult, and RT-AC68U users may not know which correct version of firmware to choose.How about a request to package the firmware for that (and similar?) routers separately?
The upload behavior of /dev is the weirdest, in my tests the GUI didn't even return any page after uploading.Not so sure /dev and /tmp source space doesn't overlap, thus not really "fillable" simultaneously. Just a WAG...
Just have to blacklist (at least) that router, then, seems.
I don't know if we can solve the weird issue with the RT-AC68U, one of the few such extreme models, and if we can't solve it, we'd have to exclude the RT-AC68U and its variants from using this script. I think the RT-AC68U is the most challenging model.
/usr/sbin/webs_update.sh
. If there’s an update available webs_state_flag
will be set to 1 and the version details will be in webs_state_info
.update-notification
script would let us rely on a proven detection method, in my opinion.I do dislike the current method of scraping sourceforge for the latest release. Merlin firmware is already capable of detecting updates by running/usr/sbin/webs_update.sh
. If there’s an update availablewebs_state_flag
will be set to 1 and the version details will be inwebs_state_info
.
Setting the countdown timer from a hook in a customupdate-notification
script would let us rely on a proven detection method, in my opinion.
The firmware will run its own detection script every night automatically, so this script can be more passively scheduled than the current fixed cron schedule.
I’d rather we go to SF.net knowing what we expect to find (model + /Release/ + version) and aborting if we don’t find it. If there is a mismatch between Merlin’s manifest.txt and SF.net, I’d bail out. And the info from the manifest will make its way into nvram on the nightly update check.but unless the webs_state_info also includes a direct download url, we would only benefit by grabbing the version number and skipping that step, right?
But would still end up scraping sourceforge for that version to download? Instead of scaping them all and sorting for the newer/highest release.
I prefer not to duplicate effort or reinvent the wheel. I question the usefulness of an interactive CLI update. Why go through that trouble instead of just uploading the firmware directly? But a trigger from the built-in update-notification script can then schedule the auto-update 7-30 days out. If the version info changes between those times, start over with a new 7-30 days.As for the detection method relying on the routers detection method, we could probably take that turn, now that this new delayed cycle is implemented that is.
Before this delay cycle, the cron was the only way to exercise control on when / if it would action, now even if it checks every night, a user can select a delayed cycle so it becomes less of a requirement.
RT-AC68U, RT-AC1900, RT-AC1900P and RT-AC66U_B1 these are all variants of the RT-AC68U, use the same firmware, and have the same 256MB of RAM.Asides from the RT-AC68U, any other models we can expect to have similar issues?
What happens if the user turns off "Scheduled check for new firmware availability" on the firmware upgrade page?The firmware will run its own detection script every night automatically, so this script can be more passively scheduled than the current fixed cron schedule.
Aw, it seems that's why I'm getting thisIf you touch AiMesh page in Asuswrt-Merlin in will perform new firmware check regardless of this setting.
I’d rather we go to SF.net knowing what we expect to find (model + /Release/ + version) and aborting if we don’t find it. If there is a mismatch between Merlin’s manifest.txt and SF.net, I’d bail out. And the info from the manifest will make its way into nvram on the nightly update check.
I prefer not to duplicate effort or reinvent the wheel. I question the usefulness of an interactive CLI update. Why go through that trouble instead of just uploading the firmware directly? But a trigger from the built-in update-notification script can then schedule the auto-update 7-30 days out. If the version info changes between those times, start over with a new 7-30 days.
Give the user a CLI to login and abort the scheduled update. Better to send an email with the release notes as a reminder 48 hours and again 12 hours before the update. Would require the users to setup email settings in amtm.
What happens if the user turns off "Scheduled check for new firmware availability" on the firmware upgrade page?
They've consciously chosen not to have the router check for new firmware? My guess is that it won't.
Question unrelated to this project on this...Merlin firmware is already capable of detecting updates by running/usr/sbin/webs_update.sh
. If there’s an update availablewebs_state_flag
will be set to 1 and the version details will be inwebs_state_info
.
The firmware will run its own detection script every night automatically
/usr/sbin/webs_update.sh
, will this also trigger the update-notification merlin script to run if an update is found? Or does update-notification only get called with the fw scheduled check?This is a good point. The update-notification only gets called by the nightly check of the firmware. Running the script manually will trigger the flashing icon in the GUI, but not the custom script (at least by searching the code).Do you know if manually invoking/usr/sbin/webs_update.sh
, will this also trigger the update-notification merlin script to run if an update is found? Or does update-notification only get called with the fw scheduled check?
Watchdog will check at 2am or so every night, with some randomization thrown in.And I vaguely remember seeing somewhere the firmware check is every 48hrs or is it every 24hrs?
Thread starter | Title | Forum | Replies | Date |
---|---|---|---|---|
F | seeking help with bridge mode | Asuswrt-Merlin | 28 | |
Looking for feedback: Anyone considering AiCloud important to them? | Asuswrt-Merlin | 97 |
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!