我正在嘗試在我的 arch-linux 電腦上安裝 wifi dongle。
當我插入它時,它沒有檢測到:
# ~ ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
link/ether bc:5f:f4:cf:b0:f2 brd ff:ff:ff:ff:ff:ff
因此,正如 arch wiki 上所述,我安裝dkms
並rtl88xxau-aircrack-dkms-git
打包了。
完成此操作後,我可以看到該設備:
# ~ ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
link/ether bc:5f:f4:cf:b0:f2 brd ff:ff:ff:ff:ff:ff
3: wlp0s29u1u3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether 34:e8:94:ca:8f:05 brd ff:ff:ff:ff:ff:ff
# ~ iw dev
phy#0
Interface wlp0s29u1u3
ifindex 3
wdev 0x1
addr 34:e8:94:ca:8f:05
type managed
txpower 0.00 dBm
但現在,當我嘗試把它放出來時,我得到:
# ~ ip link set wlp0s29u1u3 up
RTNETLINK answers: Operation not permitted
rfkill 不是這裡的問題:
# ~ rfkill list
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
當然,wpa_supplicant 也沒有連接:
# ~ wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -i wlp0s29u1u3
Successfully initialized wpa_supplicant
Could not set interface wlp0s29u1u3 flags (UP): Operation not permitted
nl80211: Could not set interface 'wlp0s29u1u3' UP
nl80211: deinit ifname=wlp0s29u1u3 disabled_11b_rates=0
wlp0s29u1u3: Failed to initialize driver interface
關於問題是什麼以及如何解決它有什麼想法嗎?