I have a router (MiktroTik hAP ac3, running OpenWrt 23.05.2) which at the moment is on another continent. It used to work fine, now it's in a strange state of partially working...
I can access it through a wireguard tunnel, and that works, as I can log in to luci using the wireguard tunnel. But after logging in, luci spins "Loading View" on the status page for about 30 seconds, and then gives me a partial page with "?" instead of the correct info in each field. Another 20 seconds later it gives me the Network section with the correct info for IPv4 upstream and IPv6 upstream, then nothing more (nothing for active connections).
Trying to log in with ssh hangs during host authentication... ssh -v
gives the following...
...
debug1: kex: host key algorithm: ssh-ed25519
debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
debug1: kex: curve25519-sha256 need=64 dh_need=64
debug1: kex: curve25519-sha256 need=64 dh_need=64
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
...and then hangs until timeout.
Aside from the status page, some of luci's page work, others don't. The Network Interfaces page give an error " Error XHR request timed out" after about 20 seconds of "Loading view". I can reboot the box using luci's System -> Reboot, and it comes up back in the same state. The luci system log view works, but there's nothing interesting in the logs. Doing a sysupdate via luci doesn't work, it starts to upload the image but makes no progress.
Any ideas what might be going on? What else could I do to debug this remotely? Is there any way to get a shell from luci?