morrownr / 88x2bu

Linux Driver for USB WiFi Adapters that are based on the RTL8812BU and RTL8822BU Chipsets
434 stars 73 forks source link

[help wanted]wpa_supplicant fail with driver wext but success with nl80211 #84

Closed aijunlu-ella closed 2 years ago

aijunlu-ella commented 3 years ago

model: https://www.amazon.com/1200Mbps-Network-Adapter-866Mbps-300Mbps/dp/B07RQG97GX It works well with driver nl80211 but fails when using below cmd wpa_supplicant -c wpa_supplicant.conf -iwlan1 -Dwext -dd

wpa_supplicant v2.4
random: Trying to read entropy from /dev/random
Successfully initialized wpa_supplicant
Initializing interface 'wlan1' conf 'wpa_supplicant.conf' driver 'wext' ctrl_interface 'N/A' bridge 'N/A'
Configuration file 'wpa_supplicant.conf' -> '/home/test/wpa_supplicant.conf'
Reading configuration file '/home/test/wpa_supplicant.conf'
Line: 1 - start of a new network block
ssid - hexdump_ascii(len=7):
     74 65 73 74 61 62 63                              testabc         
PSK - hexdump(len=32): [REMOVED]
Priority group 0
   id=0 ssid='testabc'
WEXT: cfg80211-based driver detected
wext: interface wlan1 phy: phy1
rfkill: initial event: idx=0 type=1 op=0 soft=0 hard=0
rfkill: initial event: idx=1 type=1 op=0 soft=0 hard=0
rfkill: initial event: idx=2 type=1 op=0 soft=0 hard=0
SIOCGIWRANGE: WE(compiled)=22 WE(source)=16 enc_capa=0xf
  capabilities: key_mgmt 0xf enc 0x1f flags 0x0
ioctl[SIOCSIWAP]: Operation not permitted
WEXT: Failed to clear BSSID selection on disconnect
netlink: Operstate: ifindex=5 linkmode=1 (userspace-control), operstate=5 (IF_OPER_DORMANT)
Add interface wlan1 to a new radio phy1
morrownr commented 3 years ago

I haven't been ignoring this issue, I'm just behind due to working other things.

I'm scratching my head. What is it that you are trying to do?