Skip to content

Instantly share code, notes, and snippets.

@francoism90
Last active October 6, 2025 20:54
Show Gist options
  • Save francoism90/3dede7973354d067c41bff5e54203fe9 to your computer and use it in GitHub Desktop.
Save francoism90/3dede7973354d067c41bff5e54203fe9 to your computer and use it in GitHub Desktop.
Change country to unlock channels, increase TX-power. (Use at your own risk)

Disclaimer

Following instructions are provided without any warranty, and may even get you in trouble legally. The instructions are provided for testing, learning, preventing e-waste, and should be use with care. We (including contributers + commentators) are not responsible for any damage to your device(s) or any legal issues.

Getting Started

Instructions have been moved to https://github.com/francoism90/asus-router. :)

@lkjasdlfwe
Copy link

I have a couple of stupid questions. Would be grateful is someone could guide me. The wlupdate file states:

#Please adjusts the given nvram variables (nvram dump) with values of your own device.

Which of the following does it mean:

  1. I use the values for the given variables from my nvram dump files
  2. I use the names of the variables from my nvram dump file (as some variables are missing on GT-AX6000 e.g. wl2_acs_cs_dfs_pref does not exist in my nvram dump)
  3. I just use the file as provided and adjust based on problems faced

Second, in the wlboost file all commands are commented but some are commented once and some are commented twice.

# wl -i eth6 down
## wl -i eth6 scansuppress 1
# wl -i eth6 country ALL
# wl -i eth6 country_abbrev_override "US"
## wl -i eth6 bw_cap 5g "0xff"

What is the purpose of this. Do I uncomment everything for the feature I need or just the single comments? Thanks

@francoism90
Copy link
Author

@lkjasdlfwe Could you please post this as an issue in the issue-tracker instead? :)

This helps me creating a PR which should hopefully answer your questions.
Some values are experimental, and some indeed aren't present depending on the device/situation.

But I would like to improve this, so it's more clear for everyone.

@lkjasdlfwe
Copy link

@francoism90 done!

@radulescubg
Copy link

Hi!

Am I supposed to use a mix of init-start and wlboost scripts ( have both) or should i only use one of them? (AX86U)

@francoism90
Copy link
Author

@radulescubg You need to use all provided scripts in the /jffs folder or adjust them if you have them already. :)

@DeMuirs
Copy link

DeMuirs commented Jun 18, 2025 via email

@purya97
Copy link

purya97 commented Sep 30, 2025

I got a RT-BE92U running merlin 3006.102.5.
I set init start to
#!/bin/sh
nvram set 0:ccode=E0
nvram set 0:regrev=200
nvram set wl0_country=E0
nvram set wl0_country_code=E0
nvram set wl0_country_rev=200
nvram set wl0_reg_mode=off
nvram set 1:ccode=#a
nvram set 1:regrev=0
nvram set wl1_country=#a
nvram set wl1_country_code=#a
nvram set wl1_country_rev=0
nvram set wl1_reg_mode=off
nvram set 1:maxp5ga0=120,120,120,120
nvram set 1:maxp5ga1=120,120,120,120
nvram set 1:maxp5ga2=120,120,120,120
nvram set wl1_txpower=708
nvram set wl1_ignore_dfs=1
nvram set 2:ccode=#a
nvram set 2:regrev=0
nvram set wl2_country=#a
nvram set wl2_country_code=#a
nvram set wl2_country_rev=0
nvram set wl2_reg_mode=off
nvram set 2:maxp6ga0=120,120,120,120
nvram set wl2_txpower=708
nvram set wl2_ignore_dfs=1
nvram set asuscfe0:ccode=E0
nvram set asuscfe0:regrev=200
nvram set asuscfe1:ccode=#a
nvram set asuscfe1:regrev=0
nvram set asuscfecommit=1
nvram set pci/1/1/ccode=#a
nvram set pci/1/1/regrev=0
nvram set pci/2/1/ccode=#a
nvram set pci/2/1/regrev=0
nvram set pci/3/1/ccode=#a
nvram set pci/3/1/regrev=0
nvram set regulation_domain=#a
nvram set regulation_domain_5G=#a
nvram set wl_country_code=#a
nvram set wl_country_rev=0
nvram set wl_txpower=708

nvram commit

my problem is wifi 2.4 being set to anything rather than E0.
the router keeps restarting, log me out of the ui giving the error that the user or password is in correct. so i keep need to reboot. and i found out that the router time is set to 1970s

after setting the 2.4 to E0 instead of #a the reboot and reconnection issue seems to be solved but still devices connecting to 2.4ghz keep disconnecting and reconnecting each second.

Any ideas what i got to do?

@oaatiq
Copy link

oaatiq commented Oct 5, 2025

@purya97 I had similar issue, it seems Tx power unlock scripts are not currently working with routers having 6ghz band. however, BE routers likeASUS RT-BE88U (is a wifi7 but doesn't have 6ghz) seems to work fine => I was able to increase Tx power from 12 to 26

@oaatiq
Copy link

oaatiq commented Oct 5, 2025

@francoism90 could you please confirm what's the actual Tx power according to those logs

admin@RT-BE88U-B380:/tmp/home/root# wl -i wl0 txpwr_target_max
Maximum Tx Power Target (chanspec:0x1001): 26.00 26.00 26.00 26.00
admin@RT-BE88U-B380:/tmp/home/root# wl -i wl0 txpwr_adj_est
Last adjusted est. power (chanspec:0x1001): 27.50 27.50 27.50 27.50

admin@RT-BE88U-B380:/tmp/home/root# wl -i wl1 txpwr_target_max
Maximum Tx Power Target (chanspec:0x1001): 26.00 26.00 26.00 26.00
admin@RT-BE88U-B380:/tmp/home/root# wl -i wl1 txpwr_adj_est
Last adjusted est. power (chanspec:0xe832): 27.25 27.25 27.50 27.25

admin@RT-BE88U-B380:/tmp/home/root# wl -i wl1 txpwr1
TxPower is 127 qdbm, 31.75 dbm, 1496 mW Override is Off
admin@RT-BE88U-B380:/tmp/home/root# wl -i wl0 txpwr1
TxPower is 127 qdbm, 31.75 dbm, 1496 mW Override is Off

@francoism90
Copy link
Author

francoism90 commented Oct 5, 2025

@oaatiq I'm not adjusting TX-Power at the moment, because I bought an AiMesh setup.

# wl -i eth5 txpwr_target_max
Maximum Tx Power Target (chanspec:0x1003):      15.00  15.
# wl -i eth6 txpwr_target_max
Maximum Tx Power Target (chanspec:0xe06a):      25.00  25.00  25.00  25.00 
# wl -i eth5 txpwr_adj_est
Last adjusted est. power (chanspec:0x1003):     15.00  15.00
# wl -i eth6 txpwr_adj_est
Last adjusted est. power (chanspec:0xe06a):     25.00   0.00   0.00  25.00

These are my default values, what are your default values?

As stated in the README, the router, firmware and hardware may ignore any overrules.

@oaatiq
Copy link

oaatiq commented Oct 6, 2025

@francoism90 Thanks for your feedback, do you know how to push my RT-BE88U from 26.00 to 31 ?
admin@RT-BE88U-B380:/tmp/home/root# wl -i wl1 txpwr1
TxPower is 127 qdbm, 31.75 dbm, 1496 mW Override is Off

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment