Intermittent device drops & reboots RUT956

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?

Many thanks,

Andy

Hi,

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.

Hello @andyt,

Please let me know if you need any further assistance.

Best regards,

Thank you for the replies, that’s really helpful.

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?

Thanks,

Andy

This is the approach I’m thinking of.

In the web interface set the logs to save to Flash memory and not RAM (4,096Kb limit with compression enabled).

After any incident I can SSH in and
logread | tail -n 500 | less

Will that approach work?

Hello @andyt,

In short, yes, your approach would work, provided there is enough storage available to reserve the 4 MB of flash memory for logs.

If you have any other questions or need any additional technical assistance, please feel free to let us know.

Best regards,

This topic was automatically closed after 60 days. New replies are no longer allowed.