Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Jul 2014 23:32:24 -0300
From:      Marcelo Gondim <gondim@bsdinfo.com.br>
To:        John Jasem <jjasen@gmail.com>, FreeBSD Net <freebsd-net@freebsd.org>
Subject:   Re: Network Intel X520-SR2 stopping
Message-ID:  <53C09E38.1020909@bsdinfo.com.br>
In-Reply-To: <53C0225D.7060608@gmail.com>
References:  <53C0225D.7060608@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Em 11/07/2014 14:43, John Jasem escreveu:
> Marcelo;
>
> I recently had a case where an Intel card was flapping, but using LR
> transceivers. Turns out, the cable ends needed to be re-polished, as not
> enough light was making it through to register transmit power.
>
> You and the networking people may want to spend a few moments exploring
> that path.
>
> -- John Jasen (jjasen@gmail.com)
Hi John,

In my case I had to create a script for ping test and if ping not 
respond then to do a down and up in interface.

#!/bin/sh
while true ; do
if ! ping -n -c 1 186.xxx.48.2; then
    if ! ping -n -c 1 186.xxx.61.2; then
       if ! ping -n -c 1 186.xxx.54.2; then
          if ! ping -n -c 1 177.xxx.240.253; then
             /sbin/ifconfig ix0 down
             /sbin/ifconfig ix0 up
             echo "`date`" >> /root/ix.log
             echo "`netstat -in|grep ix0|grep 1500`" >> /root/ix.log
          fi
       fi
    fi
fi
sleep 10
done



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53C09E38.1020909>