From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?iso-8859-1?Q?=22Lorna_Gonz=E1lez=22?= Date: Wed, 27 Oct 2010 18:32:59 +0200 Subject: [ath9k-devel] ath9k: Virtual interface as AP In-Reply-To: <1288191770.26265.50.camel@jm-desktop> References: <20101027141144.36130@gmx.net> <1288191770.26265.50.camel@jm-desktop> Message-ID: <20101027163259.36100@gmx.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org 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 -- GMX DSL Doppel-Flat ab 19,99 €/mtl.! Jetzt auch mit gratis Notebook-Flat! http://portal.gmx.net/de/go/dsl