我正在尝试在我的 arch-linux 电脑上安装一个 wifi 加密狗。
当我插入它时,它没有检测到它:
# ~ 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
关于问题是什么以及如何解决它,您有什么想法吗?