mix AP and wireless client

Erich Titl erich.titl
Thu Jan 15 05:27:57 PST 2015

Hi Harm

Am 15.01.2015 um 14:15 schrieb Harm Verhagen:
> Hi,
> I'm looking for a way to have simultaneously  an AP and a wireless
> client with a _single_ wifi device.
> I am able to start multiple SSIDs with hostapd, following [1]. This
> works perfectly. I can connect to each SSID. (tested with 4 SSIDS)
> This gave me the idea, that if hostapd can create 'new' wlan devices. I
> (hopefully) can configure the 2nd  wlan0_0 device as a wifi client.
> Usecase: For a device thats
> 1) sometimes, when near an AP it needs internet acces for itself (hence
> the required 'client' functionality)
> 2) needs to be connected to some other devices, that are only wifi
> clients. (these devices don't needs to access internet, only direct
> access to my device).
> I tried letting hostapd create the 2nd interface(wlan0_0)  by just
> adding bss=wlan0_0  to my hostapd config file.  It does create the
> device, but trying to 'ifup' that as a client (no security yet)  fails.
> Anyone have any clues how to achieve this ?

I am working on such an implementation, although using two discrete
radioes in one box. The hardware is a PCEngines Alix board.


Erich Titl

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1908 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.shmoo.com/pipermail/hostap/attachments/20150115/4f321f1d/attachment.bin>

More information about the Hostap mailing list