The Linksys E8450 is a Wi-Fi 6 (802.11ax) router. This router is based on MediaTek MT7622 SOC and a MT7531 switch. As of 2022, it is supported by a snapshot release of OpenWRT.

I purchased this switch on sale from Amazon for $109 CAD in mid 2022.

Installing OpenWRT[edit | edit source]

If you are installing OpenWRT from the stock Linksys firmware, please refer to the instructions outlined at: https://github.com/dangowrt/owrt-ubi-installer

The steps that I used to install OpenWRT are as follows:

  1. Power on the device, navigate to http://192.168.1.1.
  2. Decline the terms and conditions and quit the setup wizard
  3. Login as 'admin' / 'admin'
  4. Go to Administration -> Firmware Upgrade
  5. Upload openwrt-mediatek-mt7622-linksys_e8450-ubi-initramfs-recovery.itb (Not the installer)
  6. Once the device reboots, you should be able to see OpenWRT at 192.168.1.1
  7. SSH to OpenWRT and back up the flash.
# cd /dev
# for part in mtd[0123] ; do dd if=$part of=/tmp/$part; done

Copy the resulting mtd files to your computer in case you ever need it.

  1. Reboot the router. I had to power cycle the device a few times before it stopped going into OpenWRT.
  2. Back on the original Linksys firmware, upload the UBI based installer openwrt-mediatek-mt7622-linksys_e8450-ubi-initramfs-recovery-installer.itb.
  3. Once the device reboots, you should be able to see OpenWRT at 192.168.1.1
  4. Upgrade the OpenWRT firmware using the UBI sysupgrade file. Go to System -> Flash Firmware, under "Flash new firmware image", upload openwrt-mediatek-mt7622-linksys_e8450-ubi-squashfs-sysupgrade.itb.
  5. Once the device reboots, you should see OpenWRT again.

Upgrading OpenWRT[edit | edit source]

If you installed OpenWRT using the steps above (ie. OpenWRT with the UBI filesystem converted), you'll upgrade the system via OpenWRT using a UBI-enabled sysupgrade file. For example: openwrt-22.03-snapshot-r19451-2726c8c315-mediatek-mt7622-linksys_e8450-ubi-squashfs-sysupgrade.itb.

Note that you'll lose any installed packages once you do this upgrade. If you have any specific kernel modules or programs installed, you'll have to reinstall them again. The configs however should remain persistent.

See also[edit | edit source]