If you can enable SSH on your router then you can reboot from command line. You can also use a smart plug such as a WeMo Mini to remotely power cycle the mesh node.
If your mesh node has a USB port that allows you to mount a USB thumb drive, you can also make it reboot automatically if it completely loses the connection to the master :
1. Plug in the USB drive.
2. Create a directory /jffs/scripts.
3. Create a shell script named service-start in the directory with the following lines in it.
#!/bin/sh
# Reboot at 3am on Sunday
cru a ScheduledReboot "00 3 * * 0 /sbin/reboot"
# Run check.sh every 5 minutes
cru a NoConnectionReboot "*/5 * * * * /jffs/scripts/check.sh"
4. In the same directory create the file check.sh with the following lines, assuming your main router's IP address is 192.168.1.1.
#!/bin/sh
if ! ping -w 10 -c 10 192.168.1.1 > /dev/null; then
echo `date` "- Mesh router ping failed" >> /jffs/reboot.log
sleep 120
if ! ping -w 10 -c 10 192.168.1.1 > /dev/null; then
echo `date` "- reboot" >> /jffs/reboot.log
reboot
fi
fi
5. Run the following commands.
chmod a+x /jffs/scripts/service-start
chmod a+x /jffs/scripts/check.sh
nvram set script_usbmount=/jffs/scripts/services-start
nvram commit
reboot
6. After reboot check if the cron jobs have been set up:
cru l
You should see these lines:
00 3 * * 0 /sbin/reboot #ScheduledReboot#
*/5 * * * * /jffs/scripts/check.sh #NoConnectionReboot#