Hi all. I’m currently running RUT956 devices and every few days they are rebooting. Auto reboot is configured (makes sense) but I’m confused why they are having to reboot so often.
The typical router_uptime values I’m seeing before a reboot are
376284
262065
68735
I’m trying to dig into why the gateways decide they need to auto reboot.
Can someone point me to the appropriate logs and further diagnostics I can do to understand root cause?
Auto Reboot functionality reboots the device if it loses network connection to the specified IP address. If you are using the default configuration - that would mean losing connection to the internet.
If reboots are not desired, you can simply disable this functionality.
Meanwhile, to investigate the situation, disable the Ping Reboot functionality, connect your computer to the router over SSH protocol (SSH login: root, SSH password: <your device’s password>), and use logread -f the command. When the connection issue appears next time, you will be able to inspect the router’s logs from that time, and try to find clues if there are any obvious logs indicating why the connection failed.
Reboots were activated to ensure that the routers always came back online, so I am not happy to turn these off as I need high uptime.
The advice to use logread -f is really helpful, is this something I can do after a reboot.
For example, if the router disconnects overnight then I need it to auto reboot. I would then be able to check the logs on the next working day. Do the logs persist after reboot?