I configured internet via ssh on EAP connected to main router 192.168.1.1.
1'st: connected EAP to laptop
2'nd: ```
uci set network.lan.ipaddr='192.168.1.2'
uci set network.lan.gateway='192.168.1.1'
uci set network.lan.dns='8.8.8.8 8.8.4.4'
uci set dhcp.lan.ignore=1
uci commit
reboot
3'rd: connected EAP to router Lan
4'th: installed Luci on it
The bootloader on the EAP245v3 has an emergency web interface, where you can upload TP-Link's firmware images in case it fails to boot. Since you flashed a TP-Link image, I think this mode should be triggered. Try if you can access a web interface on the default IP address (192.168.0.254?) of the device when you power it on.