linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Beat Meier <mbe_ml@swiss-wireless.com.ar>
To: "linux-wireless@vger.kernel.org >> Linux Wireless List"
	<linux-wireless@vger.kernel.org>
Subject: Cannot use ap and sta mode on same interface with ath9k and kernel 3.8.13 :-(
Date: Fri, 16 Jan 2015 19:29:16 -0300	[thread overview]
Message-ID: <54B990BC.1060604@swiss-wireless.com.ar> (raw)

Hi

I'm using an WLM200NX card in master mode ath1 and want to do scanning
on the same interface.
I'm using ath9k on 3.8.13 kernel (voyage-linux)

So I setup an additional  interface in sta mode with
  iw phy phy1 interface add ath2 type managed
This works but the interface is not coming up.
I tried several things like
auto ath2
iface ath2 inet static
        address 10.58.1.1
        netmask 255.255.255.0
        wireless-mode Managed
        wpa-conf /etc/wpa_supplicant.conf.WPA-PSK

But wpa_spplicant comes with error:
  wpa_supplicant: /sbin/wpa_supplicant daemon failed to start
  run-parts: /etc/network/if-pre-up.d/wpasupplicant exited with return
code 1
  RTNETLINK answers: Name not unique on network
  Failed to bring up ath2.

I can setup monitor mode but I want to scan to see what other equipment
is on which channel ...

What's the problem? With ath9k I cannot use ap and sta mode together???

Thanks

Beat

             reply	other threads:[~2015-01-16 22:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-16 22:29 Beat Meier [this message]
2015-01-16 23:16 ` Cannot use ap and sta mode on same interface with ath9k and kernel 3.8.13 :-( Pat Erley
2015-01-16 23:43   ` Beat Meier
2015-01-17 20:26     ` Antonio Quartulli

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54B990BC.1060604@swiss-wireless.com.ar \
    --to=mbe_ml@swiss-wireless.com.ar \
    --cc=linux-wireless@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).