failed to configure a link-local address on ath0 (errno = 22)
My Laptop's wireless device is "Qualcomm Atheros AR9485 rev 01".
Athought DFB can detect it, it can not be initialized.
The error message as follows :
#ifconfig ath0 up
ath0: _ath_power_restore_power_state : refcnt=0?
kernel : in6_ifattach_linklocal : failed to configure a link-local address on ath0 (errno = 22)
Updated by lamaddox over 4 years ago
I had some trouble configuring my ath0 device, as well. The DFLY docs are a little outdated, and there are some discrepancies here and there. You'll find the FreeBSD docs mildly helpful.
I'm running a Qualcomm Atheros AR9565.
To get mine working, I installed wpa_supplicant from ports, and appended some things to my /etc/rc.conf:
wpa_supplicant_flags="-B -c /etc/wpa_supplicant.conf"
Note that I am not doing any sort of ifconfig_ath0. Don't forget to edit your /etc/wpa_supplicant.conf for your wifi networks. Currently, I have tested connecting to open and wpa2 networks.
Please modify your /etc/rc.conf (or manually execute the necessary commands) and then execute `service netif restart`. Then verify that you are still having connection issues.