R7800 on 19.07.3 randomly freezes and requires force reboot to work again

My R7800 router randomly freezes at least once a day and I haven't figured out the reason why it's doing this. When it "freezes," I can't access the router 192.168.1.1 through it's webpage or ssh into it. I also can't access my modem 192.168.100.1 as well but somehow can reach every other device on the network?

I have tried performing a reset and setting everything up again but the issue still exist.

The following is the output of logread -f before it crashed:

Sat Jun 20 21:52:37 2020 daemon.info hostapd: wlan0: STA [MAC Address] WPA: group key handshake completed (RSN)
Sat Jun 20 21:52:37 2020 daemon.info hostapd: wlan0: STA [MAC Address] WPA: group key handshake completed (RSN)
Sat Jun 20 21:52:37 2020 daemon.info hostapd: wlan0: STA [MAC Address] WPA: group key handshake completed (RSN)
Sat Jun 20 21:52:37 2020 daemon.info hostapd: wlan0: STA [MAC Address] WPA: group key handshake completed (RSN)

However, when I force rebooted the router using on/off button and use logread to check the logs again, I can't find any logs with the above timestamps with any information relating to the crash. It's as if everything in that time frame just got deleted for some reason?

Thu Jun 18 15:14:21 2020 daemon.notice hostapd: wlan1: interface state ACS->ENABLED
Thu Jun 18 15:14:21 2020 daemon.notice hostapd: wlan1: AP-ENABLED
Thu Jun 18 15:14:21 2020 daemon.notice netifd: Network device 'wlan1' link is up
Sat Jun 20 23:42:43 2020 daemon.info hostapd: wlan0: STA [MAC Address] IEEE 802.11: authenticated
Sat Jun 20 23:42:43 2020 daemon.info hostapd: wlan0: STA [MAC Address] IEEE 802.11: associated (aid 1)
Sat Jun 20 23:42:43 2020 daemon.notice hostapd: wlan0: AP-STA-CONNECTED [MAC Address]

This above is the closest time frame available on logread after the crash.

Anyone have any idea what's happening?

The logs are nothing special.

Logs are "saved" in tmpfs, so they won't be saved over a reboot. If you want to examine logs you can try to set an external syslog and hope that you can catch the event that freezes the router.

Maybe the switch is not being affected by what is happening to the router.

1 Like

That makes a lot more sense as I had originally thought someone had somehow gained access to my router. I'll try to monitor the external syslog I set up and see if it'll catch anything, thanks!

1 Like

Here's the log after the router randomly rebooted:

Jun 22 22:53:05 OpenWrt hostapd: wlan0: STA [MAC Address] IEEE 802.11: authenticated
Jun 22 22:53:05 OpenWrt hostapd: wlan0: STA [MAC Address] IEEE 802.11: associated (aid 2)
Jun 22 22:53:05 OpenWrt hostapd: wlan0: AP-STA-CONNECTED [MAC Address]
Jun 22 22:53:05 OpenWrt hostapd: wlan0: STA [MAC Address] WPA: pairwise key handshake completed (RSN)
Jun 22 22:53:06 OpenWrt hostapd: wlan0: STA [MAC Address] IEEE 802.11: authenticated
Jun 22 22:53:06 OpenWrt hostapd: wlan0: STA [MAC Address] IEEE 802.11: associated (aid 3)
Jun 22 22:53:06 OpenWrt hostapd: wlan0: AP-STA-CONNECTED [MAC Address]
Jun 22 22:53:06 OpenWrt hostapd: wlan0: STA [MAC Address] WPA: pairwise key handshake completed (RSN)
Jun 22 22:53:08 OpenWrt hostapd: wlan1: ACS-COMPLETED freq=2437 channel=6
Jun 22 22:53:08 OpenWrt hostapd: Using interface wlan1 with hwaddr [MAC Address] and ssid "[SSID]"
Jun 22 22:53:09 OpenWrt kernel: [   55.697439] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
Jun 22 22:53:09 OpenWrt kernel: [   55.697691] br-lan: port 2(wlan1) entered blocking state
Jun 22 22:53:09 OpenWrt kernel: [   55.702877] br-lan: port 2(wlan1) entered forwarding state
Jun 22 22:53:09 OpenWrt hostapd: wlan1: interface state ACS->ENABLED
Jun 22 22:53:09 OpenWrt hostapd: wlan1: AP-ENABLED
Jun 22 22:53:09 OpenWrt netifd: Network device 'wlan1' link is up
Jun 22 22:53:12 OpenWrt hostapd: wlan0: STA [MAC Address] IEEE 802.11: authenticated
Jun 22 22:53:12 OpenWrt hostapd: wlan0: STA [MAC Address] IEEE 802.11: associated (aid 4)
Jun 22 22:53:12 OpenWrt hostapd: wlan0: STA-OPMODE-SMPS-MODE-CHANGED [MAC Address] off
Jun 22 22:53:12 OpenWrt hostapd: wlan0: AP-STA-CONNECTED [MAC Address]
Jun 22 22:53:12 OpenWrt hostapd: wlan0: STA [MAC Address] WPA: pairwise key handshake completed (RSN)
Jun 22 22:53:19 OpenWrt hostapd: wlan0: STA [MAC Address] IEEE 802.11: authenticated
Jun 22 22:53:19 OpenWrt hostapd: wlan0: STA [MAC Address] IEEE 802.11: associated (aid 5)
Jun 22 22:53:19 OpenWrt hostapd: wlan0: AP-STA-CONNECTED [MAC Address]
Jun 22 22:53:19 OpenWrt hostapd: wlan0: STA [MAC Address] WPA: pairwise key handshake completed (RSN)
Jun 22 22:54:36 OpenWrt hostapd: wlan0: STA [MAC Address] IEEE 802.11: authenticated
Jun 22 22:54:36 OpenWrt hostapd: wlan0: STA [MAC Address] IEEE 802.11: associated (aid 6)
Jun 22 22:54:36 OpenWrt hostapd: wlan0: AP-STA-CONNECTED [MAC Address]
Jun 22 22:54:36 OpenWrt hostapd: wlan0: STA [MAC Address] WPA: pairwise key handshake completed (RSN)
Jun 22 22:56:29 OpenWrt hostapd: wlan0: STA [MAC Address] IEEE 802.11: authenticated
Jun 22 22:56:29 OpenWrt hostapd: wlan0: STA [MAC Address] IEEE 802.11: associated (aid 7)
Jun 22 22:56:29 OpenWrt hostapd: wlan0: AP-STA-CONNECTED [MAC Address]
Jun 22 22:56:29 OpenWrt hostapd: wlan0: STA [MAC Address] WPA: pairwise key handshake completed (RSN)

I'm not really sure what's going on with the router/firmware. Any help would be greatly appreciated!

After the reboot you won't see anything related to the reboot in the logs, because they logs are lost from the ram tmpfs.
Your best bet is to use a remote syslog server.
However in many cases the random reboots are due to faulty power supply.

That was from the external sys log server that I sent my logs to from the router.

For the reboot, It will occur after the router freezes for a few minutes from unknown cause. I'm not really sure if it's an issue with the power supply since I've been using it without any issue even before I flashed openwrt.

Will sys log even capture anything if the router freezes before it can log anything? Because logread -f and the external sys log server are doing pretty much the same thing.

Ah ok I misunderstood you.
Still there is nothing interesting there showing why the router reboots.

Well, you never know and it is not difficult to try another just to be sure.

It depends what freezes. If the network freezes, then maybe there is something locally but nothing on remote. But it may be that no reason is logged. And then you can try to reset to defaults, reflash, and start looking on the PCB for visually faulty resistors and capacitors.

I ended up reflashing openwrt on the router again and it doesn't seem to have any freezes currently. I'm going to wait for a few more days before making this as solved. Thanks a lot for everything, I really appreciate it!

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.