Wi-Fi not connecting

In FreeBSD I can't connect to the Wi-Fi even though the Wi-Fi card is detected. the Wi-Fi card is an Intel(R) Wi-Fi 6E AX211 160MHz. here is the dmesg output.

This is the error:
iwlwifi0: ERROR: lkpi_ic_scan_start: hw_scan returned -5
iwlwifi0: Scan failed! ret -5
 

Attachments

"iwlwifi0: RFIm is deactivated, reason = 4"

Does this computer have a wifi on/off switch that might be in the "off" position? Same question for a BIOS option.
 
Can this be responsible for FreeBSD? Any alternatives?


iwlwifi0: Scan failed! ret -5 iwlwifi0: ERROR: lkpi_ic_scan_start: hw_scan returned -5

It is repeated hundreds of times in the dmesg output. Probably just a symptom and not the cause:

Can you try before calling wpa_cli:
sysctl net.local.dgram.maxdgram=8192
 
I use the AX210 and had the same problem,and can't link to the internet,I tried several times when I commented ifconifg_wlan0_ipv6="inet6 accept_rtadv",it works and I don't know why,of course,my freebsd can't use ipv6.
 
Back
Top