jdd wrote:
Clayton a écrit :
This would be so much easier to trace down if it was a 100% dropout :-P
sure :-)
During some sort of ISP problem I had one year ago, I used a script to ping every minute and fill a log file with the time
you may do the same to see if the drop out is not more frequent than you may think.
here is the script, you can adapt it to your needs (my problem was the phone cable too old, didn't like rain...):
log=~/temp/monitoring_deco.log.txt
etat="init" while true; do connecter="oui" ping -c 1 google.fr 2>1 1>/dev/null || ping -c 1 mandriva.com 2>1 1>/dev/null || ping -c 1 ubuntu-fr.org 2>1 1>/dev/null || connecter="non" case "$etat" in init) if [ $connecter = "oui" ]; then etat="connecter" echo script démarré le $(date) en etat connecté >> $log else etat="deconnecter" echo script démarré le $(date) en etat deconnecté >> $log fi ;; connecter) if [ $connecter = "non" ]; then etat="deconnecter" echo connexion deconnecté le $(date) >> $log fi ;; deconnecter) if [ $connecter = "oui" ]; then etat="connecter" echo connexion connecté le $(date) >> $log fi ;; esac sleep 5 done
Here's my script that pings every minute and records the failure times (bogus IP address shown). #! /bin/sh while [ 1 ] do ping 111.222.333.444 -c 1 || date >> ~/log;sleep 60 done A bit simpler I think. ;-) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org