Login  Register

Re: More improvements and bugfixes for the shield

Posted by Turrican on Nov 07, 2016; 3:20pm
URL: https://itus.accessinnov.com/More-improvements-and-bugfixes-for-the-shield-tp1228p1244.html

spoke too soon.  Lost internet today again at the same time!

Mon 7 Nov 14:24:28 GMT 2016 Internet UP
Mon 7 Nov 14:25:18 GMT 2016 Internet DOWN
Mon 7 Nov 14:25:49 GMT 2016 Internet UP

Seems like it was fine over the weekend.  I've checked my Virgin Media router (in Bridge, Modem-Only mode) and there is no connectivity loss.  Also checked my router which is plugged into my Shield, nothing odd in the logs and internet connetion shows its been up since 5th Nov (last time I rebooted it).

I guess the Ultimate test will be to remove the Sheild from the circuit and see if it happens tomorrow but I'm fairly sure at this point its the shield, question is why that time?  There's nothing scheduled at that time in CRON and system time is accurate:

# daily at 03:01 - Clear Logs
1 3 * * * > /tmp/snort/alert.fast
# daily at 02:00 - upgrade IPS rules
0 1 * * * sh /sbin/fw_upgrade
# daily at 00:00 - sync clock
0 0 * * * /usr/sbin/ntpclient -s -p 123 -h 0.us.pool.ntp.org || /etc/init.d/ntpclient restart

Any ideas gratefully received

Log attached, again :)

Shield_Sys_Log.txt

This is my script I'm using to test the Internet is up/down

#!/bin/bash

while true
do
    wget -q --tries=10 --timeout=20 -O - http://google.com > /dev/null
    if [[ $? -eq 0 ]]; then
        echo $(date) "Internet UP" | tee -a log.csv
    else
        echo $(date) "Internet DOWN" | tee -a log.csv
    fi
    sleep 30
done
Running v2 Firmware