All of lore.kernel.org
 help / color / mirror / Atom feed
From: "\"Lorna González\"" <lorna.glez@gmx.net>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] ath9k: Virtual interface as AP
Date: Wed, 27 Oct 2010 16:29:56 +0200	[thread overview]
Message-ID: <20101027142956.36100@gmx.net> (raw)
In-Reply-To: <AANLkTikL_TsT_rxQfP-we7ujuKV7E=D=phG3gsUfKOf=@mail.gmail.com>


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 <shafi.wireless@gmail.com>
> An: "Lorna Gonz?lez" <lorna.glez@gmx.net>
> 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" <lorna.glez@gmx.net>:
> >
> > 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

  reply	other threads:[~2010-10-27 14:29 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" [this message]
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
  -- 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=20101027142956.36100@gmx.net \
    --to=lorna.glez@gmx.net \
    --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.