What's new

MerlinAU MerlinAU v1.3.8 - The Ultimate Firmware Auto-Updater (GNUTON SUPPORT!)

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Thank you for writing MerlinAU!

I haven't gotten it working yet due to this consistent error:
--2024-11-18 06:36:10-- https://sourceforge.net/projects/as...86U_PRO/Release/RT-AX86U_PRO_3004_388.8_4.zip
Resolving sourceforge.net... failed: Connection timed out.
wget: unable to resolve host address 'sourceforge.net'
**ERROR**: Firmware files were not downloaded successfully.

MerlinAU v1.3.5
Running the update task now... Checking for F/W updates...
Using release information for Merlin Firmware.
The firmware update to 3004.388.8.4 version is currently postponed for 3 day(s).
The firmware update is expected to occur on 2024-11-20 22:50:00.

Would you like to proceed with the update now? [yY|nN]? y
OK
Required RAM: 86026 KB - RAM Free: 412088 KB - RAM Available: 478594 KB
Backup script (BACKUPMON) is not installed. Skipping backup.

Latest release version is 3004.388.8.4.
Downloading https://sourceforge.net/projects/as...86U_PRO/Release/RT-AX86U_PRO_3004_388.8_4.zip

--2024-11-18 06:36:10-- https://sourceforge.net/projects/as...86U_PRO/Release/RT-AX86U_PRO_3004_388.8_4.zip
Resolving sourceforge.net... failed: Connection timed out.
wget: unable to resolve host address 'sourceforge.net'
**ERROR**: Firmware files were not downloaded successfully.

I'm not sure what is happening, because I can ping sourceforge.net from that same terminal window after exiting amtm:
/tmp/home/root# ping sourceforge.net
PING sourceforge.net (104.18.13.149): 56 data bytes
64 bytes from 104.18.13.149: seq=0 ttl=60 time=4.662 ms
64 bytes from 104.18.13.149: seq=1 ttl=60 time=4.606 ms
64 bytes from 104.18.13.149: seq=2 ttl=60 time=4.965 ms
64 bytes from 104.18.13.149: seq=3 ttl=60 time=4.829 ms
^C
--- sourceforge.net ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 4.606/4.765/4.965 ms
I can also download the firmware zip file manually by visiting that URL in a browser on the same computer. So the inability to resolve sourceforge.net seems to be specific to MerlinAU.

Here is what I have tried so far, all to no avail:
  • Updating MerlinAU and amtm
  • Rebooting the router
  • Rebooting the modem (ONT)
  • Trying again the next day
  • Turning off DoT in the router and switching to insecure DNS from my ISP
  • Uninstalling BACKUPMON
Any suggestions?

Thank you!
 
Thank you for writing MerlinAU!

Your welcome, Martinski and I are happy to hear users enjoy the tool :)

I haven't gotten it working yet due to this consistent error:



I'm not sure what is happening, because I can ping sourceforge.net from that same terminal window after exiting amtm:

I can also download the firmware zip file manually by visiting that URL in a browser on the same computer. So the inability to resolve sourceforge.net seems to be specific to MerlinAU.

Here is what I have tried so far, all to no avail:
  • Updating MerlinAU and amtm
  • Rebooting the router
  • Rebooting the modem (ONT)
  • Trying again the next day
  • Turning off DoT in the router and switching to insecure DNS from my ISP
  • Uninstalling BACKUPMON
Any suggestions?

Thank you!
Yes actually I do have some suggestions; it seems to be happening to me and Martinski as well.
I quickly checked into the issue, and to me it looks like SourceForge is struggling right now.

The servers are much slower than usual to provide the zip file. Even for me...
Finally, it took almost 7 minutes to download the firmware ZIP file. This usually takes less than a minute!!!! (Seconds!)

I'm assuming SourceForge is getting a hit of some kind because this is unusual. The code for MerlinAU does include a timeout for the .zip which is what your encountering.
We just sent out an "emergency" release version 1.3.6 that removes the timeout parameter for the download of the .zip...

Fair warning, it's MUCH slower today. But it will download.
 
Last edited:
MerlinAU 1.3.6 Released!

What's Changed/Fixed?:

PR: #360
-Removed timeout from wget calls.
Removed the "timeout" parameter from wget calls to prevent setting connect timeouts or read timeouts.

As reported by "@Just Started"
As always, we highly recommend you update ASAP as this includes functional improvements and little bug fixes.

Tested against the latest 3004.388.8_4 and 3006.102.2_2
 
Last edited:
Dev 1.3.6 as Next Stable Release

PR: https://github.com/ExtremeFiretop/MerlinAutoUpdate-Router/pull/360
-Removed timeout from wget calls.
Removed the "timeout" parameter from wget calls to prevent setting connect timeouts or read timeouts.

As reported by "@Just Started"
As always, we highly recommend you update ASAP as this includes functional improvements and little bug fixes.

Tested against the latest 3004.388.8_4 and 3006.102.2_2
RIght after I updated about a dozen routers/AiMesh nodes to v1.3.5... 😂
 
RIght after I updated about a dozen routers/AiMesh nodes to v1.3.5... 😂

Hmmm... Makes me wonder if this is a use-case to have MerlinAU itself auto update...

I know we said no in the past, but knowing users have to update a dozen routers at time is painful to hear.
 
Hmmm... Makes me wonder if this is a use-case to have MerlinAU itself auto update...

I know we said no in the past, but knowing users have to update a dozen routers at time is painful to hear.
In its infancy, I agreed 100%, but now it's a mature, stable script. I vote for adding auto update to MerlinA(utomatic)U(pdate), as a configurable option, of course! 👍
 
In its infancy, I agreed 100%, but now it's a mature, stable script. I vote for adding auto update to MerlinA(utomatic)U(pdate), as a configurable option, of course!👍

That's kinda my stance now as well. .

The code is extremely stable and well tested, and is also very clean and easy is follow.

We aren't doing massive overhauls to stuff anymore. Mostly little tweaks based on feedback and experiences we have while testing... (Such as noticing this timeout to SourceForge today)

I'll talk it over with Martinski offline and see what we can do. We may still make it an "opt in" system and disabled by default is my thought.

If anyone else has any opinions, feel free to speak up or forever hold your piece.
 
Until we decide to include auto updates to the script itself... ;)
 
Just for reference;

Last night before I issued the release v1.3.5 my test was 5 seconds to download the latest 3004 .zip file
This morning it's minutes; something up with SourceForge servers to throttle the downloads.

Code:
2024-11-18 02:30:23 MerlinAU v1.3.5
2024-11-18 02:30:23 Running the update task now... Checking for F/W updates...
2024-11-18 02:30:24 Using release information for Merlin Firmware.
2024-11-18 02:30:25 Required RAM: 110817 KB - RAM Free: 525276 KB - RAM Available: 561870 KB
2024-11-18 02:30:26 Backup Started (by BACKUPMON)
2024-11-18 02:30:50 Backup Finished
2024-11-18 02:30:50 Backup Completed Successfully
2024-11-18 02:30:51 Latest release version is 3004.388.8.4.
2024-11-18 02:30:51 Downloading https://sourceforge.net/projects/asuswrt-merlin/files/GT-AXE11000/Release/GT-AXE11000_3004_388.8_4.zip
2024-11-18 02:30:56 Required RAM: 110817 KB - RAM Free: 448028 KB - RAM Available: 533866 KB
2024-11-18 02:30:57 -----------------------------------------------------------
2024-11-18 02:30:57 Archive:  /tmp/mnt/USB3/MerlinAU.d/GT-AXE11000_firmware/GT-AXE11000_firmware.zip
2024-11-18 02:30:57   Length      Date    Time    Name
2024-11-18 02:30:57 ---------  ---------- -----   ----
2024-11-18 02:30:57  84279316  11-17-2024 15:04   GT-AXE11000_3004_388.8_4_pureubi.w
2024-11-18 02:30:57      9717  11-17-2024 15:25   README-merlin.txt
2024-11-18 02:30:57    105327  11-17-2024 15:04   Changelog-NG.txt
2024-11-18 02:30:57       101  11-17-2024 15:04   sha256sum.sha256
2024-11-18 02:30:57  --------                     -------
2024-11-18 02:30:57  84394461                     4 files
2024-11-18 02:30:57 -----------------------------------------------------------
2024-11-18 02:31:00 Archive:  /tmp/mnt/USB3/MerlinAU.d/GT-AXE11000_firmware/GT-AXE11000_firmware.zip
2024-11-18 02:31:00   inflating: GT-AXE11000_3004_388.8_4_pureubi.w
2024-11-18 02:31:00   inflating: Changelog-NG.txt
2024-11-18 02:31:00   inflating: sha256sum.sha256
2024-11-18 02:31:00 -----------------------------------------------------------
2024-11-18 02:31:00 Required RAM: 110817 KB - RAM Free: 365676 KB - RAM Available: 506098 KB
2024-11-18 02:31:00 Current version NOT found in changelog file. Bypassing changelog verification for this run.
2024-11-18 02:31:00 Required RAM: 110817 KB - RAM Free: 365628 KB - RAM Available: 506402 KB
2024-11-18 02:31:00 No ROG Build detected. Skipping.
2024-11-18 02:31:01 SHA256 signature check for firmware image file passed successfully.
2024-11-18 02:31:01 Required RAM: 110817 KB - RAM Free: 366000 KB - RAM Available: 506693 KB
2024-11-18 02:31:01 Router Web URL is: http://192.168.50.3
2024-11-18 02:31:41 The email notification was sent successfully [START_FW_UPDATE_STATUS].
2024-11-18 02:31:43 ---------------------------------------------------------------
2024-11-18 02:31:43 Cron job #1: [45 */6 * * * /jffs/addons/amtm/routerdate cron #amtm_RouterDate#]
2024-11-18 02:31:44 Cron job [amtm_RouterDate] was removed successfully.
2024-11-18 02:31:44 Cron job #2: [10 7 * * Sun /bin/sh /jffs/addons/amtm/sc_update.mod -run #amtm_ScriptsUpdateNotification#]
2024-11-18 02:31:45 Cron job [amtm_ScriptsUpdateNotification] was removed successfully.
2024-11-18 02:31:45 Cron job #3: [15 3 * * * sh /jffs/scripts/backupmon.sh #RunBackupMon#]
2024-11-18 02:31:46 Cron job [RunBackupMon] was removed successfully.
2024-11-18 02:31:46 Cron job #4: [15 4 * * * sh /jffs/scripts/MerlinAU.sh run_now #MerlinAU#]
2024-11-18 02:31:47 Cron job [MerlinAU] was removed successfully.
2024-11-18 02:31:47 Cron job #5: [10 0 * * * /bin/sh /jffs/addons/amtm/led_control.mod -set #amtm_LEDcontrol_set#]
2024-11-18 02:31:48 Cron job [amtm_LEDcontrol_set] was removed successfully.
2024-11-18 02:31:48 Cron job #6: [6 7 * * * /bin/sh /jffs/addons/amtm/led_control.mod -on #amtm_LEDcontrol_on#]
2024-11-18 02:31:49 Cron job [amtm_LEDcontrol_on] was removed successfully.
2024-11-18 02:31:49 Cron job #7: [32 16 * * * /bin/sh /jffs/addons/amtm/led_control.mod -off #amtm_LEDcontrol_off#]
2024-11-18 02:31:50 Cron job [amtm_LEDcontrol_off] was removed successfully.
2024-11-18 02:31:50 Cron jobs [7] from 3rd-party add-ons were found.
2024-11-18 02:31:50 ---------------------------------------------------------------
2024-11-18 02:31:55 Post-update email notification hook was added successfully to '/jffs/scripts/services-start' script.
2024-11-18 02:31:55 Flashing GT-AXE11000_3004_388.8_4_pureubi.w... Please wait for reboot in about 4 minutes or less.
 
Just for reference;

Last night before I issued the release v1.3.5 my test was 5 seconds to download the latest 3004 .zip file
This morning it's minutes; something up with SourceForge servers to throttle the downloads.

Code:
2024-11-18 02:30:23 MerlinAU v1.3.5
2024-11-18 02:30:23 Running the update task now... Checking for F/W updates...
2024-11-18 02:30:24 Using release information for Merlin Firmware.
2024-11-18 02:30:25 Required RAM: 110817 KB - RAM Free: 525276 KB - RAM Available: 561870 KB
2024-11-18 02:30:26 Backup Started (by BACKUPMON)
2024-11-18 02:30:50 Backup Finished
2024-11-18 02:30:50 Backup Completed Successfully
2024-11-18 02:30:51 Latest release version is 3004.388.8.4.
2024-11-18 02:30:51 Downloading https://sourceforge.net/projects/asuswrt-merlin/files/GT-AXE11000/Release/GT-AXE11000_3004_388.8_4.zip
2024-11-18 02:30:56 Required RAM: 110817 KB - RAM Free: 448028 KB - RAM Available: 533866 KB
2024-11-18 02:30:57 -----------------------------------------------------------
2024-11-18 02:30:57 Archive:  /tmp/mnt/USB3/MerlinAU.d/GT-AXE11000_firmware/GT-AXE11000_firmware.zip
2024-11-18 02:30:57   Length      Date    Time    Name
2024-11-18 02:30:57 ---------  ---------- -----   ----
2024-11-18 02:30:57  84279316  11-17-2024 15:04   GT-AXE11000_3004_388.8_4_pureubi.w
2024-11-18 02:30:57      9717  11-17-2024 15:25   README-merlin.txt
2024-11-18 02:30:57    105327  11-17-2024 15:04   Changelog-NG.txt
2024-11-18 02:30:57       101  11-17-2024 15:04   sha256sum.sha256
2024-11-18 02:30:57  --------                     -------
2024-11-18 02:30:57  84394461                     4 files
2024-11-18 02:30:57 -----------------------------------------------------------
2024-11-18 02:31:00 Archive:  /tmp/mnt/USB3/MerlinAU.d/GT-AXE11000_firmware/GT-AXE11000_firmware.zip
2024-11-18 02:31:00   inflating: GT-AXE11000_3004_388.8_4_pureubi.w
2024-11-18 02:31:00   inflating: Changelog-NG.txt
2024-11-18 02:31:00   inflating: sha256sum.sha256
2024-11-18 02:31:00 -----------------------------------------------------------
2024-11-18 02:31:00 Required RAM: 110817 KB - RAM Free: 365676 KB - RAM Available: 506098 KB
2024-11-18 02:31:00 Current version NOT found in changelog file. Bypassing changelog verification for this run.
2024-11-18 02:31:00 Required RAM: 110817 KB - RAM Free: 365628 KB - RAM Available: 506402 KB
2024-11-18 02:31:00 No ROG Build detected. Skipping.
2024-11-18 02:31:01 SHA256 signature check for firmware image file passed successfully.
2024-11-18 02:31:01 Required RAM: 110817 KB - RAM Free: 366000 KB - RAM Available: 506693 KB
2024-11-18 02:31:01 Router Web URL is: http://192.168.50.3
2024-11-18 02:31:41 The email notification was sent successfully [START_FW_UPDATE_STATUS].
2024-11-18 02:31:43 ---------------------------------------------------------------
2024-11-18 02:31:43 Cron job #1: [45 */6 * * * /jffs/addons/amtm/routerdate cron #amtm_RouterDate#]
2024-11-18 02:31:44 Cron job [amtm_RouterDate] was removed successfully.
2024-11-18 02:31:44 Cron job #2: [10 7 * * Sun /bin/sh /jffs/addons/amtm/sc_update.mod -run #amtm_ScriptsUpdateNotification#]
2024-11-18 02:31:45 Cron job [amtm_ScriptsUpdateNotification] was removed successfully.
2024-11-18 02:31:45 Cron job #3: [15 3 * * * sh /jffs/scripts/backupmon.sh #RunBackupMon#]
2024-11-18 02:31:46 Cron job [RunBackupMon] was removed successfully.
2024-11-18 02:31:46 Cron job #4: [15 4 * * * sh /jffs/scripts/MerlinAU.sh run_now #MerlinAU#]
2024-11-18 02:31:47 Cron job [MerlinAU] was removed successfully.
2024-11-18 02:31:47 Cron job #5: [10 0 * * * /bin/sh /jffs/addons/amtm/led_control.mod -set #amtm_LEDcontrol_set#]
2024-11-18 02:31:48 Cron job [amtm_LEDcontrol_set] was removed successfully.
2024-11-18 02:31:48 Cron job #6: [6 7 * * * /bin/sh /jffs/addons/amtm/led_control.mod -on #amtm_LEDcontrol_on#]
2024-11-18 02:31:49 Cron job [amtm_LEDcontrol_on] was removed successfully.
2024-11-18 02:31:49 Cron job #7: [32 16 * * * /bin/sh /jffs/addons/amtm/led_control.mod -off #amtm_LEDcontrol_off#]
2024-11-18 02:31:50 Cron job [amtm_LEDcontrol_off] was removed successfully.
2024-11-18 02:31:50 Cron jobs [7] from 3rd-party add-ons were found.
2024-11-18 02:31:50 ---------------------------------------------------------------
2024-11-18 02:31:55 Post-update email notification hook was added successfully to '/jffs/scripts/services-start' script.
2024-11-18 02:31:55 Flashing GT-AXE11000_3004_388.8_4_pureubi.w... Please wait for reboot in about 4 minutes or less.
It's inconsistent — I just ran a test downgrade and upgrade of an AiMesh node. The download took 15 seconds, which was slowed down because it's using WiFi backhaul.
 
I'm assuming SourceForge is getting a hit of some kind because this is unusual. The code for MerlinAU does include a timeout for the .zip which is what your encountering.
We just sent out an "emergency" release version 1.3.6 that removes the timeout parameter for the download of the .zip...
It worked! Updating MerlinAU to v1.3.6 fixed the problem. My firmware is now updated to 3004.388.8_4.

Amazing! A same day reply and fix! Thank you!
 
I can't remember if this was discussed before, but could we have a link to the changelog in your New Firmware Update email?

It was discussed previously, and we did add the changelog via email when there is a high risk phrase blocking the update and changelog verification is enabled.

In that case it's already implemented. But it won't always include it if there's nothing to flag in the changelog currently :)
 
Last edited:
It was discussed previously, and we did add the changelog via email when there is a high risk phrase blocking the update and changelog verification is enabled.

In that case it's already implemented. But it won't always include it if there's nothing to flag in the changelog currently :)
I think it is useful to always include the link. I want to read the changelog whether there is a high risk phrase or not.
 
I think it is useful to always include the link. I want to read the changelog whether there is a high risk phrase or not.

I'll think on it :)
 
If you do change, please consider adding risk indication to changelog.

Can I get clarification what you mean by "risk indication"
Do you mean like this?

1732212840730.png


This was added in version: 1.1.4 here:
 

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top