我正在努力安装 tp-link AC600 Archer T2U nano USB 无线适配器。我运行的是内核为 5.3.0-42-generic 的 ubuntu eoan
首先,我使用 dkms 安装了最新的 8812au 驱动程序。现在我有
# dkms status
rtl8812au, 5.6.4.2, 5.3.0-42-generic, x86_64: installed
有了该模块,ubuntu 就能识别我的新 wlan0。
iwconfig 说:
wlan0 unassociated Nickname:"<WIFI@REALTEK>"
Mode:Managed Frequency=2.412 GHz Access Point: Not-Associated
但在网络管理器中,新设备没有出现。我在日志中只看到:
NetworkManager[8760]: <warn> [1585400935.4713] device (wlan0): re-acquiring supplicant interface (#5).
wpa_supplicant[6147]: Could not set interface wlan0 flags (UP): Operation not permitted
wpa_supplicant[6147]: nl80211: Could not set interface 'wlan0' UP
(...)
wpa_supplicant 的新配置文件。
与上面的日志条目相同。现在我尝试直接在调试模式下启动 wpa_supplicant:
# wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant-wlan0.conf -i wlan0 -dd
wpa_supplicant v2.9
random: getrandom() support available
Successfully initialized wpa_supplicant
Initializing interface 'wlan0' conf '/etc/wpa_supplicant/wpa_supplicant-wlan0.conf' driver 'default' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/wpa_supplicant/wpa_supplicant-wlan0.conf' -> '/etc/wpa_supplicant/wpa_supplicant-wlan0.conf'
Reading configuration file '/etc/wpa_supplicant/wpa_supplicant-wlan0.conf'
ctrl_interface='DIR=/var/run/wpa_supplicant GROUP=wheel'
Line: 5 - start of a new network block
ssid - hexdump_ascii(len=5):
6d 69 73 63 68 misch
scan_ssid=1 (0x1)
key_mgmt: 0x2
PSK (ASCII passphrase) - hexdump_ascii(len=12): [REMOVED]
PSK (from passphrase) - hexdump(len=32): [REMOVED]
Priority group 0
id=0 ssid='misch'
(...)
rfkill: initial event: idx=3 type=1 op=0 soft=0 hard=0
Could not set interface wlan0 flags (UP): Operation not permitted
nl80211: Could not set interface 'wlan0' UP
(...)
wlan0: Failed to initialize driver interface
Failed to add interface wlan0
如何解决 wpa_supplicant 似乎不被允许启动接口的问题?
迈克尔