> -----Original Message----- > From: Paul Menzel <pmenzel@xxxxxxxxxxxxx> > Sent: Wednesday, November 9, 2022 12:18 AM > To: Ping-Ke Shih <pkshih@xxxxxxxxxxx> > Cc: linux-wireless@xxxxxxxxxxxxxxx; it+linux-wireless@xxxxxxxxxxxxx > Subject: Re: rtlwifi: RTL8188EE: Unable to connect to Wifi network > > Dear Linux folks, > > > Am 08.11.22 um 13:49 schrieb Paul Menzel: > > > Using Debian sid/unstable with Linux 6.1-rc3 [1] on an Intel Haswell > > Haier laptop with a RTL8188EE, I am unable to connect to a wireless > > network. > > > > $ sudo lspci -k -s 08:00.0 > > 08:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8188EE Wireless Network Adapter (rev > 01) > > Subsystem: AzureWave RTL8188EE Wireless Network Adapter > > Kernel driver in use: rtl8188ee > > Kernel modules: rtl8188ee > > > > ``` > > [ 262.822320] wlp8s0: authenticate with 6c:f3:7f:10:ae:12 > > [ 262.822341] wlp8s0: 80 MHz not supported, disabling VHT > > [ 262.832384] wlp8s0: send auth to 6c:f3:7f:10:ae:12 (try 1/3) > > [ 262.835124] wlp8s0: authenticated > > [ 262.839046] wlp8s0: associate with 6c:f3:7f:10:ae:12 (try 1/3) > > [ 262.850099] wlp8s0: RX AssocResp from 6c:f3:7f:10:ae:12 (capab=0x421 status=0 aid=1) > > [ 262.850331] wlp8s0: associated > > [ 262.850925] IPv6: ADDRCONF(NETDEV_CHANGE): wlp8s0: link becomes ready > > […] > > [ 307.618423] wlp8s0: deauthenticating from 6c:f3:7f:10:ae:12 by local choice (Reason: 3=DEAUTH_LEAVING) > > ``` > > > > wpa_supplicant 2:2.10-9+b2 logs: > > > > ``` > > Nov 08 13:29:35 brecht wpa_supplicant[612]: wlp8s0: SME: Trying to authenticate with 6c:f3:7f:10:ae:12 > (SSID='MPI Guest' freq=2437 MHz) > > Nov 08 13:29:35 brecht wpa_supplicant[612]: wlp8s0: Trying to associate with 6c:f3:7f:10:ae:12 (SSID='MPI > Guest' freq=2437 MHz) > > Nov 08 13:29:35 brecht wpa_supplicant[612]: wlp8s0: Associated with 6c:f3:7f:10:ae:12 > > Nov 08 13:29:35 brecht wpa_supplicant[612]: wlp8s0: CTRL-EVENT-CONNECTED - Connection to > 6c:f3:7f:10:ae:12 completed [id=0 id_str=] > > Nov 08 13:29:35 brecht wpa_supplicant[612]: bgscan simple: Failed to enable signal strength monitoring > > Nov 08 13:29:35 brecht wpa_supplicant[612]: wlp8s0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0 > > Nov 08 13:30:20 brecht wpa_supplicant[612]: wlp8s0: CTRL-EVENT-DISCONNECTED bssid=6c:f3:7f:10:ae:12 > reason=3 locally_generated=1 > > ``` > > > > With more debugging verbosity (`-d`) it shows: > > > > ``` > > […] > > Nov 08 13:42:13 brecht wpa_supplicant[3547]: wlp8s0: State: ASSOCIATED -> COMPLETED > > Nov 08 13:42:13 brecht wpa_supplicant[3547]: wlp8s0: Radio work 'sme-connect'@0x556b491b5a80 done in > 0.026679 seconds > > Nov 08 13:42:13 brecht wpa_supplicant[3547]: wlp8s0: radio_work_free('sme-connect'@0x556b491b5a80): > num_active_works --> 0 > > Nov 08 13:42:13 brecht wpa_supplicant[3547]: wlp8s0: CTRL-EVENT-CONNECTED - Connection to > 6c:f3:7f:10:ae:12 completed [id=0 > > id_str=] > > Nov 08 13:42:13 brecht wpa_supplicant[3547]: nl80211: Set wlp8s0 operstate 0->1 (UP) > > Nov 08 13:42:13 brecht wpa_supplicant[3547]: netlink: Operstate: ifindex=3 linkmode=-1 (no change), > operstate=6 (IF_OPER_UP) > > Nov 08 13:42:13 brecht wpa_supplicant[3547]: bgscan simple: Signal strength threshold -70 Short bgscan > interval 30 Long bgscan interval 86400 > > Nov 08 13:42:13 brecht wpa_supplicant[3547]: nl80211: Signal monitor threshold=-70 hysteresis=4 > > Nov 08 13:42:13 brecht wpa_supplicant[3547]: bgscan simple: Failed to enable signal strength monitoring > > Nov 08 13:42:13 brecht wpa_supplicant[3547]: bgscan simple: Init scan interval: 86400 > > Nov 08 13:42:13 brecht wpa_supplicant[3547]: bgscan: Initialized module 'simple' with parameters > '30:-70:86400' > > Nov 08 13:42:13 brecht wpa_supplicant[3547]: nl80211: Received scan results (19 BSSes) > > Nov 08 13:42:13 brecht wpa_supplicant[3547]: nl80211: Scan results indicate BSS status with > 6c:f3:7f:10:ae:12 as associated > > Nov 08 13:42:13 brecht wpa_supplicant[3547]: wlp8s0: BSS: Start scan result update 5 > > Nov 08 13:42:13 brecht wpa_supplicant[3547]: bgscan simple: scan result notification > > Nov 08 13:42:13 brecht wpa_supplicant[3547]: wlp8s0: Determining shared radio frequencies (max len 1) > > Nov 08 13:42:13 brecht wpa_supplicant[3547]: wlp8s0: Shared frequencies (len=1): completed iteration > > Nov 08 13:42:13 brecht wpa_supplicant[3547]: wlp8s0: freq[0]: 2437, flags=0x1 > > Nov 08 13:42:13 brecht wpa_supplicant[3547]: P2P: Add operating class 81 > > Nov 08 13:42:13 brecht wpa_supplicant[3547]: P2P: Channels - hexdump(len=13): 01 02 03 04 05 06 07 08 > 09 0a 0b 0c 0d > > Nov 08 13:42:13 brecht wpa_supplicant[3547]: P2P: Update channel list > > Nov 08 13:42:13 brecht wpa_supplicant[3547]: P2P: channels: 81:1,2,3,4,5,6,7,8,9,10,11,12,13 > > Nov 08 13:42:13 brecht wpa_supplicant[3547]: P2P: cli_channels: > > Nov 08 13:42:13 brecht wpa_supplicant[3547]: wlp8s0: Cancelling scan request > > Nov 08 13:42:13 brecht wpa_supplicant[3547]: WMM AC: AC mandatory: AC_BE=0 AC_BK=0 AC_VI=0 AC_VO=0 > > Nov 08 13:42:13 brecht wpa_supplicant[3547]: WMM AC: U-APSD queues=0x0 > > Nov 08 13:42:13 brecht wpa_supplicant[3547]: WMM AC: Valid WMM association, WMM AC is enabled > > Nov 08 13:42:13 brecht wpa_supplicant[3547]: wlp8s0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0 > > Nov 08 13:42:13 brecht wpa_supplicant[3547]: RTM_NEWLINK: ifi_index=3 ifname=wlp8s0 operstate=6 > linkmode=1 ifi_family=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP]) > > Nov 08 13:42:13 brecht wpa_supplicant[3547]: nl80211: Drv Event 46 (NL80211_CMD_CONNECT) received for > wlp8s0 > > Nov 08 13:42:13 brecht wpa_supplicant[3547]: nl80211: Ignore connect event (cmd=46) when using userspace > SME > > Nov 08 13:42:58 brecht wpa_supplicant[3547]: nl80211: Drv Event 20 (NL80211_CMD_DEL_STATION) received No beacon loss messages between NL80211_CMD_CONNECT and NL80211_CMD_DEL_STATION, so 8188ee seems to receive packets well. Please check if you have more than one daemon working at the same time. A way is to turn off WiFi from GUI, and use 'iw connect' to connect an AP without security. Ping-Ke