Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Apr 2019 10:48:09 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 236962] Realtek RTL8111/8168/8411 erratically drops network connection
Message-ID:  <bug-236962-7501-qY6UTWS3E1@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-236962-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-236962-7501@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236962

Eugene Grosbein <eugen@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |eugen@freebsd.org

--- Comment #4 from Eugene Grosbein <eugen@freebsd.org> ---
(In reply to marcel from comment #3)

I was in exactly same position using cheap hoster's hardware and re0 watchd=
og
timeouts. There is simple work-around that may be acceptable if problem is
rare. Add single line to /etc/sysctl.conf:

kern.* |/root/bin/monitor_nic

Simple script /root/bin/monitor_nic just does what driver is supposed to do=
 in
such case: reset interface to revive it.

#!/bin/sh
PATH=3D/bin:/sbin:/usr/bin:/usr/sbin
while read month day time s host kernel rest
do
  case "$rest" in
  "re0: watchdog timeout")
    sleep 5
    ifconfig re0 down
    sleep 1
    ifconfig re0 up
    sleep 30
    ;;
  esac
done
# EOF

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-236962-7501-qY6UTWS3E1>