← Back to team overview

desktop-packages team mailing list archive

[Bug 1360204] Re: wpa_supplicant unable to authenticate on second virtual interface

 

did you ever reach a solution / workaround?

I'm seeing the same issue with ath9k_htc

possibly a driver issue?

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to wpasupplicant in Ubuntu.
https://bugs.launchpad.net/bugs/1360204

Title:
  wpa_supplicant unable to authenticate on second virtual interface

Status in wpasupplicant package in Ubuntu:
  New

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://archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
          100 /var/lib/dpkg/status

  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,btusb,rfcomm
  ath9k                 164164  0
  ath9k_common           13551  1 ath9k
  ath9k_hw              453856  2 ath9k_common,ath9k
  ath                    28698  3 ath9k_common,ath9k,ath9k_hw
  mac80211              630653  1 ath9k
  cfg80211              484040  3 ath,ath9k,mac80211

  0/~> cat /etc/modprobe.d/ath9k.conf
  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.conf` content:

  ~~~
  network={
      ssid="SeekurJr1"
      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.conf` content:

  ~~~
  network={
      ssid="SeekurJr2"
      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=ForceAuthorized
  nl80211: Authenticate (ifindex=4)
    * bssid=00:80:48:71:19:18
    * freq=2422
    * SSID - hexdump_ascii(len=9):
       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'@0xd951b0 done in 0.000293 seconds
  ~~~

  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://www.candelatech.com/vsta.php

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/wpasupplicant/+bug/1360204/+subscriptions