OpenWrt support for Deco X20

Did you do anything different to get it installed and working?

Yeah, I intend to raise a PR, though don't want the installation process flakey like it seems to be.

In terms of testing, I suppose using it as a router or access point in your network, and see whether it performs all the tasks as you would expect.

I will try to install it on the other two devices now that I have the first device up and running.
It's just a basic AP setup as luci was not available in your build on onedrive and I keep struggling with a local (snapshot) build of your branch but that's probably caused by a wrong build environment.

I will make sure that I create a detailed log when flashing the other devices and will report back to you.

Let me add LuCi in a build to make it a bit easier...
Updated the images on OneDrive and they should have LuCi now

Great! I just did applied the updated sysupgrade file and now it runs LuCi.
After that I successfully installed OpenWrt on the other 2 Deco's, using the following steps:

telnet 192.168.1.13 4444
Trying 192.168.1.13...
Connected to 192.168.1.13.
Escape character is '^]'.
fw_printenv tp_boot_idx;                                   
tp_boot_idx=1
: not found
tftp -l /tmp/jffs -r openwrt-ramips-mt7621-tplink_deco-x20-v3-squashfs-jffs2.bin -g 192.168.1.76
/usr/sbin/fw_setenv tp_boot_idx 0;
mtd -e /dev/mtd3 write /tmp/jffs /dev/mtd3;
mtd -e /dev/mtd4 -r write /tmp/jffs /dev/mtd4;
 : not found
Unlocking /dev/mtd3 ...
Erasing /dev/mtd3 ...

Writing from /tmp/jffs to /dev/mtd3 ...     
: not found
Unlocking /dev/mtd4 ...
Erasing /dev/mtd4 ...

Writing from /tmp/jffs to /dev/mtd4 ...     
Rebooting ...
/bin/sh: /sbin/reboot: Input/output error

Installation worked!
Device came up at 192.168.1.1
Connected locally using UTP cable directly hooked into PC with static IP.

So the upgrade for the second and third deco was flawless.

I guess the problems that I had with the first Deco were caused by a mistake, mistype or other stupidity.

Thanks! I will let you know if I find something, but right now everything runs smooth.

I'm not entirely sure whether it's a config issue I don't understand or something that's not working in your build, but I'm unable to get the ethernet backhaul working, when all deco's are connected like a chain.

Router->Deco1-port1
Deco1-port2 -> Deco2-port1
Deco2-port2 -> Deco3-port1

Only deco1 is network connected, so I guess the second port isn't working as expected.
.

The default config splits WAN and LAN, so I assume you first put both ports into LAN, and disabled all the firewalls?

What problems are you facing exactly? Does DHCP work between each unit?

Thanks. It's working now. I was struggling a bit as this is the first non-router setup. No problems so far.

1 Like