Upgraded Win (7->10) laptop no longer connects to hostapd AP; errors: deauthenticated due to {local deauth request , inactivity} ?
PGNet Dev
pgnet.dev at gmail.com
Fri Oct 6 11:07:24 PDT 2017
I've got a working hostapd setup -- accessible from all devices on 2.4G & 5G, except for an upgraded (Win7 -> Win10) laptop.
The laptop worked OK under Win7; no longer under Win10.
Three things I know have changed since the last, successful client by the laptop:
(1) The laptop's been upgraded Win7->Win10
(2) hostapd/git's been updated a number of times
(3) my local system + kernel have been updated a number of times
I *suspect* the problem is (1), i.e., Win10, but don't know specifically what to look for here; and, on the Win10 I've apparently got very limited access to diagnostic tools -- at least that I'm aware of.
I've found numerous old mentions of "deauthenticated due to ..." errors (see below) online, but, so far, no solution.
(2)'s also a possibility, and I may have missed a config change.
Have I missed some config? Or, is there a known issue with either current hostapd &/or Win10 clients?
Details as follows:
I've built hostapd,
git log | head
commit 4a37463416254712f3a45097014a93d0b521c4f8
Author: Peng Xu <pxu at qti.qualcomm.com>
Date: Fri Sep 29 16:32:44 2017 -0700
hostapd: Update HE capabilities and HE operation definition
Replace vendor-specific elements for HE capabilities and HE operation
elements with the P802.11ax defined element values. This version is
based on P802.11ax/D1.4.
hostapd -v
hostapd v2.7-devel-hostap_2_6-1207-g4a37463+
User space daemon for IEEE 802.11 AP management,
IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator
Copyright (c) 2002-2017, Jouni Malinen <j at w1.fi> and contributors
running on
lsb_release -rd
Description: openSUSE Leap 42.3
Release: 42.3
uname -r
4.13.5-2.g3fd9659-default
I've got 4 AP's defined -- 2 @ 5G, 2 @ 2.4 G,
iw dev
phy#0
Interface wlanG5
ifindex 39
wdev 0x15
addr 02:c0:ca:ee:14:21
ssid apG5
type AP
channel 157 (5785 MHz), width: 40 MHz, center1: 5795 MHz
txpower 30.00 dBm
Interface wlp1s0u3
ifindex 4
wdev 0x1
addr 02:c0:ca:ee:14:20
ssid apU5
type AP
channel 157 (5785 MHz), width: 40 MHz, center1: 5795 MHz
txpower 30.00 dBm
phy#1
Interface wlanG2
ifindex 38
wdev 0x10000000c
addr e2:08:6b:24:ed:c1
ssid apG2
type AP
channel 11 (2462 MHz), width: 40 MHz, center1: 2452 MHz
txpower 20.00 dBm
Interface wlp1s0u4
ifindex 5
wdev 0x100000001
addr e2:08:6b:24:ed:c0
ssid apU2
type AP
channel 11 (2462 MHz), width: 40 MHz, center1: 2452 MHz
txpower 20.00 dBm
Functional and accessible with, or without auth, for virtually all devices I've tested.
Including a Win7 laptop, connecting only at 2.4G.
That laptop (not under my control), JUST got updated to Win10.
Now, it sees the APs, but when I try to connect, it simply fails with an unhelpful "Can't connect" message.
On the hostapd side, logs during the connect attempt show
...
Oct 6 06:14:29 core hostapd[1529]: wlanG2: STA 44:39:c4:17:2b:af IEEE 802.11: authenticated
Oct 6 06:14:29 core hostapd: wlanG2: STA 44:39:c4:17:2b:af IEEE 802.11: authenticated
Oct 6 06:14:29 core hostapd: wlanG2: STA 44:39:c4:17:2b:af IEEE 802.11: associated (aid 1)
Oct 6 06:14:29 core hostapd[1529]: wlanG2: STA 44:39:c4:17:2b:af IEEE 802.11: associated (aid 1)
Oct 6 06:14:36 core hostapd: wlanG2: STA 44:39:c4:17:2b:af IEEE 802.11: authenticated
Oct 6 06:14:36 core hostapd[1529]: wlanG2: STA 44:39:c4:17:2b:af IEEE 802.11: authenticated
Oct 6 06:14:36 core hostapd: wlanG2: STA 44:39:c4:17:2b:af IEEE 802.11: associated (aid 1)
Oct 6 06:14:36 core hostapd[1529]: wlanG2: STA 44:39:c4:17:2b:af IEEE 802.11: associated (aid 1)
Oct 6 06:14:44 core hostapd: wlanG2: STA 44:39:c4:17:2b:af IEEE 802.11: authenticated
Oct 6 06:14:44 core hostapd[1529]: wlanG2: STA 44:39:c4:17:2b:af IEEE 802.11: authenticated
Oct 6 06:14:44 core hostapd: wlanG2: STA 44:39:c4:17:2b:af IEEE 802.11: associated (aid 1)
Oct 6 06:14:44 core hostapd[1529]: wlanG2: STA 44:39:c4:17:2b:af IEEE 802.11: associated (aid 1)
Oct 6 06:14:51 core hostapd: wlanG2: STA 44:39:c4:17:2b:af IEEE 802.11: authenticated
Oct 6 06:14:51 core hostapd[1529]: wlanG2: STA 44:39:c4:17:2b:af IEEE 802.11: authenticated
Oct 6 06:14:51 core hostapd[1529]: wlanG2: STA 44:39:c4:17:2b:af IEEE 802.11: associated (aid 1)
Oct 6 06:14:51 core hostapd: wlanG2: STA 44:39:c4:17:2b:af IEEE 802.11: associated (aid 1)
Oct 6 06:14:58 core hostapd[1529]: wlanG2: STA 44:39:c4:17:2b:af IEEE 802.11: authenticated
Oct 6 06:14:58 core hostapd: wlanG2: STA 44:39:c4:17:2b:af IEEE 802.11: authenticated
Oct 6 06:14:58 core hostapd: wlanG2: STA 44:39:c4:17:2b:af IEEE 802.11: associated (aid 1)
Oct 6 06:14:58 core hostapd[1529]: wlanG2: STA 44:39:c4:17:2b:af IEEE 802.11: associated (aid 1)
Oct 6 06:15:06 core hostapd: wlanG2: STA 44:39:c4:17:2b:af IEEE 802.11: authenticated
Oct 6 06:15:06 core hostapd[1529]: wlanG2: STA 44:39:c4:17:2b:af IEEE 802.11: authenticated
Oct 6 06:15:06 core hostapd: wlanG2: STA 44:39:c4:17:2b:af IEEE 802.11: associated (aid 1)
Oct 6 06:15:06 core hostapd[1529]: wlanG2: STA 44:39:c4:17:2b:af IEEE 802.11: associated (aid 1)
Oct 6 06:15:15 core hostapd: wlanG2: STA 44:39:c4:17:2b:af IEEE 802.11: deauthenticated due to local deauth request
Oct 6 06:15:15 core hostapd[1529]: wlanG2: STA 44:39:c4:17:2b:af IEEE 802.11: deauthenticated due to local deauth request
Oct 6 06:15:52 core hostapd[1529]: wlanG2: STA 44:39:c4:17:2b:af IEEE 802.11: authenticated
Oct 6 06:15:52 core hostapd: wlanG2: STA 44:39:c4:17:2b:af IEEE 802.11: authenticated
Oct 6 06:15:52 core hostapd: wlanG2: STA 44:39:c4:17:2b:af IEEE 802.11: associated (aid 1)
Oct 6 06:15:52 core hostapd[1529]: wlanG2: STA 44:39:c4:17:2b:af IEEE 802.11: associated (aid 1)
Oct 6 06:16:00 core hostapd: wlanG2: STA 44:39:c4:17:2b:af IEEE 802.11: authenticated
Oct 6 06:16:00 core hostapd[1529]: wlanG2: STA 44:39:c4:17:2b:af IEEE 802.11: authenticated
Oct 6 06:16:00 core hostapd: wlanG2: STA 44:39:c4:17:2b:af IEEE 802.11: associated (aid 1)
Oct 6 06:16:00 core hostapd[1529]: wlanG2: STA 44:39:c4:17:2b:af IEEE 802.11: associated (aid 1)
Oct 6 06:16:07 core hostapd[1529]: wlanG2: STA 44:39:c4:17:2b:af IEEE 802.11: authenticated
Oct 6 06:16:07 core hostapd: wlanG2: STA 44:39:c4:17:2b:af IEEE 802.11: authenticated
Oct 6 06:16:07 core hostapd: wlanG2: STA 44:39:c4:17:2b:af IEEE 802.11: associated (aid 1)
Oct 6 06:16:07 core hostapd[1529]: wlanG2: STA 44:39:c4:17:2b:af IEEE 802.11: associated (aid 1)
Oct 6 06:16:16 core hostapd: wlanG2: STA 44:39:c4:17:2b:af IEEE 802.11: deauthenticated due to local deauth request
Oct 6 06:16:16 core hostapd[1529]: wlanG2: STA 44:39:c4:17:2b:af IEEE 802.11: deauthenticated due to local deauth request
Oct 6 06:19:35 core hostapd: wlanG2: STA 44:39:c4:17:2b:af IEEE 802.11: authenticated
Oct 6 06:19:35 core hostapd[1529]: wlanG2: STA 44:39:c4:17:2b:af IEEE 802.11: authenticated
Oct 6 06:19:35 core hostapd: wlanG2: STA 44:39:c4:17:2b:af IEEE 802.11: associated (aid 1)
Oct 6 06:19:35 core hostapd[1529]: wlanG2: STA 44:39:c4:17:2b:af IEEE 802.11: associated (aid 1)
Oct 6 06:19:42 core hostapd: wlanG2: STA 44:39:c4:17:2b:af IEEE 802.11: authenticated
Oct 6 06:19:42 core hostapd[1529]: wlanG2: STA 44:39:c4:17:2b:af IEEE 802.11: authenticated
Oct 6 06:19:42 core hostapd: wlanG2: STA 44:39:c4:17:2b:af IEEE 802.11: associated (aid 1)
Oct 6 06:19:42 core hostapd[1529]: wlanG2: STA 44:39:c4:17:2b:af IEEE 802.11: associated (aid 1)
Oct 6 06:19:49 core hostapd: wlanG2: STA 44:39:c4:17:2b:af IEEE 802.11: authenticated
Oct 6 06:19:49 core hostapd[1529]: wlanG2: STA 44:39:c4:17:2b:af IEEE 802.11: authenticated
Oct 6 06:19:49 core hostapd: wlanG2: STA 44:39:c4:17:2b:af IEEE 802.11: associated (aid 1)
Oct 6 06:19:49 core hostapd[1529]: wlanG2: STA 44:39:c4:17:2b:af IEEE 802.11: associated (aid 1)
Oct 6 06:19:57 core hostapd: wlanG2: STA 44:39:c4:17:2b:af IEEE 802.11: authenticated
Oct 6 06:19:57 core hostapd[1529]: wlanG2: STA 44:39:c4:17:2b:af IEEE 802.11: authenticated
Oct 6 06:19:57 core hostapd: wlanG2: STA 44:39:c4:17:2b:af IEEE 802.11: associated (aid 1)
Oct 6 06:19:57 core hostapd[1529]: wlanG2: STA 44:39:c4:17:2b:af IEEE 802.11: associated (aid 1)
Oct 6 06:19:57 core hostapd: wlanG2: STA 44:39:c4:17:2b:af IEEE 802.11: disassociated
Oct 6 06:19:57 core hostapd[1529]: wlanG2: STA 44:39:c4:17:2b:af IEEE 802.11: disassociated
Oct 6 06:19:58 core hostapd: wlanG2: STA 44:39:c4:17:2b:af IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Oct 6 06:19:58 core hostapd[1529]: wlanG2: STA 44:39:c4:17:2b:af IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
...
fyi, my current
build-config
CONFIG_DRIVER_NL80211=y
CONFIG_DRIVER_NL80211_QCA=y
CONFIG_WPS=n
CONFIG_WPS_UPNP=n
CONFIG_WPS_NFC=n
CONFIG_IEEE80211AC=y
CONFIG_IAPP=y
CONFIG_IEEE80211N=y
CONFIG_IEEE80211R=y
CONFIG_IEEE80211W=y
CONFIG_IEEE80211AX=n
CONFIG_DEBUG_FILE=y
CONFIG_DEBUG_SYSLOG=y
CONFIG_FULL_DYNAMIC_VLAN=y
CONFIG_VLAN_NETLINK=y
CONFIG_TLS=openssl
CONFIG_TLSV11=y
CONFIG_TLSV12=y
CONFIG_RSN_PREAUTH=y
CONFIG_PEERKEY=y
CONFIG_LIBNL32=y
CONFIG_INTERNAL_LIBTOMMATH=y
CONFIG_INTERNAL_LIBTOMMATH_FAST=y
CONFIG_ACS=y
CONFIG_MBO=y
CONFIG_TAXONOMY=y
CONFIG_WPA_CLI_EDIT=y
CONFIG_NO_ACCOUNTING=y
CONFIG_NO_RADIUS=y
CONFIG_HS20=n
CONFIG_SQLITE=n
CONFIG_FST=y
CONFIG_FST_TEST=y
and
hostapd.conf
interface=wlp1s0u4
rsn_preauth_interfaces=wlp1s0u4
driver=nl80211
ctrl_interface=/var/run/hostapd2
ctrl_interface_group=0
hw_mode=g
channel=11
ieee80211d=1
country_code=US
ieee80211h=1
local_pwr_constraint=3
spectrum_mgmt_required=1
wmm_enabled=1
require_ht=0
ieee80211n=1
ieee80211ac=0
ht_capab=[HT40-][SHORT-GI-40][SHORT-GI-20][DSSS_CCK-40][RX-STBC1][MAX-AMSDU-3839]
eap_server=0
rsn_preauth=0
dynamic_vlan=0
vlan_file=/usr/local/etc/hostapd/hostapd.vlan.BLANK
logger_syslog=-1
logger_syslog_level=0
logger_stdout=-1
logger_stdout_level=4
wep_rekey_period=0
ap_max_inactivity=99999
skip_inactivity_poll=1
disassoc_low_ack=0
ssid=apU2
bssid=e2:08:6b:24:ed:c0
ignore_broadcast_ssid=0
auth_algs=1
wpa=2
rsn_pairwise=CCMP
wpa_key_mgmt=WPA-PSK-SHA256 WPA-PSK
wpa_psk_file=/usr/local/etc/hostapd/hostapd.wpa_psk.USER
macaddr_acl=1
accept_mac_file=/usr/local/etc/hostapd/hostapd.wpa_psk.USER
bss=wlanG2
ssid=apG2
bssid=e2:08:6b:24:ed:c1
ignore_broadcast_ssid=0
auth_algs=1
wpa=2
rsn_pairwise=TKIP CCMP
wpa_key_mgmt=WPA-PSK-SHA256 WPA-PSK
wpa_psk_file=/usr/local/etc/hostapd/hostapd.wpa_psk.GUEST
macaddr_acl=0
More information about the Hostap
mailing list