mrhaav / openwrt

21 stars 5 forks source link

Connection fails at certain intervals, I get "Unknown error (REGISTRATION_FAILED)". #5

Open Peacock365 opened 1 year ago

Peacock365 commented 1 year ago

@mrhaav

Dear developer,

I am currently facing an issue with my TP-Link MR6400 V5.2 with OpenWRT 22.03.2 installed.

I have followed the instructions of @fsufyan here and got LTE working in my router:

https://forum.openwrt.org/t/tp-link-tl-mr6400-v5-2-lte-configuration/123603/2

Speed and everything seems to be OK, except reliability. I repeatedly get "Unknown error (REGISTRATION_FAILED)" with both RX / TX going to zero. Any browser then fails to load any website. A restart of the QMI Cellular interface (that is wwan0 here) or a reboot of the router fixes the issue for about 24 hours, after which the error is there again. The error also seems to occur always around the same timeframe within the day, it happens periodically / in intervals. Does the provider change "something" there and the router fails to respond to it everyday? It seems like the router is not able to "fetch" something from the outside.

Please help me kind developer, I have come so far as to get it working (minus the error) despite being a complete noob as far as OpenWRT is concerned, I really want to use this firmware because I do not trust the TP-Link firmware and the TP-Link firmware does not seem to be well-supported at all (no updates after a year, and sparse updates in between).

noMaaam commented 9 months ago

Hi @mrhaav ,

thank you i will try the new version. I was wondering , with the 23.05.02 release uqmi got pushed to a newer version, is this from your fork ? Because with this version it is not possible any more to set the PLMN which worked with 23.05 upstream version.

image

Sat Nov 18 14:46:19 2023 daemon.notice netifd: Interface '4G' is setting up now Sat Nov 18 14:46:19 2023 daemon.notice netifd: 4G (2091): Waiting for SIM initialization Sat Nov 18 14:46:23 2023 daemon.notice netifd: 4G (2091): Failed to parse message data Sat Nov 18 14:46:23 2023 daemon.notice netifd: 4G (2091): PIN verification is disabled Sat Nov 18 14:46:24 2023 daemon.notice netifd: 4G (2091): Device does not support 802.3 mode. Informing driver of raw-ip only for wwan0 .. Sat Nov 18 14:46:24 2023 daemon.notice netifd: 4G (2091): Waiting for network registration Sat Nov 18 14:46:25 2023 daemon.notice netifd: 4G (2091): Starting network 4G Sat Nov 18 14:46:26 2023 daemon.notice netifd: 4G (2091): Setting up wwan0 Sat Nov 18 14:46:26 2023 daemon.notice netifd: Interface '4G' is now up

Peacock365 commented 4 months ago

Update on the previously reported issue: Since OpenWRT 23.05 (all sub-versions included), my devices no longer randomly disconnect from the router. Yay!!! However, I have another problem now: After a few days, usually around the 2 - 4 day range after a restart of the router (appears to be random though), my devices lose internet access. They do stay connected to the router, so it's not a disconnect anymore like the issue I reported before. But, if I try to access any website on my devices, I just see an endless spinning ball and nothing loads. Across all my devices connected to the router too, so it's not related to any connected device. Nothing obvious in the log either, no apparent change compared to the days before is visible there. It just grinds to a halt somehow, without my devices disconnecting from the router at all. Any idea what this could be? Thank you.

Peacock365 commented 3 months ago

@mrhaav

I managed to find a log entry that is apparently related to the content of my last comment? It reads as follows:

Sat Apr 20 13:36:12 2024 user.notice firewall: Reloading firewall due to ifup of 4G (wwan0)

I am getting this entry whenever I am losing a connection. Please @mrhaav help me if you can.

mrhaav commented 3 months ago

Hi What OpenWrt version are you using, 23.05.3? I just uploaded a 23.05.3 version.

Did you get any messages from uqmi_d just before Sat Apr 20 13:36:12 2024 user.notice firewall: Reloading firewall due to ifup of 4G (wwan0)?