Hi Mr. Shafi, I am using wlan0 as a station interface but yes, I already tried to use it as AP and wlan1 as station but acording to # hostapd will generate BSSID mask based on the BSSIDs that are # configured. hostapd will verify that dev_addr & MASK == dev_addr.
hostapd changed the BSSID without succesfull. So it does not work either. Thanks -------- Original-Nachricht -------- > Datum: Wed, 27 Oct 2010 19:54:39 +0530 > Von: Mohammed Shafi <[email protected]> > An: "Lorna González" <[email protected]> > CC: [email protected], [email protected] > Betreff: Re: [ath9k-devel] ath9k: Virtual interface as AP > 2010/10/27 "Lorna González" <[email protected]>: > > > > Thanks Mr. Malinen for your reply. I tried to add my interface using > hostapd but I get following: > > > > Configuration file: hostapd.conf > > ioctl[SIOCGIFFLAGS]: No such device > > Could not read interface flags (wlan1) > > nl80211 driver initialization failed. > > wlan1: Unable to setup interface. > > Segmentation fault > Hi have you checked whether the interface-wlan1 is not correct may be > wlan0 or something else ? > > > > My hostapd.conf looks like: > > > > interface=wlan1 > > driver=nl80211 > > bridge=br0 > > hw_mode=g > > channel=5 > > ssid=VirtualAP > > auth_algs=1 > > bss=wlan1 > > #bssid=00:22:43:21:82:ad > > > > 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 : > > > > 1.Assign IP > > sudo ifconfig wlan1 192.168.1.1 > > > > 2.Enable forwarding > > > > 3.Eenable masquerading > > > > By using wiphys this is normally not a problem since I add a wiphy > before initiating hostapd. > > > > > > > > Thanks for your response > > > > Lorna Glenz. > > > > > > > > > > -- > > GRATIS! Movie-FLAT mit über 300 Videos. > > Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome > > _______________________________________________ > > ath9k-devel mailing list > > [email protected] > > https://lists.ath9k.org/mailman/listinfo/ath9k-devel > > -- Neu: GMX De-Mail - Einfach wie E-Mail, sicher wie ein Brief! Jetzt De-Mail-Adresse reservieren: http://portal.gmx.net/de/go/demail _______________________________________________ ath9k-devel mailing list [email protected] https://lists.ath9k.org/mailman/listinfo/ath9k-devel
