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 (in most cases don't) enable additional channels and power 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).
Use nvram dump and adjust 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 dumpto 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.
Create a /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 addonsMake sure the scripts are executable:
chmod a+rx /jffs/scripts/*See https://www.cyberciti.biz/faq/how-to-add-cron-job-on-asuswrt-merlin-wifi-router/ for details.
cru a wl "* * * * * /jffs/scripts/wl"This will ensure the nvram overwrites are applied every minute.
You may now reboot the router. Please note changing settings in the UI, may undo nvram changes. It is recommended to change settings using CLI instead.