From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?iso-8859-1?Q?=22Lorna_Gonz=E1lez=22?= Date: Wed, 27 Oct 2010 16:29:56 +0200 Subject: [ath9k-devel] ath9k: Virtual interface as AP In-Reply-To: References: <20101027141144.36130@gmx.net> Message-ID: <20101027142956.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 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 > An: "Lorna Gonz?lez" > CC: ath9k-devel-request at lists.ath9k.org, ath9k-devel at lists.ath9k.org > Betreff: Re: [ath9k-devel] ath9k: Virtual interface as AP > 2010/10/27 "Lorna Gonz?lez" : > > > > 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 > > ath9k-devel at lists.ath9k.org > > 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