wpa_supplicant unable to authenticate on second virtual interface
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
wpasupplicant (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
0/~> lsb_release -rd
Description: Ubuntu 14.04.1 LTS
Release: 14.04
0/~> apt-cache policy wpasupplicant
wpasupplicant:
Installed: 2.1-0ubuntu1
Candidate: 2.1-0ubuntu1
Version table:
*** 2.1-0ubuntu1 0
500 http://
100 /var/lib/
0/~> lspci
02:00.0 Network controller: Qualcomm Atheros AR9485 Wireless Network Adapter (rev 01)
0/~> uname -a
Linux kpykc 3.13.0-34-generic #60-Ubuntu SMP Wed Aug 13 15:45:27 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
0/~> lsmod | grep ath
ath3k 13318 0
bluetooth 391196 23 bnep,ath3k,
ath9k 164164 0
ath9k_common 13551 1 ath9k
ath9k_hw 453856 2 ath9k_common,ath9k
ath 28698 3 ath9k_common,
mac80211 630653 1 ath9k
cfg80211 484040 3 ath,ath9k,mac80211
0/~> cat /etc/modprobe.
options ath9k nohwcrypt=1
0/~> sudo service network-manager stop
0/~> sudo iw dev wlan0 interface add wlan1 type station
or
0/~> sudo iw dev wlan0 interface add wlan1 type managed
`systemd-udev` changes vif name to **rename4**.
0/~> sudo ip link set dev rename4 down
0/~> sudo ip link set dev rename4 address 02:aa:aa:aa:aa:aa
0/~> sudo ip link set dev rename4 up
For 1st VIF `wpa_seekurjr1.
~~~
network={
ssid=
key_mgmt=NONE
}
~~~
Run wpa_supplicant:
sudo wpa_supplicant -Dnl80211 -iwlan0 -c wpa_seekurjr1.conf
sudo dhclient -r wlan0
sudo dhclient wlan0
For second VIF `wpa_seekurjr2.
~~~
network={
ssid=
key_mgmt=NONE
}
~~~
Run wpa_supplicant:
sudo wpa_supplicant -Dnl80211 -irename4 -c wpa_seekurjr2.conf
sudo dhclient -r rename4
sudo dhclient rename4
Independently which interface I'm starting first, second one fails:
nl80211: MLME command failed (auth): ret=-16 (Device or resource busy)
~~~
rename4: SME: Trying to authenticate with 00:80:48:71:19:18 (SSID='SeekurJr2' freq=2422 MHz)
rename4: State: SCANNING -> AUTHENTICATING
EAPOL: External notification - EAP success=0
EAPOL: External notification - EAP fail=0
EAPOL: External notification - portControl=
nl80211: Authenticate (ifindex=4)
* bssid=00:
* freq=2422
* SSID - hexdump_
53 65 65 6b 75 72 4a 72 32 SeekurJr2
* IEs - hexdump(len=0): [NULL]
* Auth Type 0
rename4: nl80211: MLME command failed (auth): ret=-16 (Device or resource busy)
rename4: SME: Authentication request to the driver failed
rename4: Radio work 'sme-connect'
~~~
I expect that virtual interfaces on Atheros AR9485 are working and I will be able to connect to 2 wifi APs simultaneously, e.g.
http://
description: | updated |
description: | updated |
did you ever reach a solution / workaround?
I'm seeing the same issue with ath9k_htc
possibly a driver issue?