我已经买了 这张卡在亚马逊上
我将卡连接到 USB3 端口 OK
我下载并安装驱动程序
git clone https://github.com/morrownr/88x2bu-20210702
make
make install
modprobe 88x2bu
dmesg 上没有错误,一切似乎都很好。
然后我开始首先使用网络管理器配置网络
nmcli device wifi list
报告我的网络
*************** hotspot-2 Infra 36 405 Mbit/s 70 ▂▄▆_ WPA2 WPA3
*************** hotspot-1 Infra 11 195 Mbit/s 60 ▂▄▆_ WPA2 WPA3
我尝试连接到第一个(我有密码)
nmcli device wifi connect hotspot-1 password 'mypass'
并返回这个错误
Error: Connection activation failed: (7) Secrets were required, but not provided.
hotspot-2 也是如此。
所以我尝试经典的方式(wpa_supplicant + dhclient)
我配置了wpa_supplicant.conf
network={
ssid="hotspot-1"
psk="Thepass"
proto=RSN
key_mgmt=WPA-PSK
pairwise=CCMP
auth_alg=OPEN
}
我启动 wpa_supplicant 守护进程并说..
wlan1: CTRL-EVENT-SCAN-FAILED ret=-16 retry=1
wlan1: CTRL-EVENT-SCAN-FAILED ret=-16 retry=1
wlan1: Trying to associate with ********* (SSID='hospot-2' freq=5180 MHz)
nl80211: kernel reports: Authentication algorithm number required
wlan1: CTRL-EVENT-STARTED-CHANNEL-SWITCH freq=5180 ht_enabled=1 ch_offset=1 ch_width=80 MHz cf1=5210 cf2=0
wlan1: Associated with ****
wlan1: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
wlan1: CTRL-EVENT-DISCONNECTED bssid=********* reason=2
wlan1: WPA: 4-Way Handshake failed - pre-shared key may be incorrect
wlan1: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="hotspot-2" auth_failures=1 duration=10 reason=WRONG_KEY
wlan1: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
wlan1: CTRL-EVENT-SSID-REENABLED id=0 ssid="hotspot-2"
所以我尝试了另一种配置
ssid="network SSID"
key_mgmt=WPA-PSK-SHA256
psk=xxx
ieee80211w=2
我尝试过,但什么也没发生
Successfully initialized wpa_supplicant
nl80211: kernel reports: Authentication algorithm number required
wlan1: CTRL-EVENT-SCAN-FAILED ret=-16 retry=1
有什么建议吗?
答案1
找到解决方法:我已经安装了 Slackware 15 并且该卡与 nmcli 完美配合