oblique / create_ap

[NOT MAINTAINED] This script creates a NATed or Bridged WiFi Access Point.
BSD 2-Clause "Simplified" License
4.41k stars 992 forks source link

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

Closed Shabinder closed 3 years ago

Shabinder commented 4 years ago

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:

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

dlenski commented 3 years ago

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,