Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[REQ] - #89

Open
micron888 opened this issue Jan 25, 2024 · 5 comments
Open

[REQ] - #89

micron888 opened this issue Jan 25, 2024 · 5 comments
Assignees
Labels
enhancement New feature or request

Comments

@micron888
Copy link

please consider adding gnuton firmware
https://github.com/gnuton/asuswrt-merlin.ng

@micron888 micron888 added the enhancement New feature or request label Jan 25, 2024
@Martinski4GitHub
Copy link
Collaborator

please consider adding gnuton firmware https://github.com/gnuton/asuswrt-merlin.ng

We have placed some restrictions on what routers to support based on RMerlin's advice:

https://www.snbforums.com/threads/introducing-merlinau-the-ultimate-firmware-auto-updater-addon.88577/page-2#post-887594

So at the moment, only HND models & routers that are not End-of-Life are supported.
Given those restrictions, if your F/W versioning string follows the same format as RMerlin's F/W (e.g. "386.12_4", "3004_388.6_0") in both NVRAM-related vars & downloadable F/W zip files, it might be possible. Ultimately, it will also depend on whether one of us has a router model to test with your F/W; otherwise, it becomes difficult to support a platform on which we cannot test at all.

@ExtremeFiretop
Copy link
Owner

ExtremeFiretop commented Jan 25, 2024

please consider adding gnuton firmware https://github.com/gnuton/asuswrt-merlin.ng

The current logic also pulls from SF and uses the routers model and built in update check script to get the versioning to construct the URL to get the update...

I don't know enough about gnuton since I don't have a router that supports the firmware, but ultimately I would say the biggest challenge would likely be how it's hosted if it's only hosted on Github and not on a public repo like SourceForge.

Github has the infrastructure to support high downloads, but finding and sparsing through a webpage with a bunch of different models and versions becomes less accurate than the route currently taken.

@ExtremeFiretop ExtremeFiretop closed this as not planned Won't fix, can't repro, duplicate, stale Jan 25, 2024
@ExtremeFiretop
Copy link
Owner

ExtremeFiretop commented Feb 5, 2024

@micron888

Can you provide me the output of:

for nvramKey in productid build_name odmpid; do routerProductID=$(nvram get "$nvramKey") && [ -n "$routerProductID" ] && echo "$routerProductID" && break; done

And:

for nvramKey in productid build_name odmpid; do routerProductID="$(nvram get "$nvramKey")"; [ -n "$routerProductID" ] && echo "$routerProductID" && break; done

Also can you provide the output of:

nvram get buildno

and

nvram get build_name

Also the output of:

nvram get buildinfo

Thanks!

@ExtremeFiretop
Copy link
Owner

@micron888

This is as close as I can get without the info above:
https://github.com/ExtremeFiretop/MerlinAutoUpdate-Router/tree/GnutonF/W

I suspect there will still be issues with the following code:

    if ! release_version="$(_GetLatestFWUpdateVersionFromRouter_)" || \
       ! _CheckNewUpdateFirmwareNotification_ "$current_version" "$release_version"
    then
        Say "No new firmware version update is found for [$PRODUCT_ID] router model."
        "$inMenuMode" && _WaitForEnterKey_ "$menuReturnPromptStr"
        return 1
    fi

But i don't have hardware to test.
If you find a dev on gnuton that wants to fork that branch and finish it, feel free :)

@ExtremeFiretop
Copy link
Owner

@micron888

We need your contact information please and thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants