networking: asus rt-n66u automatic reboot

I'm using the RT-N66U only as an Access Point as I have a dedicated PF-Sense box as my main Router/Switch.

The access point get terribly slow, so I have to manually reboot it. (I read this routed have some problem with NVRAM (Not sure what it is) but the problem is solved upon reboot).

That's why I created a Script for it to automatically reboot every.

The process is the following:

  1. Telnet to the Router (You have to enable Telnet from the web Interface)

2. Create a Script on the following path:

/jffs/scripts/services-start

3. Inside the File add the following Script

#!/bin/sh
/usr/sbin/cru a ScheduledReboot "0 6 * * * reboot"

Change Permissions
chmod a+rx /jffs/scripts/services-start

Commit 
jffs/scripts/services-start

 

**** ISSUE ****

The Cron Job gets deleted upon reboot. It is an apparent Firware Version, as apparently I have to enable JFFS for the process to be able, but on my firmware that is not available.

Will consider flashing DD-WRT instead of the ASUS firmware...

Leave a Reply

Your email address will not be published. Required fields are marked *