Wi-Fi direct concurrent connection

Taceant Omnes taceant at gmail.com
Thu Oct 20 09:10:47 PDT 2016


On 11 October 2016 at 17:56, Dan Williams <dcbw at redhat.com> wrote:

> Question 2: With a Google search I came across some blog/forum
>> accounts of people that managed to have concurrent connections to a
>> router (as a client) and to devices (as an AP) with the same Wi-Fi
>> dongle. To achieve this they run simultaneously hostapd (to create an
>> AP) and wpa_supplicant (to connect to a router). I have not tried
>> this
>> yet. My question is what are the advantages/disadvantages of this
>> approach as compared with using P2P as I described above?
>
> This would still be subject to the limitations for your hardware, eg
> that the AP you'd create and the AP/router you would connect to would
> have to be on the same channel.
>
> Dan

=========

As I said before I succeeded in creating two concurrent connections
with the same Wi-Fi dongle using  wpa_supplicant: 1. as a client to a
router; 2. to an Android tablet by using the command “p2p_group_add
freq=2422” (I  had to specify the frequency as the router is
configured to use only that channel).

What I am trying to do now is to have concurrent connections: 1. as a
client to a router; 2. to an Android tablet as an AP instead of a P2P
group owner.

To achieve this I want to use hostapd (to create an AP) and
wpa_supplicant (to connect to a router). There are several people on
the internet that claimed that this worked for them but so far it has
not worked for me. I can use either hostapd or wpa_supplicant on its
own without issues on interface wlan0 but when after starting
wpa_supplicant on wlan0 I start hostapd on wlan1, both wlan0 and wlan1
get “destroyed”, i. e. “iw dev” shows nothing.

I created interface wlan1 as follows:
# iw phy#7 interface add wlan1 type __ap
# ip link set dev wlan1 address d4:7b:b0:16:87:91

After the commands above I get this:
# iw dev
phy#7
        Interface wlan1
                ifindex 12
                wdev 0x600000002
                addr d4:7b:b0:16:87:91
                type AP
        Interface wlan0
                ifindex 11
                wdev 0x600000001
                addr d4:7b:b0:16:87:90
                type managed

The reason for phy#7 above is that each time I unplug and plug the
dongle Linux increments the number of the device: phy#0, phy#1, etc. I
set a MAC address with “ip link” as by default wlan1 gets the same
address as wlan0 (this may not be be needed).

I wonder if anybody knows why this does not work?

Below is my configuration and the output of hostapd. I am still using
the same hardware that I described in the first email of this thread:
https://thepihut.com/products/official-raspberry-pi-wifi-adapter


==================================================

# iw --version
iw version 4.9

# wpa_supplicant -v
wpa_supplicant v2.6
Copyright (c) 2003-2016, Jouni Malinen <j at w1.fi> and contributors

# hostapd -v
hostapd v2.6
User space daemon for IEEE 802.11 AP management,
IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator
Copyright (c) 2002-2016, Jouni Malinen <j at w1.fi> and contributors

# uname -r
4.7.6-200.fc24.x86_64


==================================================


# cat /etc/wpa_supplicant/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
update_config=1
device_name=xxx_GO
country=IE

network={
ssid="xxxx"
psk="xxxx"
proto=RSN
key_mgmt=WPA-PSK
pairwise=CCMP
auth_alg=OPEN
}


==================================================

# cat /etc/hostapd/hostapd.conf
# Configuration based on this page:
#
#    http://wireless.kernel.org/en/users/Documentation/hostapd
#
#
# A complete, well commented example configuration file is
# available here:
#
#    /usr/share/doc/hostapd/hostapd.conf
#

ctrl_interface=/var/run/hostapd
ctrl_interface_group=wheel

# authentication and encryption: WPA2 only
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
wpa=2
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP
wpa_passphrase=xxxxxx

# miscellaneous stuff
driver=nl80211
interface=wlan1
hw_mode=g
channel=3
ssid=xxxxx
country_code=IE

==================================================


# hostapd -ddt /etc/hostapd/hostapd.conf
1476975152.300954: random: Trying to read entropy from /dev/random
1476975152.301008: Configuration file: /etc/hostapd/hostapd.conf
1476975152.301493: ctrl_interface_group=10 (from group name 'wheel')
1476975152.303267: nl80211: Using driver-based roaming
1476975152.303296: nl80211: Supported cipher 00-0f-ac:1
1476975152.303312: nl80211: Supported cipher 00-0f-ac:5
1476975152.303334: nl80211: Supported cipher 00-0f-ac:2
1476975152.303351: nl80211: Supported cipher 00-0f-ac:4
1476975152.303414: nl80211: Using driver-based off-channel TX
1476975152.303457: nl80211: Supported vendor command: vendor_id=0x1018 subcmd=1
1476975152.303479: nl80211: Use separate P2P group interface (driver
advertised support)
1476975152.303493: nl80211: use P2P_DEVICE support
1476975152.303513: nl80211: interface wlan1 in phy phy7
1476975152.304159: nl80211: Set mode ifindex 14 iftype 3 (AP)
1476975152.304196: nl80211: Setup AP(wlan1) - device_ap_sme=0 use_monitor=1
1476975152.304305: nl80211: Create interface iftype 6 (MONITOR)
1476975152.304383: Failed to create interface mon.wlan1: -95
(Operation not supported)
1476975152.304405: nl80211: Driver does not support monitor interface
type - try to run without it
1476975152.304479: nl80211: Enable Probe Request reporting nl_preq=0x2672300
1476975152.304490: nl80211: Register frame type=0x40
(WLAN_FC_STYPE_PROBE_REQ) nl_handle=0x2672300 match=
1476975152.304526: nl80211: Register frame command failed (type=64):
ret=-22 (Invalid argument)
1476975152.304536: nl80211: Register frame match - hexdump(len=0): [NULL]
1476975152.304557: nl80211: Failed to enable Probe Request frame
reporting in AP mode
1476975152.304825: rfkill: initial event: idx=7 type=1 op=0 soft=0 hard=0
1476975152.307048: nl80211: Add own interface ifindex 14 (ifidx_reason -1)
1476975152.307067: nl80211: if_indices[16]: 14(-1)
1476975152.307125: phy: phy7
1476975152.307131: BSS count 1, BSSID mask 00:00:00:00:00:00 (0 bits)
1476975152.307571: wlan1: interface state UNINITIALIZED->COUNTRY_UPDATE
1476975152.307668: Previous country code IE, new country code IE
1476975152.307823: nl80211: Regulatory information - country=IE (DFS-ETSI)
1476975152.307848: nl80211: 2402-2482 @ 40 MHz 20 mBm
1476975152.307863: nl80211: 5170-5250 @ 80 MHz 20 mBm
1476975152.307876: nl80211: 5250-5330 @ 80 MHz 20 mBm (DFS)
1476975152.307889: nl80211: 5490-5710 @ 160 MHz 27 mBm (DFS)
1476975152.307902: nl80211: 57000-66000 @ 2160 MHz 40 mBm
1476975152.307924: nl80211: Added 802.11b mode based on 802.11g information
1476975152.307938: Allowed channel: mode=1 chan=1 freq=2412 MHz
max_tx_power=20 dBm
1476975152.307951: Allowed channel: mode=1 chan=2 freq=2417 MHz
max_tx_power=20 dBm
1476975152.307962: Allowed channel: mode=1 chan=3 freq=2422 MHz
max_tx_power=20 dBm
1476975152.307973: Allowed channel: mode=1 chan=4 freq=2427 MHz
max_tx_power=20 dBm
1476975152.307985: Allowed channel: mode=1 chan=5 freq=2432 MHz
max_tx_power=20 dBm
1476975152.307996: Allowed channel: mode=1 chan=6 freq=2437 MHz
max_tx_power=20 dBm
1476975152.308007: Allowed channel: mode=1 chan=7 freq=2442 MHz
max_tx_power=20 dBm
1476975152.308035: Allowed channel: mode=1 chan=8 freq=2447 MHz
max_tx_power=20 dBm
1476975152.308047: Allowed channel: mode=1 chan=9 freq=2452 MHz
max_tx_power=20 dBm
1476975152.308058: Allowed channel: mode=1 chan=10 freq=2457 MHz
max_tx_power=20 dBm
1476975152.308069: Allowed channel: mode=1 chan=11 freq=2462 MHz
max_tx_power=20 dBm
1476975152.308081: Allowed channel: mode=0 chan=1 freq=2412 MHz
max_tx_power=20 dBm
1476975152.308092: Allowed channel: mode=0 chan=2 freq=2417 MHz
max_tx_power=20 dBm
1476975152.308104: Allowed channel: mode=0 chan=3 freq=2422 MHz
max_tx_power=20 dBm
1476975152.308115: Allowed channel: mode=0 chan=4 freq=2427 MHz
max_tx_power=20 dBm
1476975152.308126: Allowed channel: mode=0 chan=5 freq=2432 MHz
max_tx_power=20 dBm
1476975152.308147: Allowed channel: mode=0 chan=6 freq=2437 MHz
max_tx_power=20 dBm
1476975152.308159: Allowed channel: mode=0 chan=7 freq=2442 MHz
max_tx_power=20 dBm
1476975152.308170: Allowed channel: mode=0 chan=8 freq=2447 MHz
max_tx_power=20 dBm
1476975152.308181: Allowed channel: mode=0 chan=9 freq=2452 MHz
max_tx_power=20 dBm
1476975152.308192: Allowed channel: mode=0 chan=10 freq=2457 MHz
max_tx_power=20 dBm
1476975152.308203: Allowed channel: mode=0 chan=11 freq=2462 MHz
max_tx_power=20 dBm
1476975152.308217: Completing interface initialization
1476975152.308250: Mode: IEEE 802.11g  Channel: 3  Frequency: 2422 MHz
1476975152.308263: DFS 0 channels required radar detection
1476975152.308275: nl80211: Set freq 2422 (ht_enabled=0,
vht_enabled=0, bandwidth=20 MHz, cf1=2422 MHz, cf2=0 MHz)
1476975152.308294:   * freq=2422
1476975152.308307:   * vht_enabled=0
1476975152.308318:   * ht_enabled=0
1476975152.308328:   * channel_type=0
1476975152.308369: RATE[0] rate=10 flags=0x1
1476975152.308387: RATE[1] rate=20 flags=0x1
1476975152.308398: RATE[2] rate=55 flags=0x1
1476975152.308409: RATE[3] rate=110 flags=0x1
1476975152.308419: RATE[4] rate=60 flags=0x0
1476975152.308430: RATE[5] rate=90 flags=0x0
1476975152.308441: RATE[6] rate=120 flags=0x0
1476975152.308451: RATE[7] rate=180 flags=0x0
1476975152.308462: RATE[8] rate=240 flags=0x0
1476975152.308472: RATE[9] rate=360 flags=0x0
1476975152.308483: RATE[10] rate=480 flags=0x0
1476975152.308493: RATE[11] rate=540 flags=0x0
1476975152.308504: hostapd_setup_bss(hapd=0x26747a0 (wlan1), first=1)
1476975152.308542: wlan1: Flushing old station entries
1476975152.308558: nl80211: flush -> DEL_STATION wlan1 (all)
1476975152.308599: nl80211: Station flush failed: ret=-14 (Bad address)


1476975152.308617: wlan1: Could not connect to kernel driver


1476975152.308630: wlan1: Deauthenticate all stations
1476975152.310802: nl80211: sta_remove -> DEL_STATION wlan1
ff:ff:ff:ff:ff:ff --> 0 (Success)
1476975152.310912: wpa_driver_nl80211_set_key: ifindex=14 (wlan1)
alg=0 addr=(nil) key_idx=0 set_tx=0 seq_len=0 key_len=0
1476975152.310959: nl80211: set_key failed; err=-22 Invalid argument)
1476975152.310969: Failed to clear default encryption keys
(ifname=wlan1 keyidx=0)
1476975152.310998: wpa_driver_nl80211_set_key: ifindex=14 (wlan1)
alg=0 addr=(nil) key_idx=1 set_tx=0 seq_len=0 key_len=0
1476975152.311026: nl80211: set_key failed; err=-22 Invalid argument)
1476975152.311036: Failed to clear default encryption keys
(ifname=wlan1 keyidx=1)
1476975152.311063: wpa_driver_nl80211_set_key: ifindex=14 (wlan1)
alg=0 addr=(nil) key_idx=2 set_tx=0 seq_len=0 key_len=0
1476975152.311090: nl80211: set_key failed; err=-22 Invalid argument)
1476975152.311098: Failed to clear default encryption keys
(ifname=wlan1 keyidx=2)
1476975152.311124: wpa_driver_nl80211_set_key: ifindex=14 (wlan1)
alg=0 addr=(nil) key_idx=3 set_tx=0 seq_len=0 key_len=0
1476975152.311149: nl80211: set_key failed; err=-22 Invalid argument)
1476975152.311157: Failed to clear default encryption keys
(ifname=wlan1 keyidx=3)
1476975152.311164: Using interface wlan1 with hwaddr d4:7b:b0:16:87:91
and ssid "xxxx"
1476975152.311172: Deriving WPA PSK based on passphrase
1476975152.311177: SSID - hexdump_ascii(len=17):
     53 50 43 5f 43 6f 6e 66 69 67 75 72 61 74 69 6f   xxxxx
     6e                                                n
1476975152.311206: PSK (ASCII passphrase) - hexdump_ascii(len=10): [REMOVED]
1476975152.324277: PSK (from passphrase) - hexdump(len=32): [REMOVED]
1476975152.324343: random: Got 20/20 bytes from /dev/random
1476975152.324366: Get randomness: len=32 entropy=0
1476975152.324771: GMK - hexdump(len=32): [REMOVED]
1476975152.324780: Get randomness: len=32 entropy=0
1476975152.325178: Key Counter - hexdump(len=32): [REMOVED]
1476975152.325215: WPA: Delay group state machine start until Beacon
frames have been configured
1476975152.325634: VLAN: vlan_set_name_type(name_type=2)
1476975152.326988: nl80211: Set beacon (beacon_set=0)
1476975152.327032: nl80211: Beacon head - hexdump(len=68): 80 00 00 00
ff ff ff ff ff ff d4 7b b0 16 87 91 d4 7b b0 16 87 91 00 00 00 00 00
00 00 00 00 00 64 00 11 04 00 11 53 50 43 5f 43 6f 6e 66 69 67 75 72
61 74 69 6f 6e 01 08 82 84 8b 96 0c 12 18 24 03 01 03
1476975152.327060: nl80211: Beacon tail - hexdump(len=31): 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 00 00
1476975152.327079: nl80211: ifindex=14
1476975152.327089: nl80211: beacon_int=100
1476975152.327099: nl80211: dtim_period=2
1476975152.327109: nl80211: ssid - hexdump_ascii(len=17):
     53 50 43 5f 43 6f 6e 66 69 67 75 72 61 74 69 6f   xxxxxxx
     6e                                                n
1476975152.327156:   * beacon_int=100
1476975152.327169:   * dtim_period=2
1476975152.327180: nl80211: hidden SSID not in use
1476975152.327191: nl80211: privacy=1
1476975152.327202: nl80211: auth_algs=0x1
1476975152.327212: nl80211: wpa_version=0x2
1476975152.327243: nl80211: key_mgmt_suites=0x2
1476975152.327255: nl80211: pairwise_ciphers=0x10
1476975152.327266: nl80211: group_cipher=0x10
1476975152.392092: WPA: Start group state machine to set initial keys
1476975152.392121: WPA: group state machine entering state GTK_INIT (VLAN-ID 0)
1476975152.392132: Get randomness: len=16 entropy=0
1476975152.392648: GTK - hexdump(len=16): [REMOVED]
1476975152.392662: WPA: group state machine entering state SETKEYSDONE
(VLAN-ID 0)
1476975152.392734: wpa_driver_nl80211_set_key: ifindex=14 (wlan1)
alg=3 addr=0x48ec91 key_idx=1 set_tx=1 seq_len=0 key_len=16
1476975152.392752: nl80211: KEY_DATA - hexdump(len=16): [REMOVED]
1476975152.392759:    broadcast key
1476975152.395051: nl80211: Set wlan1 operstate 0->1 (UP)
1476975152.395085: netlink: Operstate: ifindex=14 linkmode=-1 (no
change), operstate=6 (IF_OPER_UP)
1476975152.395134: Failed to set TX queue parameters for queue 0.
1476975152.395156: Failed to set TX queue parameters for queue 1.
1476975152.395175: Failed to set TX queue parameters for queue 2.
1476975152.395193: Failed to set TX queue parameters for queue 3.
1476975152.395201: wlan1: interface state COUNTRY_UPDATE->ENABLED
1476975152.395210: wlan1: AP-ENABLED
1476975152.395217: wlan1: Setup of interface done.
1476975152.395261: ctrl_iface not configured!
1476975152.395313: RTM_NEWLINK: ifi_index=14 ifname=wlan1 operstate=0
linkmode=0 ifi_family=0 ifi_flags=0x1043 ([UP][RUNNING])
1476975152.395392: RTM_NEWLINK: ifi_index=14 ifname=wlan1 operstate=2
linkmode=0 ifi_family=0 ifi_flags=0x1003 ([UP])
1476975152.396267: RTM_NEWLINK: ifi_index=14 ifname=wlan1 operstate=6
linkmode=0 ifi_family=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
1476975152.396364: VLAN: RTM_NEWLINK: ifi_index=14 ifname=wlan1
ifi_family=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
1476975152.396372: VLAN: vlan_newlink(wlan1)
1476975152.401072: RTM_NEWLINK: ifi_index=13 ifname=wlan0 wext
ifi_family=0 ifi_flags=0x1043 ([UP][RUNNING])
1476975152.401114: RTM_NEWLINK: ifi_index=13 ifname=wlan0 operstate=5
linkmode=1 ifi_family=0 ifi_flags=0x1003 ([UP])
1476975152.401124: nl80211: Event message available
1476975152.401162: nl80211: Ignored event (cmd=48) for foreign
interface (ifindex 13 wdev 0x0)
1476975152.401177: VLAN: RTM_NEWLINK: ifi_index=13 ifname=wlan0
ifi_family=0 ifi_flags=0x1043 ([UP][RUNNING])
1476975152.401185: VLAN: vlan_newlink(wlan0)
1476975152.401202: VLAN: RTM_NEWLINK: ifi_index=13 ifname=wlan0
ifi_family=0 ifi_flags=0x1003 ([UP])
1476975152.401209: VLAN: vlan_newlink(wlan0)
1476975152.406085: nl80211: Event message available
1476975152.406131: nl80211: Drv Event 36 (NL80211_CMD_REG_CHANGE)
received for wlan1
1476975152.406137: nl80211: Regulatory domain change
1476975152.406140:  * initiator=0
1476975152.406143:  * type=1
1476975152.406151: wlan1: Event CHANNEL_LIST_CHANGED (28) received
1476975152.418726: nl80211: Event message available
1476975152.418772: nl80211: Drv Event 36 (NL80211_CMD_REG_CHANGE)
received for wlan1
1476975152.418782: nl80211: Regulatory domain change
1476975152.418789:  * initiator=1
1476975152.418792:  * type=0
1476975152.418795:  * alpha2=IE
1476975152.418802: wlan1: Event CHANNEL_LIST_CHANGED (28) received
1476975152.499185: nl80211: Event message available
1476975152.499244: nl80211: Ignored event (cmd=33) for foreign
interface (ifindex 13 wdev 0x0)
1476975153.160010: RTM_NEWLINK: ifi_index=13 ifname=wlan0 wext
ifi_family=0 ifi_flags=0x1003 ([UP])
1476975153.160031: nl80211: Event message available
1476975153.160045: nl80211: Ignored event (cmd=34) for foreign
interface (ifindex 13 wdev 0x0)
1476975153.160055: VLAN: RTM_NEWLINK: ifi_index=13 ifname=wlan0
ifi_family=0 ifi_flags=0x1003 ([UP])
1476975153.160060: VLAN: vlan_newlink(wlan0)
1476975154.141330: RTM_NEWLINK: ifi_index=14 ifname=wlan1 operstate=2
linkmode=0 ifi_family=0 ifi_flags=0x1002 ()
1476975154.160240: Could not read interface wlan1 flags: No such device
1476975154.160266: nl80211: Interface down (wlan1/wlan1)
1476975154.160277: wlan1: Event INTERFACE_DISABLED (27) received
1476975154.160283: wlan1: INTERFACE-DISABLED
1476975154.165457: nl80211: Interface wlan1 does not exist - ignore RTM_NEWLINK
1476975154.165499: RTM_DELLINK: ifi_index=14 ifname=wlan1 operstate=2
linkmode=0 ifi_family=0 ifi_flags=0x1002 ()
1476975154.165506: RTM_DELLINK: Interface 'wlan1' removed - mark if_removed=1
1476975154.165516: wlan1: Event INTERFACE_STATUS (5) received
1476975154.165520: Unknown event 5
1476975154.165527: RTM_NEWLINK: ifi_index=13 ifname=wlan0 operstate=2
linkmode=1 ifi_family=0 ifi_flags=0x1003 ([UP])
1476975154.165540: VLAN: RTM_NEWLINK: ifi_index=14 ifname=wlan1
ifi_family=0 ifi_flags=0x1002 ()
1476975154.165545: VLAN: vlan_newlink(wlan1)
1476975154.169923: VLAN: RTM_DELLINK: ifi_index=14 ifname=wlan1
ifi_family=0 ifi_flags=0x1002 ()
1476975154.169949: VLAN: vlan_dellink(wlan1)
1476975154.169977: VLAN: RTM_NEWLINK: ifi_index=13 ifname=wlan0
ifi_family=0 ifi_flags=0x1003 ([UP])
1476975154.169982: VLAN: vlan_newlink(wlan0)
1476975154.653532: RTM_NEWLINK: ifi_index=13 ifname=wlan0 operstate=2
linkmode=1 ifi_family=0 ifi_flags=0x1002 ()
1476975154.653562: VLAN: RTM_NEWLINK: ifi_index=13 ifname=wlan0
ifi_family=0 ifi_flags=0x1002 ()
1476975154.653570: VLAN: vlan_newlink(wlan0)
1476975154.659530: RTM_DELLINK: ifi_index=13 ifname=wlan0 operstate=2
linkmode=1 ifi_family=0 ifi_flags=0x1002 ()
1476975154.659557: RTM_DELLINK: Interface 'wlan0' removed
1476975154.707323: VLAN: RTM_DELLINK: ifi_index=13 ifname=wlan0
ifi_family=0 ifi_flags=0x1002 ()
1476975154.707356: VLAN: vlan_dellink(wlan0)
1476975752.334880: 1476975752.334886: wlan1: WPA rekeying GTK
1476975752.334910: WPA: group state machine entering state SETKEYS (VLAN-ID 0)
1476975752.334922: Get randomness: len=16 entropy=0
1476975752.335626: GTK - hexdump(len=16): [REMOVED]
1476975752.335642: wpa_group_setkeys: GKeyDoneStations=0
1476975752.335649: WPA: group state machine entering state SETKEYSDONE
(VLAN-ID 0)
1476975752.340868: wpa_driver_nl80211_set_key: ifindex=0 (wlan1) alg=3
addr=0x48ec91 key_idx=2 set_tx=1 seq_len=0 key_len=16
1476975752.340905: nl80211: KEY_DATA - hexdump(len=16): [REMOVED]
1476975752.340914:    broadcast key
1476975752.340965: nl80211: set_key failed; err=-19 No such device)
1476975752.340972: WPA: group state machine entering state FATAL_FAILURE
1476976352.341087: 1476976352.341093: wlan1: WPA rekeying GTK
1476976952.349801: 1476976952.349807: wlan1: WPA rekeying GTK
1476977143.571654: RTM_NEWLINK: ifi_index=2 ifname=enp3s0 operstate=6
linkmode=0 ifi_family=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
1476977143.571693: VLAN: RTM_NEWLINK: ifi_index=2 ifname=enp3s0
ifi_family=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
1476977143.571702: VLAN: vlan_newlink(enp3s0)
1476977143.577647: VLAN: RTM_NEWLINK: ifi_index=2 ifname=enp3s0
ifi_family=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
1476977143.577679: VLAN: vlan_newlink(enp3s0)
1476977143.577873: RTM_NEWLINK: ifi_index=2 ifname=enp3s0 operstate=6
linkmode=0 ifi_family=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
1476977143.648437: RTM_NEWLINK: ifi_index=2 ifname=enp3s0 operstate=6
linkmode=0 ifi_family=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
1476977143.648472: VLAN: RTM_NEWLINK: ifi_index=2 ifname=enp3s0
ifi_family=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
1476977143.648478: VLAN: vlan_newlink(enp3s0)
1476977552.358059: 1476977552.358065: wlan1: WPA rekeying GTK
^C1476977731.346346: Signal 2 received - terminating
1476977731.346373: hostapd_interface_deinit_free(0x2671980)
1476977731.346378: hostapd_interface_deinit_free: num_bss=1 conf->num_bss=1
1476977731.346382: hostapd_interface_deinit(0x2671980)
1476977731.346385: wlan1: interface state ENABLED->DISABLED
1476977731.346389: hostapd_bss_deinit: deinit bss wlan1
1476977731.346398: wlan1: Deauthenticate all stations
1476977731.346453: nl80211: sta_remove -> DEL_STATION wlan1
ff:ff:ff:ff:ff:ff --> -19 (No such device)
1476977731.346463: wlan1: AP-DISABLED
1476977731.346466: hostapd_cleanup(hapd=0x26747a0 (wlan1))
1476977731.346541: hostapd_free_hapd_data(wlan1)
1476977731.346567: hostapd_interface_deinit_free: driver=0x6ce9c0
drv_priv=0x26731e0 -> hapd_deinit
1476977731.346572: nl80211: deinit ifname=wlan1 disabled_11b_rates=0
1476977731.348371: nl80211: Remove monitor interface: refcount=0
1476977731.348397: nl80211: Remove beacon (ifindex=14)
1476977731.351332: netlink: Operstate: ifindex=14 linkmode=0
(kernel-control), operstate=6 (IF_OPER_UP)
1476977731.355296: Could not read interface wlan1 flags: No such device
1476977731.355326: hostapd_interface_free(0x2671980)
1476977731.355337: hostapd_interface_free: free hapd 0x26747a0
1476977731.355354: hostapd_cleanup_iface(0x2671980)
1476977731.355358: hostapd_cleanup_iface_partial(0x2671980)
1476977731.355367: hostapd_cleanup_iface: free iface=0x2671980


==================================================



More information about the Hostap mailing list