[Bug 264238] WiFi stops working after upgrade from 13.0 to 13.1, AR9285

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 03 Jun 2022 02:35:10 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264238

--- Comment #18 from Jaskie <jiangjun12321@yahoo.com> ---
So I have the same bssid in /etc/wpa_supplicant.conf, 

wlans_ath0="wlan0"
ifconfig_wlan0="WPA"

in /etc/rc.conf in both 13.0 and 13.1. Now I boot up 13.0 or 13.1 network is
down and I have to run dhclient wlan0 to connect.


I uploaded an attachment file. The two dmesg files are from fresh boot 13.0 and
13.1. Network was not working in both scenarios since DHCP was disabled.  


In 13.0, I boot up and run dhclient and then network is connected instantly

% doas service netif stop wlan0
% doas tcpdump -i wlan0 -w file_13.0_working.bfp -s 0
tcpdump: wlan0: No such device exists                                           
(BIOCSETIF failed: Device not configured)

So I had to

% doas service netif start wlan0
% doas tcpdump -i wlan0 -w file_13.0_working.bfp -s 0
% doas dhclient wlan0
DHCPREQUEST on wlan0 to 255.255.255.255 port 67
DHCPACK from 10.134.255.254
bound to 10.134.132.85 -- renewal in 3600 seconds.
% ping bing.com   # get ping backs
% Ctrl-C to stop tcpdump

File is uploaded as file_13.0_working.bfp in attatchment.

Then in fresh boot 13.1, network is down. 

% doas dhclient wlan0                                                           
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 13
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 15
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
% ping -c 3 bing                                                               
                       @9:54
ping: Unknown host

And from tcpdump I saw this:

# tcpdump -i wlan0 -w file_13.1_NOT_working2.bfp -s 0
tcpdump: listening on wlan0, link-type EN10MB (Ethernet), capture size 262144
bytes
12 packets captured
12 packets received by filter
0 packets dropped by kernel

Of course there is no active network. File is uploaded as
file_13.1_NOT_working.bfp.

I also tred /rescue/dhclient wlan0 same result, no network either. File is
uploaded as file_13.1_NOT_working2.bfp.

I hope this information helps.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.