Following instructions are provided without any warranty, and may even get you in trouble legally. The instructions are provided for testing, and should be use with care. We (including commentators) are not responsible for any damage to your device(s).
This may enable additional channels and power (in most cases don't) on ASUS Merlin provided routers.
The nvram settings have been tested on a ASUS RT-AX58U, they may work on other models as well (ASUS RT-AC78U).
Please use nvram dump
and adjust when needed, as they may differ on your device!
Credits to the commentators below, and members on the SNBForums posting instructions. Please post your findings, and help others when needed. :)
See https://www.htpcguides.com/enable-ssh-asus-routers-without-ssh-keys/ for instructions.
nvram dump > dump.txt
NOTE: You need to copy the dump.txt (or output by
nvram dump
to somewhere else), as they will be lost on reboot
Make sure
Enable JFFS custom scripts and configs
, is enabled in System settings. See https://github.com/RMerl/asuswrt-merlin.ng/wiki/User-scripts for details.
Make sure to also run the following commands:
nvram set jffs2_scripts="1"
nvram commit
Create the /jffs/scripts/wl
file, and paste the nvram
overwrites into this file (see given example file).
Create/adjust /jffs/scripts/init-start
:
#!/bin/sh
[ -x /jffs/scripts/wl ] && /jffs/scripts/wl &
# [ -x /jffs/addons/AdGuardHome.d/AdGuardHome.sh ] && /jffs/addons/AdGuardHome.d/AdGuardHome.sh init-start & # place before addons
Create/adjust /jffs/scripts/services-start
:
#!/bin/sh
/jffs/scripts/wl >/dev/null 2>&1 & # wl
# /jffs/scripts/scmerlin startup & # scMerlin
Create/adjust /jffs/scripts/service-event
:
#!/bin/sh
if echo "$2" | /bin/grep -q "wireless"; then { /jffs/scripts/wl service_event "$@" & }; fi # wl
Create/adjust /jffs/scripts/service-event-end
:
#!/bin/sh
if echo "$2" | /bin/grep -q "wireless"; then { /jffs/scripts/wl service_event "$@" & }; fi # wl
Make sure the scripts are executable:
chmod a+rx /jffs/scripts/*
You need to reboot the router to apply changes:
reboot
To make the changes persistent, make sure to add them to the jffs/scripts/wl
script.
Hmmm, interesting. I found the following code on the other forum, and applied it to my UK version AXE11000, and it worked. But I noticed that there's no wl2 command in there, but the TX power of the 6Ghz did get a massive boost. That's when I start to wonder what do wl0, wl1 and wl2 mean.
Also, using this command
nvram show | grep -e 'country_code\|location_code\|territory_code\|ccode'
, I got the following results:It's quite strange, isn't it? Although the location code is AU now, but the territory code and wl_country are still EU? I was wondering if it's fine to leave it like this, or maybe I should find the command that change the territory_code and wl_country_code to AU as well? Thanks for your help!