Default setting for CRON Job, but now under 1.01 I see this..
View attachment 56109
which didn't happen under 1.0
If I can install 1.0 on the router I can go through the process again, what happened on each node for you/us.
Can this script please auto-update itself?
You‘re pushing it.Can this script please auto-update itself?
You‘re pushing it.
In other news, Microft$oft announced that it pushed an update to all Boring 737 TexMax aircraft supervision, guidance and self-levelling systems. They say there were some loose-bolted ends that received user input performance and better market(ing) related rapporting features. The update is mandatory and will be performed at or just before rotate speed when departing.
The man has spoken, that's as far as we look into it
The decision is yours, not mine. You have to be very confident when adding an auto-update feature that it ends its task no matter what. And always successful, one way or another by either aborting or finishing the update.The man has spoken, that's as far as we look into it
The decision is yours, not mine. You have to be very confident when adding an auto-update feature that it ends its task no matter what. And always successful, one way or another by either aborting or finishing the update.
@Adamm was brave enough, certainly his coding skills allowed him to add that feature years ago into Skynet. So far that appears to work flawless. Skynet is a one file script. amtm could easily do that too and Diversion with some extra checks as well. It‘s just that even the best make mistakes. And my overcautios mind tells me not to do it.
See my other comment above for how my thinking goes in explicite detail.
Thanks for your hardwork on this.
What would be the case in the event if the firmware for whatever reason is corrupt (hopefully never)... would the script stop the automatic upgrade or possibly auto-downgrade to the previous working firmware or this would require a manual downgrade at this point?
Any info is greatly appreciated!
But what will auto-update the auto-update feature!??Can this script please auto-update itself?
But what will auto-update the auto-update feature!??
I guess? Me? Can someone auto update me?
Maybe I can auto-update myself, which auto updates the script which auto updates the routers, auto-updateseption
UPDATEMON on the horizon, @Viktor Jaep?!?
UPDATEMON on the horizon, @Viktor Jaep?!?
Uhmmmmmmlemmmeeeecheckrealquick... no.UPDATEMON on the horizon, @Viktor Jaep?!?
I think that's going to take me breaking out some 63-bit libraries and functions from my special collection. LOL@Viktor Jaep how will you save me from corruption? I don't think I have a sha256 file to compare myself too...
Certainly, this application was exactly what the AsusWRT firmware needed. Congratulations on the outstanding work and initiative.Hello SNB Community,
We're pleased to introduce an exciting new add-on for Asuswrt-Merlin: MerlinAU (Merlin AutoUpdate).
This tool is designed to streamline and automate firmware updates, making your router maintenance simpler and smoother than ever.
View attachment 56192
View attachment 56193
What's MerlinAU All About?
MerlinAU is a sophisticated and comprehensive script designed for Asus routers running Asuswrt-Merlin firmware.
It's a collaborative effort by @ExtremeFiretop (myself) and @Martinski W. It offers an extensive range of features:
- Automatic router model detection and Automatic update detection.
- Automatically install updates to your router with the latest firmware from the Asuswrt-Merlin repository.
- Logic to manage cron jobs for automated firmware update checks.
- Notifications for new MerlinAU updates and download the latest version of MerlinAU
- User configurable wait periods. Wait for a set duration after a new firmware release.
- Easy Enable/Disable: A menu switch for automatic update checking.
- Easy Uninstall: A routine to cleanly uninstall MerlinAU, removing all related files and settings.
- Logging and Cleanup: MerlinAU maintains logs for its operations and includes functions for cleanup tasks.
- Blinking LEDs: A visual indicator before starting the firmware update.
- Changelog verification check: Checks the changelogs for very obvious red flags and prompts for approval.
- Checks RAM usage: Functions to check and manage available memory for firmware update operations.
- Compatible with ROG and non-ROG routers; select ROG or Pure Build for ROG routers.
- Backup the new firmware version to the USB drive. (If USB is selected for storage)
- Email notifications if you configured email options in AMTM.
- Automatic backup with BACKUPMON if installed.
- Allow or Block Alpha/Beta upgrades to Production versions of the same cycle. (388.6.alpha1 or 388.6.beta1 --> 388.6.0)
- Automatically stops all Entware services before the flash if running.
- Automatically stops diversion if installed and running before the flash.
- Unmounts any physically attached storage via USB as the last step before the flash.
What update mechanism does MerlinAU use to Auto-Update?
MerlinAU actually implements a curl update mechanism. Curl can simulate almost all behaviors of the browser through get/post.
While hnd-write is unsafe and unpredictable, we instead use curl to simulate a browser for the router to upload the firmware through it's own GUI, which is the safest way. As discussed on the forums in length here.
Essentially the router logins to it's own WebUI like a person does, and uploads the firmware through the WebUI.
Doing this insures that the firmware checks done by the router when uploading a firmware via the webUI are not skipped, and the router can follow it's regular update process from there.
This has been tested extensively on the following devices since 388.4:
All tests were successful on all subsequent firmware updates, the firmware upgraded correctly, and no issues with compatibility with other addons were identified.
- GT-AXE11000 (Tested)
- RT-AX88U_PRO (Tested)
- RT-AX88U (Tested)
- RT-AC86U (Tested)
- RT-AX86U (Tested)
- XT12 (Tested)
How to Get MerlinAU
(Edit: Feburary 3rd 2024) - NOW AVAILABLE THROUGH AMTM!
Many thanks to @thelonelycoder for including us in the AMTM family!
MerlinAU is available for download on our GitHub repository here.
Installation and update information are provided on the same page.
PLEASE READ ALL THE DETAILS AND BACKUP BEFORE STARTING!
Post-Update Notes for MerlinAU Users
We're eager to hear your feedback and experiences with MerlinAU. Your suggestions and comments are invaluable in making MerlinAU even better!
- After installing or updating MerlinAU, it's recommended to review the new settings and adjust them as per your preference.
- If using a USB drive for firmware storage, ensure it's properly connected and mounted.
MerlinAU is available under the GNU General Public License version 3 (GPL-3.0).
Thank you, and enjoy a hassle-free firmware updating experience with MerlinAU!
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!