sensepost/hostapd-mana

Multiple BSS with Hostapd

johndoesenior opened this issue · 3 comments

I used hostapd-mana 2.3 on my old ubuntu version.
Now working with hostapd 2.6 over ubuntu 18 and kernel 4.14 I can't create more than one AP

My wireless card supports up to 8 APs, i don't get any errors, but I can see that my iface wlan0_0 is down, when trying to "up" it says "device busy".

Result is: only one AP is shown in wifi list on my pc/mobile.

Any thoughts?

Logs:
Running hostapd:

Configuration file: /etc/hostapd/hostapd.conf
Using interface wlan13 with hwaddr 02:c0:XX:XX:XX:X0 and ssid "TEST"
Using interface wlan13_0 with hwaddr 02:c0:XX:XX:XX:X1 and ssid "TEST2"
wlan13: interface state UNINITIALIZED->ENABLED
wlan13: AP-ENABLED 

Running hostapd -d:

random: Trying to read entropy from /dev/random
Configuration file: /etc/hostapd/hostapd.conf
ctrl_interface_group=0
nl80211: Supported cipher 00-0f-ac:1
nl80211: Supported cipher 00-0f-ac:5
nl80211: Supported cipher 00-0f-ac:2
nl80211: Supported cipher 00-0f-ac:4
nl80211: Supported cipher 00-0f-ac:10
nl80211: Supported cipher 00-0f-ac:8
nl80211: Supported cipher 00-0f-ac:9
nl80211: Using driver-based off-channel TX
nl80211: Driver-advertised extended capabilities (default) - hexdump(len=8): 00 00 00 00 00 00 00 40
nl80211: Driver-advertised extended capabilities mask (default) - hexdump(len=8): 00 00 00 00 00 00 00 40
nl80211: interface wlan13 in phy phy0
nl80211: Set mode ifindex 3 iftype 3 (AP)
nl80211: Setup AP(wlan13) - device_ap_sme=0 use_monitor=0
nl80211: Subscribe to mgmt frames with AP handle 0x4db3c0
nl80211: Register frame type=0xb0 (WLAN_FC_STYPE_AUTH) nl_handle=0x4db3c0 match=
nl80211: Register frame type=0x0 (WLAN_FC_STYPE_ASSOC_REQ) nl_handle=0x4db3c0 match=
nl80211: Register frame type=0x20 (WLAN_FC_STYPE_REASSOC_REQ) nl_handle=0x4db3c0 match=
nl80211: Register frame type=0xa0 (WLAN_FC_STYPE_DISASSOC) nl_handle=0x4db3c0 match=
nl80211: Register frame type=0xc0 (WLAN_FC_STYPE_DEAUTH) nl_handle=0x4db3c0 match=
nl80211: Register frame type=0x40 (WLAN_FC_STYPE_PROBE_REQ) nl_handle=0x4db3c0 match=
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x4db3c0 match=04
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x4db3c0 match=0501
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x4db3c0 match=0504
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x4db3c0 match=06
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x4db3c0 match=08
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x4db3c0 match=09
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x4db3c0 match=0a
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x4db3c0 match=11
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x4db3c0 match=7f
rfkill: initial event: idx=0 type=1 op=0 soft=0 hard=0
nl80211: Add own interface ifindex 3 (ifidx_reason -1)
nl80211: if_indices[16]: 3(-1)
phy: phy0
BSS count 2, BSSID mask ff:ff:ff:ff:ff:fe (1 bits)
nl80211: Regulatory information - country=00
nl80211: 2402-2482 @ 40 MHz 30 mBm
nl80211: 2474-2494 @ 20 MHz 30 mBm
nl80211: 4910-4990 @ 40 MHz 30 mBm
nl80211: 5030-5090 @ 40 MHz 30 mBm
nl80211: 5170-5250 @ 80 MHz 30 mBm
nl80211: 5250-5330 @ 80 MHz 30 mBm
nl80211: 5490-5710 @ 160 MHz 30 mBm
nl80211: 5580-5825 @ 80 MHz 30 mBm
nl80211: Added 802.11b mode based on 802.11g information
Completing interface initialization
Mode: IEEE 802.11g  Channel: 8  Frequency: 2447 MHz
DFS 0 channels required radar detection
nl80211: Set freq 2447 (ht_enabled=0, vht_enabled=0, bandwidth=20 MHz, cf1=2447 MHz, cf2=0 MHz)
  * freq=2447
  * vht_enabled=0
  * ht_enabled=0
  * channel_type=0
RATE[0] rate=10 flags=0x1
RATE[1] rate=20 flags=0x1
RATE[2] rate=55 flags=0x1
RATE[3] rate=110 flags=0x1
RATE[4] rate=60 flags=0x0
RATE[5] rate=90 flags=0x0
RATE[6] rate=120 flags=0x0
RATE[7] rate=180 flags=0x0
RATE[8] rate=240 flags=0x0
RATE[9] rate=360 flags=0x0
RATE[10] rate=480 flags=0x0
RATE[11] rate=540 flags=0x0
hostapd_setup_bss(hapd=0x4d78c8 (wlan13), first=1)
wlan13: Flushing old station entries
nl80211: flush -> DEL_STATION wlan13 (all)
wlan13: Deauthenticate all stations
nl80211: send_mlme - da= ff:ff:ff:ff:ff:ff noack=0 freq=0 no_cck=0 offchanok=0 wait_time=0 fc=0xc0 (WLAN_FC_STYPE_DEAUTH) nlmode=3
nl80211: send_mlme -> send_frame
nl80211: send_frame - Use bss->freq=2447
nl80211: send_frame -> send_frame_cmd
nl80211: Frame command failed: ret=-16 (Device or resource busy) (freq=2447 wait=0)
wpa_driver_nl80211_set_key: ifindex=3 (wlan13) alg=0 addr=(nil) key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=3 (wlan13) alg=0 addr=(nil) key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=3 (wlan13) alg=0 addr=(nil) key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=3 (wlan13) alg=0 addr=(nil) key_idx=3 set_tx=0 seq_len=0 key_len=0
Using interface wlan13 with hwaddr 00:c0:ca:8f:d3:72 and ssid "TEST"
Deriving WPA PSK based on passphrase
SSID - hexdump_ascii(len=7):
     54 45 53 54 31 39 41                              TEST        
PSK (ASCII passphrase) - hexdump_ascii(len=10):
     61 61 62 62 33 32 37 31 31 39                     aabb327119      
PSK (from passphrase) - hexdump(len=32): 0a a7 5b c9 30 f8 e9 d4 fa d4 41 fb cd 5e 03 53 34 28 29 f5 b6 6e b1 e4 90 82 92 c2 0d 90 c4 cc
random: Got 20/20 bytes from /dev/random
GMK - hexdump(len=32): f1 0d 8f 46 4d 93 95 cf 72 ce fb 17 3d 0f e2 68 50 0f 9d 0c f9 f2 e1 16 c9 a3 8c 97 53 bd a6 89
Key Counter - hexdump(len=32): cc 26 a0 be f3 22 ff 2b ae d9 d3 61 82 29 37 9c 14 34 87 39 f8 f8 f5 1e c7 63 8d 42 98 6e f6 3a
WPA: Delay group state machine start until Beacon frames have been configured
nl80211: Set beacon (beacon_set=0)
nl80211: Beacon head - hexdump(len=58): 80 00 00 00 ff ff ff ff ff ff 00 c0 ca 8f d3 72 00 c0 ca 8f d3 72 00 00 00 00 00 00 00 00 00 00 64 00 11 04 00 07 54 45 53 54 31 39 41 01 08 82 84 8b 96 0c 12 18 24 03 01 08
nl80211: Beacon tail - hexdump(len=67): 2a 01 04 32 04 30 48 60 6c 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 0c 00 7f 08 00 00 00 00 00 00 00 40 dd 18 00 50 f2 02 01 01 00 00 03 a4 00 00 27 a4 00 00 42 43 5e 00 62 32 2f 00
nl80211: ifindex=3
nl80211: beacon_int=100
nl80211: dtim_period=2
nl80211: ssid - hexdump_ascii(len=7):
     54 45 53 54 31 39 41                              TEST2   
  * beacon_int=100
  * dtim_period=2
nl80211: hidden SSID not in use
nl80211: privacy=1
nl80211: auth_algs=0x3
nl80211: wpa_version=0x2
nl80211: key_mgmt_suites=0x2
nl80211: pairwise_ciphers=0x10
nl80211: group_cipher=0x10
nl80211: beacon_ies - hexdump(len=10): 7f 08 00 00 00 00 00 00 00 40
nl80211: proberesp_ies - hexdump(len=10): 7f 08 00 00 00 00 00 00 00 40
nl80211: assocresp_ies - hexdump(len=10): 7f 08 00 00 00 00 00 00 00 40
WPA: Start group state machine to set initial keys
WPA: group state machine entering state GTK_INIT (VLAN-ID 0)
GTK - hexdump(len=16): 03 4e 09 e8 75 20 d5 6e 2c 3e 13 0d f2 04 39 49
WPA: group state machine entering state SETKEYSDONE (VLAN-ID 0)
wpa_driver_nl80211_set_key: ifindex=3 (wlan13) alg=3 addr=0x49134c key_idx=1 set_tx=1 seq_len=0 key_len=16
nl80211: KEY_DATA - hexdump(len=16): 03 4e 09 e8 75 20 d5 6e 2c 3e 13 0d f2 04 39 49
   broadcast key
nl80211: Set wlan13 operstate 0->1 (UP)
netlink: Operstate: ifindex=3 linkmode=-1 (no change), operstate=6 (IF_OPER_UP)
hostapd_setup_bss(hapd=0x4d7f20 (wlan13_0), first=0)
nl80211: Create interface iftype 3 (AP)
nl80211: Ignored event (cmd=7) for foreign interface (ifindex 6 wdev 0x0)
nl80211: New interface wlan13_0 created: ifindex=6
nl80211: Add own interface ifindex 6 (ifidx_reason -1)
nl80211: if_indices[16]: 3(-1) 6(-1)
nl80211: Setup AP(wlan13_0) - device_ap_sme=0 use_monitor=0
nl80211: Subscribe to mgmt frames with AP handle 0x4dc780
nl80211: Register frame type=0xb0 (WLAN_FC_STYPE_AUTH) nl_handle=0x4dc780 match=
nl80211: Register frame type=0x0 (WLAN_FC_STYPE_ASSOC_REQ) nl_handle=0x4dc780 match=
nl80211: Register frame type=0x20 (WLAN_FC_STYPE_REASSOC_REQ) nl_handle=0x4dc780 match=
nl80211: Register frame type=0xa0 (WLAN_FC_STYPE_DISASSOC) nl_handle=0x4dc780 match=
nl80211: Register frame type=0xc0 (WLAN_FC_STYPE_DEAUTH) nl_handle=0x4dc780 match=
nl80211: Register frame type=0x40 (WLAN_FC_STYPE_PROBE_REQ) nl_handle=0x4dc780 match=
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x4dc780 match=04
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x4dc780 match=0501
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x4dc780 match=0504
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x4dc780 match=06
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x4dc780 match=08
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x4dc780 match=09
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x4dc780 match=0a
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x4dc780 match=11
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x4dc780 match=7f
nl80211: Add own interface ifindex 6 (ifidx_reason -1)
nl80211: ifindex 6 already in the list
wlan13_0: Flushing old station entries
nl80211: flush -> DEL_STATION wlan13_0 (all)
wlan13_0: Deauthenticate all stations
nl80211: send_mlme - da= ff:ff:ff:ff:ff:ff noack=0 freq=0 no_cck=0 offchanok=0 wait_time=0 fc=0xc0 (WLAN_FC_STYPE_DEAUTH) nlmode=3
nl80211: send_mlme -> send_frame
nl80211: send_frame - Use bss->freq=2447
nl80211: send_frame -> send_frame_cmd
nl80211: Frame command failed: ret=-16 (Device or resource busy) (freq=2447 wait=0)
wpa_driver_nl80211_set_key: ifindex=6 (wlan13_0) alg=0 addr=(nil) key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=6 (wlan13_0) alg=0 addr=(nil) key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=6 (wlan13_0) alg=0 addr=(nil) key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=6 (wlan13_0) alg=0 addr=(nil) key_idx=3 set_tx=0 seq_len=0 key_len=0
Using interface wlan13_0 with hwaddr 00:c0:ca:8f:d3:73 and ssid "TEST2"
Deriving WPA PSK based on passphrase
SSID - hexdump_ascii(len=8):
     54 45 53 54 31 39 41 30                           TEST2       
PSK (ASCII passphrase) - hexdump_ascii(len=10):
     30 30 30 30 33 32 37 31 31 39                     0000327119      
PSK (from passphrase) - hexdump(len=32): 76 11 79 f3 f2 5b 2b 4d 40 7b 8b e9 76 5c f5 70 1e 50 3e aa 19 f3 1a c6 37 d6 de d2 1a 72 64 16
GMK - hexdump(len=32): e4 f0 92 e1 7c 7a 5b cb 8f eb 12 08 51 93 e8 8b ca 73 ea e8 a0 47 f0 d8 a9 45 c2 6b 6f 9c cb 67
Key Counter - hexdump(len=32): 23 ee 49 23 bf 4d 5f 53 62 71 a7 9a 32 c2 ec 8f 31 f4 77 55 70 f7 4c 3d a7 7c 5a 2f 21 88 ea 6c
WPA: Delay group state machine start until Beacon frames have been configured
nl80211: Set beacon (beacon_set=0)
nl80211: Beacon head - hexdump(len=59): 80 00 00 00 ff ff ff ff ff ff 00 c0 ca 8f d3 73 00 c0 ca 8f d3 73 00 00 00 00 00 00 00 00 00 00 64 00 11 04 00 08 54 45 53 54 31 39 41 30 01 08 82 84 8b 96 0c 12 18 24 03 01 08
nl80211: Beacon tail - hexdump(len=67): 2a 01 04 32 04 30 48 60 6c 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 0c 00 7f 08 00 00 00 00 00 00 00 40 dd 18 00 50 f2 02 01 01 00 00 03 a4 00 00 27 a4 00 00 42 43 5e 00 62 32 2f 00
nl80211: ifindex=6
nl80211: beacon_int=100
nl80211: dtim_period=2
nl80211: ssid - hexdump_ascii(len=8):
     54 45 53 54 31 39 41 30                           TEST2    
  * beacon_int=100
  * dtim_period=2
nl80211: hidden SSID not in use
nl80211: privacy=1
nl80211: auth_algs=0x3
nl80211: wpa_version=0x2
nl80211: key_mgmt_suites=0x2
nl80211: pairwise_ciphers=0x10
nl80211: group_cipher=0x10
nl80211: beacon_ies - hexdump(len=10): 7f 08 00 00 00 00 00 00 00 40
nl80211: proberesp_ies - hexdump(len=10): 7f 08 00 00 00 00 00 00 00 40
nl80211: assocresp_ies - hexdump(len=10): 7f 08 00 00 00 00 00 00 00 40
WPA: Start group state machine to set initial keys
WPA: group state machine entering state GTK_INIT (VLAN-ID 0)
GTK - hexdump(len=16): 58 61 84 df 9d 0f 7a 09 47 7e af 74 6c c9 be 6a
WPA: group state machine entering state SETKEYSDONE (VLAN-ID 0)
wpa_driver_nl80211_set_key: ifindex=6 (wlan13_0) alg=3 addr=0x49134c key_idx=1 set_tx=1 seq_len=0 key_len=16
nl80211: KEY_DATA - hexdump(len=16): 58 61 84 df 9d 0f 7a 09 47 7e af 74 6c c9 be 6a
   broadcast key
nl80211: Set wlan13_0 operstate 1->1 (UP)
netlink: Operstate: ifindex=3 linkmode=-1 (no change), operstate=6 (IF_OPER_UP)
wlan13: interface state UNINITIALIZED->ENABLED
wlan13: AP-ENABLED 
wlan13: Setup of interface done.
ctrl_iface not configured!
RTM_NEWLINK: ifi_index=3 ifname=wlan13 operstate=2 linkmode=0 ifi_family=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK: ifi_index=3 ifname=wlan13 operstate=6 linkmode=0 ifi_family=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
RTM_NEWLINK: ifi_index=6 ifname=wlan13_0 operstate=2 linkmode=0 ifi_family=0 ifi_flags=0x1002 ()
nl80211: Ignore interface down event since interface wlan13_0 is up
RTM_NEWLINK: ifi_index=6 ifname=wlan13_0 operstate=2 linkmode=0 ifi_family=0 ifi_flags=0x1002 ()
nl80211: Ignore interface down event since interface wlan13_0 is up
RTM_NEWLINK: ifi_index=6 ifname=wlan13_0 operstate=0 linkmode=0 ifi_family=0 ifi_flags=0x1043 ([UP][RUNNING])
wlan13: Event INTERFACE_STATUS (5) received
Unknown event 5
RTM_NEWLINK: ifi_index=6 ifname=wlan13_0 operstate=6 linkmode=0 ifi_family=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
wlan13: Event INTERFACE_STATUS (5) received
Unknown event 5
RTM_NEWLINK: ifi_index=6 ifname=wlan13_0 operstate=6 linkmode=0 ifi_family=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
wlan13: Event INTERFACE_STATUS (5) received
Unknown event 5
RTM_NEWLINK: ifi_index=6 ifname=wlan13_0 operstate=2 linkmode=0 ifi_family=0 ifi_flags=0x1002 ()
nl80211: Interface down (wlan13_0/wlan13_0)
nl80211: Not the main interface (wlan13) - do not indicate interface down
wlan13: Event INTERFACE_STATUS (5) received
Unknown event 5
nl80211: Drv Event 16 (NL80211_CMD_STOP_AP) received for wlan13_0
wlan13: Event INTERFACE_UNAVAILABLE (29) received
Interface wlan13 is unavailable -- stopped
nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlan13
nl80211: RX frame da=ff:ff:ff:ff:ff:ff sa=70:f1:1c:0c:5f:12 bssid=ff:ff:ff:ff:ff:ff freq=2447 ssi_signal=-59 fc=0x40 seq_ctrl=0x80 stype=4 (WLAN_FC_STYPE_PROBE_REQ) len=73
nl80211: send_mlme - da= 70:f1:1c:0c:5f:12 noack=1 freq=0 no_cck=0 offchanok=0 wait_time=0 fc=0x50 (WLAN_FC_STYPE_PROBE_RESP) nlmode=3
nl80211: send_mlme -> send_frame
nl80211: send_frame - Use bss->freq=2447
nl80211: send_frame -> send_frame_cmd
nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlan13
nl80211: RX frame da=ff:ff:ff:ff:ff:ff sa=70:f1:1c:0c:5f:cb bssid=ff:ff:ff:ff:ff:ff freq=2447 ssi_signal=-61 fc=0x40 seq_ctrl=0x80 stype=4 (WLAN_FC_STYPE_PROBE_REQ) len=73
nl80211: send_mlme - da= 70:f1:1c:0c:5f:cb noack=1 freq=0 no_cck=0 offchanok=0 wait_time=0 fc=0x50 (WLAN_FC_STYPE_PROBE_RESP) nlmode=3
nl80211: send_mlme -> send_frame
nl80211: send_frame - Use bss->freq=2447
nl80211: send_frame -> send_frame_cmd
nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlan13
nl80211: RX frame da=ff:ff:ff:ff:ff:ff sa=58:00:e3:c4:67:e5 bssid=ff:ff:ff:ff:ff:ff freq=2447 ssi_signal=-81 fc=0x40 seq_ctrl=0x7340 stype=4 (WLAN_FC_STYPE_PROBE_REQ) len=42
nl80211: send_mlme - da= 58:00:e3:c4:67:e5 noack=1 freq=0 no_cck=0 offchanok=0 wait_time=0 fc=0x50 (WLAN_FC_STYPE_PROBE_RESP) nlmode=3
nl80211: send_mlme -> send_frame
nl80211: send_frame - Use bss->freq=2447
nl80211: send_frame -> send_frame_cmd
nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlan13
nl80211: RX frame da=ff:ff:ff:ff:ff:ff sa=58:00:e3:c4:67:e5 bssid=ff:ff:ff:ff:ff:ff freq=2447 ssi_signal=-83 fc=0x40 seq_ctrl=0x7350 stype=4 (WLAN_FC_STYPE_PROBE_REQ) len=42
nl80211: send_mlme - da= 58:00:e3:c4:67:e5 noack=1 freq=0 no_cck=0 offchanok=0 wait_time=0 fc=0x50 (WLAN_FC_STYPE_PROBE_RESP) nlmode=3
nl80211: send_mlme -> send_frame
nl80211: send_frame - Use bss->freq=2447
nl80211: send_frame -> send_frame_cmd

/etc/hostapd/hostapd.conf:

interface=wlan13
driver=nl80211
ctrl_interface=/var/run/hostapd
ssid=TEST
channel=8
hw_mode=g


bss=wlan13_0
ssid=TEST2

iw list:

Wiphy phy0
	max # scan SSIDs: 4
	max scan IEs length: 2257 bytes
	max # sched scan SSIDs: 0
	max # match sets: 0
	max # scan plans: 1
	max scan plan interval: -1
	max scan plan iterations: 0
	Retry short long limit: 2
	Coverage class: 0 (up to 0m)
	Device supports RSN-IBSS.
	Supported Ciphers:
		* WEP40 (00-0f-ac:1)
		* WEP104 (00-0f-ac:5)
		* TKIP (00-0f-ac:2)
		* CCMP-128 (00-0f-ac:4)
		* CCMP-256 (00-0f-ac:10)
		* GCMP-128 (00-0f-ac:8)
		* GCMP-256 (00-0f-ac:9)
	Available Antennas: TX 0 RX 0
	Supported interface modes:
		 * IBSS
		 * managed
		 * AP
		 * AP/VLAN
		 * monitor
		 * mesh point
	Band 1:
		Capabilities: 0x17e
			HT20/HT40
			SM Power Save disabled
			RX Greenfield
			RX HT20 SGI
			RX HT40 SGI
			RX STBC 1-stream
			Max AMSDU length: 3839 bytes
			No DSSS/CCK HT40
		Maximum RX AMPDU length 32767 bytes (exponent: 0x002)
		Minimum RX AMPDU time spacing: 2 usec (0x04)
		HT TX/RX MCS rate indexes supported: 0-7, 32
		Bitrates (non-HT):
			* 1.0 Mbps
			* 2.0 Mbps (short preamble supported)
			* 5.5 Mbps (short preamble supported)
			* 11.0 Mbps (short preamble supported)
			* 6.0 Mbps
			* 9.0 Mbps
			* 12.0 Mbps
			* 18.0 Mbps
			* 24.0 Mbps
			* 36.0 Mbps
			* 48.0 Mbps
			* 54.0 Mbps
		Frequencies:
			* 2412 MHz [1] (30.0 dBm)
			* 2417 MHz [2] (30.0 dBm)
			* 2422 MHz [3] (30.0 dBm)
			* 2427 MHz [4] (30.0 dBm)
			* 2432 MHz [5] (30.0 dBm)
			* 2437 MHz [6] (30.0 dBm)
			* 2442 MHz [7] (30.0 dBm)
			* 2447 MHz [8] (30.0 dBm)
			* 2452 MHz [9] (30.0 dBm)
			* 2457 MHz [10] (30.0 dBm)
			* 2462 MHz [11] (30.0 dBm)
			* 2467 MHz [12] (30.0 dBm)
			* 2472 MHz [13] (30.0 dBm)
			* 2484 MHz [14] (30.0 dBm)
	Supported commands:
		 * new_interface
		 * set_interface
		 * new_key
		 * start_ap
		 * new_station
		 * new_mpath
		 * set_mesh_config
		 * set_bss
		 * authenticate
		 * associate
		 * deauthenticate
		 * disassociate
		 * join_ibss
		 * join_mesh
		 * set_tx_bitrate_mask
		 * frame
		 * frame_wait_cancel
		 * set_wiphy_netns
		 * set_channel
		 * set_wds_peer
		 * probe_client
		 * set_noack_map
		 * register_beacons
		 * start_p2p_device
		 * set_mcast_rate
		 * connect
		 * disconnect
		 * set_qos_map
		 * set_multicast_to_unicast
	Supported TX frame types:
		 * IBSS: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * managed: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * AP: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * AP/VLAN: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * mesh point: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * P2P-client: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * P2P-GO: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * P2P-device: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
	Supported RX frame types:
		 * IBSS: 0x40 0xb0 0xc0 0xd0
		 * managed: 0x40 0xd0
		 * AP: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
		 * AP/VLAN: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
		 * mesh point: 0xb0 0xc0 0xd0
		 * P2P-client: 0x40 0xd0
		 * P2P-GO: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
		 * P2P-device: 0x40 0xd0
	software interface modes (can always be added):
		 * AP/VLAN
		 * monitor
	valid interface combinations:
		 * #{ AP, mesh point } <= 8,
		   total <= 8, #channels <= 1
	HT Capability overrides:
		 * MCS: ff ff ff ff ff ff ff ff ff ff
		 * maximum A-MSDU length
		 * supported channel width
		 * short GI for 40 MHz
		 * max A-MPDU length exponent
		 * min MPDU start spacing
	Device supports TX status socket option.
	Device supports HT-IBSS.
	Device supports SAE with AUTHENTICATE command
	Device supports low priority scan.
	Device supports scan flush.
	Device supports AP scan.
	Device supports per-vif TX power setting
	Driver supports full state transitions for AP/GO clients
	Driver supports a userspace MPM
	Device supports configuring vdev MAC-addr on create```

singe commented

Looks like both come up alright, then:

nl80211: Interface down (wlan13_0/wlan13_0)
nl80211: Not the main interface (wlan13) - do not indicate interface down
wlan13: Event INTERFACE_STATUS (5) received
Unknown event 5
nl80211: Drv Event 16 (NL80211_CMD_STOP_AP) received for wlan13_0
wlan13: Event INTERFACE_UNAVAILABLE (29) received
Interface wlan13 is unavailable -- stopped

Is that you taking the interface down? Is anything else interfering with them (NetworkManager?).

@singe not manually.

Eventiually it worked by creating separate virtual wlans and not BSS. so creating multiple hostapd configuration files, with different virtual interfaces worked.

Hi @johndoesenior, sorry @ u not related for the issue.
Learned that your nic looks powerful from the combination section, could u share your wireless card model? thanks,

	valid interface combinations:
		 * #{ AP, mesh point } <= 8,
		   total <= 8, #channels <= 1