I have an ER-X 5-port that was running 19.0? (can't remember exactly) with my AC-AP-Lite AP on eth0 and WAN on eth4. I was having issues and wanted to upgrade to 22.03.4. I understand that a few things changed including DSA and device name, so I forced upgrade through LuCI and ignored the scary messages. I ended up soft-bricking the device because (among other things) /etc/config/network needed updating. Removed the cover, used my serial-to-USB converter and got in and saw the device was alive and responding with a prompt and log messages. Ok, so far so good.
I updated br-lan to tie the LAN ports together and assign the ports, and I could at least get back into the router without using the serial port, so half way there. However, no amount of configuration is allowing the WAN to connect to either eth0 or eth4. Both of them seem to be assigned to eth0.2 in the new config but I don't know what's going on.
What I would like is to get my WAN connection back and routed to my LAN and have proper standard network configuration files. I don't care which port is used for which for this. I'm really disappointed in the upgrade process and this DSA transition was totally fluffed over from a documentation perspective based on the lack of configs.
Could someone please provide any valid /etc/config/network file for this device? Or advice on how to configure the physical interfaces to be assigned to WAN/WAN6 and route to LAN? TIA.