oblique/create_ap

ERROR: Your adapter can not be a station (i.e. be connected) and an AP at the same time

Shabinder opened this issue · 1 comments

This error states that my Wireless Card doesnt support creating hotspot while being connected .Right?
But in Windows I am able to do the same without any issue .
even app in windows like Maryfi works which supposedly creates a wifi station (Hotspot) while being Connected.

my wireless card supports following Mode-
Supported interface modes:
* IBSS
* managed
* AP
* AP/VLAN
* monitor
* mesh point
* P2P-client
* P2P-GO

So can someone enlight me , where i am wrong or what i am missing?
Thanks in Advance.

What wireless device and Linux driver are you using?

Run iw phy | grep -iC3 combinations. If it doesn't show an interface combination that can do "managed" and "AP" simultaneously, then — from the perspective of your driver — your adapter cannot do both simultaneously.

$ iw phy | grep -iC3 combinations
        software interface modes (can always be added):
                 * AP/VLAN
                 * monitor
        valid interface combinations:
                 * #{ managed } <= 2, #{ AP, mesh point, P2P-client, P2P-GO } <= 2, #{ P2P-device } <= 1,
                   total <= 4, #channels <= 1
                 * #{ managed } <= 2, #{ P2P-client } <= 2, #{ AP, mesh point, P2P-GO } <= 1, #{ P2P-device } <= 1,