Install AdGuardHome on Asus Router (AC56U)
Download and Flash Asuswrt-Merlin Firmware (v384.6)
https://www.asuswrt-merlin.net/ https://sourceforge.net/projects/asuswrt-merlin/files/RT-AC56U/Release/RT-AC56U_384.6_0.zip/download
Prepare USB Drive
- Login to router via SSH (
ssh admin@router_ip) fdisk /dev/sdamkfs.ext3 /dev/sda[1,2]
Enable JFFS Custom Scripts and Configs
Administration -> System -> Persistent JFFS2 partition -> Enable JFFS custom scripts and configs (‘yes’)
Execute Entware-Setup to Enable /opt Mount on USB Drive
The newly flashed firmware (v384.6) has entware-setup.sh included already.
FYI: https://github.com/RMerl/asuswrt-merlin/blob/master/release/src/router/others/entware-setup.sh
Update Post-Mount Script
/opt/etc/init.d/rc.unslung start is the line added; not sure if it’s necessary. :)