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

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 18 Jun 2022 14:40:07 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264238

--- Comment #93 from Jaskie <jiangjun12321@gmail.com> ---
(In reply to Cy Schubert from comment #92)

Yes, I have the line in /etc/rc.conf:

# grep wlan0 /etc/rc.conf
wlans_ath0="wlan0"
ifconfig_wlan0="WPA SYNCDHCP"
#ifconfig_wlan0="WPA DHCP"

I tried both SYNCDHCP and DHCP, neither worked.

After service netif start I check with ps -aux and made sure wpa and dhclient
was running automatically, but still no IP was assigned to wlan0 as shown by
ifconfig though it reported wlan0 as associated. If I kill dhclient and ran it
manually, I got the same output as before:

# killall dhclient
# dhclient wlan0
DHCPREQUEST on wlan0 to 255.255.255.255 port 67
DHCPREQUEST on wlan0 to 255.255.255.255 port 67
DHCPREQUEST on wlan0 to 255.255.255.255 port 67
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 13
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 19
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 4
No DHCPOFFERS received.
Trying recorded lease 10.134.140.105
No working leases in persistent database - sleeping.

On the other hand, network is up and fine with wpa from 13.0 with either DHCP
or SYNCDHCP as soon as I run service netif start, no need to kill and run
dhclient by myself.

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