Asus Filogic Factory Image
Supported devices
- TUF-AX4200
Instructions
-
Download the Factory-Initramfs image.
Place it into a web-server directory root as openwrt.bin.$ mkdir -p /tmp/openwrt-webroot $ cp <openwrt-factory-initramfs> /tmp/openwrt-webroot/openwrt.bin $ python3 -m http.server -d /tmp/openwrt-webroot 8080
-
Open the router configuration page. Complete the first-time setup wizard.
Enable SSH Access (with Password-Login) on the Router.
Find this Setting at Administration --> SystemSSH-Port 22
-
Connect to the device using ssh
$ ssh admin@192.168.50.1
-
Modify the
/etc/hosts
file usingvi
on the device.
Add an entry to the bottom of the file that resolves to the computer serving the factory-initramfs image.
Name the DNS nameopenwrtimage.lan
-
Transfer the OpenWrt factory-initramfs to the device by downloading it from the http server using wget
wget -O /tmp/openwrt.bin http://openwrtimage.lan:8080/openwrt.bin
-
Erase the linux-partition
$ mtd-erase -d linux
-
Write OpenWrt to the
linux
partition$ mtd-write -i /tmp/openwrt.bin -d linux
-
Power-Cycle your router.
-
Transfer the OpenWrt sysupgrade image to the router using
scp
.$ scp -O /path/to/<openwrt-sysupgrade.bin> root@192.168.1.1:/tmp
-
Install OpenWrt persistently using
sysupgrade
.$ sysupgrade -n /tmp/<openwrt-sysupgrade.bin>