Yeah, it may very well be AIprotection. I turn that stuff right away. I've had issues in the past with my old AC86U having an unresponsive UI, and I think what fixed it was disabling all the AIprotection crap, and really reducing the number of unnecessary scripts.
Put a cron job to see if the web server is working. Will monitor logs to see if it ever is caught stopped. Next step - will replace the echo message with reboot
Code:
# grep web post-mount
cru a webhealth "*/5 * * * * /jffs/scripts/web_health | /usr/bin/logger -t web_interface"
# cat web_health
#!/bin/sh
mkdir /tmp/web000 > /dev/null 2>&1
cd /tmp/web000 > /dev/null 2>&1
rm -fr Main_Login.asp > /dev/null 2>&1
wget localhost/Main_Login.asp > /dev/null 2>&1
if [ ! -f "Main_Login.asp" ]; then
touch timestamp.dead
echo "no"
else
touch timestamp.alive
fi
Update: something screwy with the logger, messages don't go to "messages" file. Added timestamps just to be sure.
Last edited: