[Bug 256494] KERNEL PANIC - WiFi - after hot spot is down FreeBSD restarts

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 09 Jun 2021 07:58:47 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256494

--- Comment #1 from vermaden_at_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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
Received on Wed Jun 09 2021 - 07:58:47 UTC

Original text of this message