From: jean-pierre cartal <jean-pierre.cartal@plugnsurf.fr>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] ath9k: Virtual interface as AP
Date: Thu, 28 Oct 2010 09:36:46 +0200 [thread overview]
Message-ID: <4CC9280E.5050306@plugnsurf.fr> (raw)
In-Reply-To: <20101027163259.36100@gmx.net>
Le 27/10/2010 18:32, "Lorna Gonz?lez" a ?crit :
> Hallo Jouni,
>
>
>>> Configuration file: hostapd.conf
>>> ioctl[SIOCGIFFLAGS]: No such device
>>> Could not read interface flags (wlan1)
>>> nl80211 driver initialization failed.
>> That sounds like you did not have wlan1 when starting hostapd..
>>
>>> interface=wlan1
>>> bss=wlan1
>> This is not a valid configuration. interface defines the main AP
>> interface and bss is a virtual, secondary interface that will be
>> created. As such, it must have a different interface name. I was
>> assuming that you are trying to use multiple AP interfaces, but that may
>> not be the case.
>>
>>> If I don?t add a new interface using iw, I wonder how the hostapd
>> creates it. And, in order to function as an AP I also need to configurate the
>> following a priori :
>>
>> hostapd does not create the main interface; it only configures the
>> secondary ones (bss=). What you seem to be trying to do (station + AP)
>> is not really supported that well currently. In theory, you would need
>> to create a new vif manually (e.g., with iw) and then run hostapd on one
>> of the interfaces. However, I would not give any guarantees on that
>> working correctly in all (or well, even most) cases.
>>
>> - Jouni
>>
> Your last comment explains exactly what I am trying to do: STA + AP interfaces on the same radio. That?s why I was setting first a second interface in master mode using iw, which works ok. But after initiated hostapd, other stations are not able to sense this virtual AP. I will try again, otherwise I will keep testing using wiphys.
>
> thanks again!!
>
> Lorna
>
>
Hi Lorna,
Try starting hostapd before the client side i.e. wpa_supplicant.
Regards.
next prev parent reply other threads:[~2010-10-28 7:36 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-27 14:11 [ath9k-devel] ath9k: Virtual interface as AP "Lorna González"
2010-10-27 14:24 ` Mohammed Shafi
2010-10-27 14:29 ` "Lorna González"
2010-10-27 14:42 ` Mohammed Shafi
2010-10-27 14:56 ` Peter Stuge
2010-10-27 15:02 ` Jouni Malinen
2010-10-27 16:32 ` "Lorna González"
2010-10-28 7:36 ` jean-pierre cartal [this message]
-- strict thread matches above, loose matches on Subject: below --
2010-10-31 21:48 "Lorna González"
2010-10-28 7:47 "Lorna González"
2010-10-28 8:03 ` Jouni Malinen
2010-11-11 15:06 ` "Lorna González"
2010-11-11 17:00 ` Ben Greear
2010-11-12 9:21 ` "Lorna González"
2010-11-12 17:22 ` Ben Greear
2010-10-27 11:11 "Lorna González"
2010-10-27 12:03 ` Jouni Malinen
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=4CC9280E.5050306@plugnsurf.fr \
--to=jean-pierre.cartal@plugnsurf.fr \
--cc=ath9k-devel@lists.ath9k.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.