Project

General

Profile

Bug #2806

failed to configure a link-local address on ath0 (errno = 22)

Added by Chingyuan over 2 years ago. Updated over 2 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Driver
Target version:
Start date:
03/15/2015
Due date:
% Done:

0%


Description

Hello,

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)

History

#1 Updated by lamaddox over 2 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_program="/usr/local/sbin/wpa_supplicant"
wpa_supplicant_flags="-B -c /etc/wpa_supplicant.conf"
wlans_ath0="wlan0"
ifconfig_wlan0="wpa dhcp"

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.

Also available in: Atom PDF