Bug 256255

Summary: Atheros AR9462 not recognised in bsdconfig
Product: Base System Reporter: Daniel Cervus <danielthedeer>
Component: binAssignee: freebsd-wireless (Nobody) <wireless>
Status: New ---    
Severity: Affects Only Me CC: tduck973564
Priority: ---    
Version: 12.2-RELEASE   
Hardware: amd64   
OS: Any   

Description Daniel Cervus 2021-05-30 09:35:10 UTC
I'm using AR9462 in FreeBSD 12.2-RELEASE-p7. It was correctly recognized by dmesg, and connected to Internet properly (although "ath0: ath_edma_recv_tasklet: sc_inreset_cnt > 0; skipping" displaying frequently). But bsdconfig will show as "unknown network interface type" and could not scan any Wi-Fi and select any mode in "network options".

What's more, it was correctly recognized in bsd installer and bsdconfig in the first few times after installing. And Wi-Fis was scanned successfully. I didn't touch anything except bsdconfig and updated to p6 after that! (p7 will not solve as well)
Comment 1 tduck973564 2021-06-08 13:44:40 UTC
Similar issue here, with my ar938x on FreeBSD 13 release, I can’t associate to a carrier but I can scan and everything else works fine, a temporary fix that worked for me was to do `ifconfig wlan0 down`, wait 10 seconds, `ifconfig wlan0 up`, wait another 10 seconds then you will be connected.
Comment 2 tduck973564 2021-06-08 13:46:00 UTC
(In reply to tduck973564 from comment #1)
Talked to a bsdconfig dev, wlan0 not being recognised in it is a different issue and he said that he will get onto it.
Comment 3 tduck973564 2021-06-09 06:35:30 UTC
Found a much more permanent fix:

`sudo sh -c "echo 'ifconfig wlan0 down && ifconfig wlan0 up' >> /etc/rc.local"`