Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 Jun 2021 07:58:47 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 256494] KERNEL PANIC - WiFi - after hot spot is down FreeBSD restarts
Message-ID:  <bug-256494-227-IZWy3Z1V0f@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-256494-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-256494-227@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=3D256494

--- Comment #1 from vermaden@interia.pl ---
I forgot to add that I also check every minute if I have Internet connection
and if not I try to reconnect in a crontab(5) job.



% crontab -l | grep -C 1 WIFI
---------------------------------------------------------------------------=
----

# WIFI RESTART
  *     *     * * * ~/scripts/network-ping.sh 1> /dev/null 2> /dev/null
---------------------------------------------------------------------------=
----



# cat ~/scripts/network-ping.sh
---------------------------------------------------------------------------=
----%
#! /bin/sh

# WAIT 5 SECONDS WITH -t OPTION
if ! ping -c 1 -s 0 -t 5 -q 1.1.1.1 1> /dev/null 2> /dev/null
then
  ~/scripts/network.sh wlan start vermore
else
  exit 0
fi

~/scripts/network-ping.sh
---------------------------------------------------------------------------=
----



The *network.sh* is quite longer and its available here:
https://github.com/vermaden/network



I am not sure that this changes anything but wanted to be specific.



Regards.

--=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-256494-227-IZWy3Z1V0f>