wpa_supplicant to hostapd dynamically

Avinash Patil avinashapatil at gmail.com
Tue Apr 15 13:39:46 EDT 2014


Hi Drasko,

Well, I don't have any experience with DBus so cannot comment on that.

You can configure frequency,SSID, security configuration etc in network
block. Sample configuration for AP using wpa_supplicant would look like
this:

ctrl_interface=/var/run/wpa_supplicant

ap_scan=1

network={
        ssid="my_supp_network"
        key_mgmt=NONE
        mode=2
        frequency=2432
}


Thanks,

Avinash.
On Apr 15, 2014 11:02 PM, "Drasko DRASKOVIC" <drasko.draskovic at gmail.com>
wrote:

> Hi Avinash,
>
> On Tue, Apr 15, 2014 at 7:20 PM, Avinash Patil <avinashapatil at gmail.com>
> wrote:
> > Hi,
> >
> > WPA supplicant itself can be used to start AP daemon with network
> > configuration block having setting mode=2. Check if that suits your
> > requirement.
>
> Yes, this is exactly what I had I mind.
>
> What do you consider under "network configuration block"? I would have
> to pass to wpa_supplicant all the configuration for AP (channel,
> password, mode, type of encryption...). Would this be possible by
> D-Bus?
>
> BR,
> Drasko
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.shmoo.com/pipermail/hostap/attachments/20140415/36cc69d9/attachment.htm>


More information about the HostAP mailing list