Date: Thu, 08 Feb 2024 15:03:28 +0000 From: bugzilla-noreply@freebsd.org To: wireless@FreeBSD.org Subject: [Bug 276562] iwlwifi: connection issues and causes reboot Message-ID: <bug-276562-21060-WxwJvovPeP@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-276562-21060@https.bugs.freebsd.org/bugzilla/> References: <bug-276562-21060@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=3D276562 Cheng Cui <cc@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |cc@FreeBSD.org --- Comment #9 from Cheng Cui <cc@FreeBSD.org> --- (In reply to Chris Hutchinson from comment #8) Hi Chris, I used the following script to workaround the `service netif restart` panic. Hope you will find help. #!/bin/sh NUM_INPUT=3D$# display_usage() { echo "This script only supports two input arguments." echo -e "\nUsage:\n$0 <mode> <channel>\n" } # check whether user had supplied -h or --help. If yes display usage if [ "$1" =3D "help" -o "$1" =3D "-h" ]; then display_usage exit 0 fi # if other than two arguments supplied, display usage if [ $NUM_INPUT -ne 2 ]; then display_usage exit 1 fi MOD=3D$1 CHN=3D$2 echo "working on bring up the wlan0 and testing 802.$MOD channel $CHN" kldunload if_iwlwifi && sleep 1 kldload if_iwlwifi && sleep 1 if [ "$MOD" =3D "11b" -o "$MOD" =3D "11g" ]; then wpa_passphrase "SSID" "****" > /etc/wpa_supplicant.conf ifconfig wlan0 create wlandev iwlwifi0 regdomain fcc country US ssid SSID mode $MOD channel $CHN elif [ "$MOD" =3D "11a" ]; then wpa_passphrase "SSID" "****" > /etc/wpa_supplicant.conf ifconfig wlan0 create wlandev iwlwifi0 regdomain fcc country US ssid SSID mode $MOD channel $CHN fi sleep 1 ifconfig wlan0 up && sleep 1 ifconfig wlan0 scan && sleep 1 wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.conf && sleep 2 dhclient wlan0 && sleep 2 echo "test done!" --=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-276562-21060-WxwJvovPeP>