Project

General

Profile

Actions

Bug #2806

open

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

Added by Chingyuan almost 10 years ago. Updated over 3 years ago.

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

0%

Estimated time:

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)

Actions #1

Updated by lamaddox over 9 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.

Actions #2

Updated by tuxillo over 3 years ago

  • Target version changed from 4.0 to 6.0
Actions #3

Updated by daftaupe over 3 years ago

For what it's worth after 6 years, I found a laptop with such a Wireless adapter :

ath0@pci0:1:0:0:        class=0x028000 card=0x410e144d chip=0x0032168c rev=0x01 hdr=0x00
    vendor     = 'Qualcomm Atheros'
    device     = 'AR9485 Wireless Network Adapter'
    class      = network

It's working out of the box with the 6.0-RELEASE, but not with 5GHz networks (that was my mistake at the beginning).

The working rc.conf configuration is :

dhcpcd_enable="YES" 
ifconfig_wlan0="WPA" 

And for /etc/wpa_supplicant.conf I had to add the following lines

network={
        ssid="mynetwork" 
        scan_ssid=0
        psk="xxxx" 
        priority=5
}
Actions

Also available in: Atom PDF