Skip to contentSkip to conversation

ath9k: Virtual interface as AP

ath9k-devel Lorna González 2 participants 2 messages Oct 27, 2010

lore
Share & tools
lore
#0 lore raw

Hello,

I am trying to build a virtual interface (not wiphy) operating in master mode using hostapd. Using wiphys (echo > add ...wiphy) I am able to configurate a wiphy as station and another one as AP. It works perfectly but by setting the AP creating a new interface as:

iw phy phy0 interface add wlan1 type master

and changing its MAC Adress, it does not work. Other stations can not find this virtual AP.

Can anyone tell me if I need extra configurations?

Thanks in advanced

Lorna Glez.

Signature · 2 lines
GMX DSL Doppel-Flat ab 19,99 €/mtl.! Jetzt auch mit 
gratis Notebook-Flat! http://portal.gmx.net/de/go/dsl
#1 lore raw
Quoted 5 lines · Lorna Gonz?lez

I am trying to build a virtual interface (not wiphy) operating in master mode using hostapd. Using wiphys (echo > add ...wiphy) I am able to configurate a wiphy as station and another one as AP. It works perfectly but by setting the AP creating a new interface as:

iw phy phy0 interface add wlan1 type master

and changing its MAC Adress, it does not work. Other stations can not find this virtual AP.

I would recommend using hostapd to add/remove those interfaces, i.e., do not use iw manually, but add new bss=<ifname> entries to the end of hostapd.conf.

- Jouni