使用UNO1372GH和华硕 USB-AC56R。安装 win10 时使用适配器没有问题,但使用 Linux 18.04.4 LTS 的驱动程序时遇到问题。
这台电脑没有安全启动(甚至不是一个选项)。
首先,我从华硕支持网站下载并尝试制作官方驱动程序,但制作失败(似乎是一个常见问题)。
然后我尝试下载不道德行为的驱动因素。这些编译成功,但是当我使用 modprobe 并重新启动时,仍然没有检测到 Wi-Fi 加密狗。
我还尝试了 repo 中的最新版本:sudo apt install rtl8812au-dkms。这个也安装得很好,但仍然没有被检测到。
检查 dmesg,我得到:
iws-ts-001@iwsts001-UNO-1372G-E3AE:~$ dmesg | grep RTL871X
[ 218.658179] RTL871X: module init start
[ 218.658184] RTL871X: rtl8812au v4.3.8_12175.20140902
[ 218.658185] RTL871X: build time: Jul 27 2020 19:18:34
[ 218.658266] RTL871X: module init ret=0
[ 221.186675] RTL871X: module exit start
[ 221.186750] RTL871X: module exit success
[ 221.330052] RTL871X: module init start
[ 221.330055] RTL871X: rtl8812au v4.3.8_12175.20140902
[ 221.330057] RTL871X: build time: Jul 27 2020 19:18:34
[ 221.330130] RTL871X: module init ret=0
使用lshw -c network
仅返回我的以太网适配器,并且iw list
不返回任何内容。
还尝试过:
lsmod | grep 8812
8812au 1290240 0
cfg80211 712704 1 8812au
我的 USB 列表:
lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 005: ID 058f:6387 Alcor Micro Corp. Flash Drive
Bus 001 Device 003: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 002: ID 046d:c534 Logitech, Inc. Unifying Receiver
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
我似乎已经安装了rtl8812au
sudo modinfo rtl8812au
filename: /lib/modules/5.4.0-42-generic/kernel/drivers/net/wireless/rtl8812au.ko
version: v4.3.14_13455.20150212_BTCOEX20150128-51
author: Realtek Semiconductor Corp.
description: Realtek Wireless Lan Driver
license: GPL
srcversion: 563D0DCC21D421BB16893BF
alias: usb:v2357p011Ed*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v3823p6249d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0BDApA811d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v056Ep400Ed*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v056Ep4007d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0411p029Bd*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0411p025Dd*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0411p0242d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v2019pAB32d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0846p9052d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0E66p0023d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v2001p3318d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v2001p3314d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v04BBp0953d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0BDApA811d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v7392pA813d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v7392pA812d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v7392pA811d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0BDAp0823d*dc*dsc*dp*icFFiscFFipFFin*
alias: usb:v0BDAp0820d*dc*dsc*dp*icFFiscFFipFFin*
alias: usb:v0BDAp8822d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0BDAp0821d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0BDAp0811d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v148Fp9097d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v2357p0122d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v2357p010Fd*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v2357p0103d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v2357p010Ed*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v2357p0115d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v2357p010Dd*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v2357p0101d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v20F4p805Bd*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v2001p3316d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v2001p3315d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v07B8p8812d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v2019pAB30d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v1740p0100d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v13B1p003Fd*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v1058p0632d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v2001p3313d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0586p3426d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0E66p0022d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0B05p17D2d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0409p0408d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0789p016Ed*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v04BBp0952d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0DF6p0074d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v7392pA822d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v2604p0012d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v2001p330Ed*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v050Dp1109d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v050Dp1106d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0BDAp881Cd*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0BDAp881Bd*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0BDAp881Ad*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0BDAp8812d*dc*dsc*dp*ic*isc*ip*in*
depends: cfg80211
retpoline: Y
name: rtl8812au
vermagic: 5.4.0-42-generic SMP mod_unload
parm: rtw_ips_mode:The default IPS mode (int)
parm: rtw_usb_rxagg_mode:int
parm: rtw_qos_opt_enable:int
parm: ifname:The default name to allocate for first interface (charp)
parm: if2name:The default name to allocate for second interface (charp)
parm: rtw_initmac:charp
parm: rtw_channel_plan:int
parm: rtw_special_rf_path:int
parm: rtw_chip_version:int
parm: rtw_rfintfs:int
parm: rtw_lbkmode:int
parm: rtw_network_mode:int
parm: rtw_channel:int
parm: rtw_mp_mode:int
parm: rtw_wmm_enable:int
parm: rtw_vrtl_carrier_sense:int
parm: rtw_vcs_type:int
parm: rtw_busy_thresh:int
parm: rtw_ht_enable:int
parm: rtw_bw_mode:int
parm: rtw_ampdu_enable:int
parm: rtw_rx_stbc:int
parm: rtw_ampdu_amsdu:int
parm: rtw_vht_enable:int
parm: rtw_lowrate_two_xmit:int
parm: rtw_rf_config:int
parm: rtw_power_mgnt:int
parm: rtw_smart_ps:int
parm: rtw_low_power:int
parm: rtw_wifi_spec:int
parm: rtw_antdiv_cfg:int
parm: rtw_antdiv_type:int
parm: rtw_enusbss:int
parm: rtw_hwpdn_mode:int
parm: rtw_hwpwrp_detect:int
parm: rtw_hw_wps_pbc:int
parm: rtw_max_roaming_times:The max roaming times to try (uint)
parm: rtw_mc2u_disable:int
parm: rtw_80211d:Enable 802.11d mechanism (int)
parm: rtw_notch_filter:0:Disable, 1:Enable, 2:Enable only for P2P (uint)
parm: rtw_led_enable:Enable status LED (int)
parm: rtw_hiq_filter:0:allow all, 1:allow special, 2:deny all (uint)
parm: rtw_adaptivity_en:0:disable, 1:enable (uint)
parm: rtw_adaptivity_mode:0:normal, 1:carrier sense (uint)
parm: rtw_adaptivity_dml:0:disable, 1:enable (uint)
parm: rtw_amplifier_type_2g:BIT3:2G ext-PA, BIT4:2G ext-LNA (uint)
parm: rtw_amplifier_type_5g:BIT6:5G ext-PA, BIT7:5G ext-LNA (uint)
parm: rtw_RFE_type:default init value:64 (uint)
parm: rtw_TxBBSwing_2G:default init value:0xFF (uint)
parm: rtw_TxBBSwing_5G:default init value:0xFF (uint)
parm: rtw_OffEfuseMask:default open Efuse Mask vaule:0 (uint)
parm: rtw_FileMaskEfuse:default drv Mask Efuse vaule:0 (uint)
parm: rtw_tx_pwr_lmt_enable:0:Disable, 1:Enable, 2: Depend on efuse (int)
parm: rtw_tx_pwr_by_rate:0:Disable, 1:Enable, 2: Depend on efuse (int)
parm: rtw_phy_file_path:The path of phy parameter (charp)
parm: rtw_load_phy_file:PHY File Bit Map (int)
parm: rtw_decrypt_phy_file:Enable Decrypt PHY File (int)
和 8812au:
sudo modinfo 8812au
filename: /lib/modules/5.4.0-42-generic/updates/dkms/8812au.ko
version: v4.3.8_12175.20140902
author: Realtek Semiconductor Corp.
description: Realtek Wireless Lan Driver
license: GPL
srcversion: A1B4B8FF70567B29CF1C971
alias: usb:v056Ep4007d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0411p0242d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v2019pAB32d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0846p9052d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0E66p0023d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v2001p3318d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v2001p3314d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v04BBp0953d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v7392pA813d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v7392pA812d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v7392pA811d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0BDAp0820d*dc*dsc*dp*icFFiscFFipFFin*
alias: usb:v0BDAp8822d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0BDAp0821d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0BDAp0811d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0411p025Dd*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v2357p0103d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v2357p0101d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v20F4p805Bd*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v2001p3316d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v2001p3315d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v07B8p8812d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v2019pAB30d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v1740p0100d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v148Fp9097d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v13B1p003Fd*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v1058p0632d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v2001p3313d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0586p3426d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0E66p0022d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0B05p17D2d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0409p0408d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0789p016Ed*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v04BBp0952d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0DF6p0074d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v7392pA822d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v2001p330Ed*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v050Dp1109d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v050Dp1106d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0BDAp881Cd*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0BDAp881Bd*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0BDAp881Ad*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0BDAp8812d*dc*dsc*dp*ic*isc*ip*in*
depends: cfg80211
retpoline: Y
name: 8812au
vermagic: 5.4.0-42-generic SMP mod_unload
signat: PKCS#7
signer:
sig_key:
sig_hashalgo: md4
parm: rtw_ips_mode:The default IPS mode (int)
parm: rtw_usb_rxagg_mode:int
parm: rtw_qos_opt_enable:int
parm: ifname:The default name to allocate for first interface (charp)
parm: if2name:The default name to allocate for second interface (charp)
parm: rtw_initmac:charp
parm: rtw_channel_plan:int
parm: rtw_special_rf_path:int
parm: rtw_chip_version:int
parm: rtw_rfintfs:int
parm: rtw_lbkmode:int
parm: rtw_network_mode:int
parm: rtw_channel:int
parm: rtw_mp_mode:int
parm: rtw_wmm_enable:int
parm: rtw_vrtl_carrier_sense:int
parm: rtw_vcs_type:int
parm: rtw_busy_thresh:int
parm: rtw_ht_enable:int
parm: rtw_bw_mode:int
parm: rtw_ampdu_enable:int
parm: rtw_rx_stbc:int
parm: rtw_ampdu_amsdu:int
parm: rtw_vht_enable:int
parm: rtw_lowrate_two_xmit:int
parm: rtw_rf_config:int
parm: rtw_power_mgnt:int
parm: rtw_smart_ps:int
parm: rtw_low_power:int
parm: rtw_wifi_spec:int
parm: rtw_antdiv_cfg:int
parm: rtw_antdiv_type:int
parm: rtw_enusbss:int
parm: rtw_hwpdn_mode:int
parm: rtw_hwpwrp_detect:int
parm: rtw_hw_wps_pbc:int
parm: rtw_max_roaming_times:The max roaming times to try (uint)
parm: rtw_mc2u_disable:int
parm: rtw_80211d:Enable 802.11d mechanism (int)
parm: rtw_notch_filter:0:Disable, 1:Enable, 2:Enable only for P2P (uint)
parm: rtw_hiq_filter:0:allow all, 1:allow special, 2:deny all (uint)
parm: rtw_adaptivity_en:0:disable, 1:enable, 2:auto (uint)
parm: rtw_adaptivity_mode:0:normal, 1:carrier sense (uint)
parm: rtw_nhm_en:0:disable, 1:enable (uint)
parm: rtw_amplifier_type_2g:BIT3:2G ext-PA, BIT4:2G ext-LNA (uint)
parm: rtw_amplifier_type_5g:BIT6:5G ext-PA, BIT7:5G ext-LNA (uint)
parm: rtw_RFE_type:default init value:64 (uint)
parm: rtw_TxBBSwing_2G:default init value:0xFF (uint)
parm: rtw_TxBBSwing_5G:default init value:0xFF (uint)
parm: rtw_tx_pwr_lmt_enable:0:Disable, 1:Enable, 2: Depend on efuse (int)
parm: rtw_tx_pwr_by_rate:0:Disable, 1:Enable, 2: Depend on efuse (int)
parm: rtw_phy_file_path:The path of phy parameter (charp)
parm: rtw_load_phy_file:PHY File Bit Map (int)
parm: rtw_decrypt_phy_file:Enable Decrypt PHY File (int)
这两种方法似乎都不起作用。我浏览了论坛,但似乎没有解决方案对我有用。祈祷有人(呼叫 chili555)能将我从网络驱动程序噩梦中拯救出来!
编辑:哎呀,我运行 lsusb 时意外没有插入加密狗。这是插入后的输出。
iws-ts-001@iwsts001-UNO-1372G-E3AE:~$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 003: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 002: ID 046d:c534 Logitech, Inc. Unifying Receiver
Bus 001 Device 006: ID 0b05:17d2 ASUSTek Computer, Inc.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
答案1
对于遇到此问题的任何人来说,以下解决方案对我有用。
下载aircrack-ng 的最新驱动程序。您可以下载 zip 并解压,也可以使用 git clone。如果您使用 git clone,请记住签出到最新分支(撰写本文时当前为 v5.7.0)。
按照 git read.me 中的安装说明使用 dkms。安装完成后,输入
sudo modprobe -v 88XXau
然后
sudo service NetworkManager restart