尝试让我的 kali linux 识别我的华硕 ac53 nano 无线适配器

尝试让我的 kali linux 识别我的华硕 ac53 nano 无线适配器

嘿,每个人都喜欢这个标题,说我正在尝试在我的新安装的 Kali 上使用 wi-fi。我能够将我的手机连接到它,因此我已经完成sudo apt update并向我的sources.list文件添加了更多源。我能得到的任何其他帮助将不胜感激!

razanumberone㉿Raza)-[~]
└─$ uname -r                                                                                                  1 ⨯
5.10.0-kali3-amd64
                                                                                                                   
┌──(razanumberone㉿Raza)-[~]
└─$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 015: ID 04e8:6864 Samsung Electronics Co., Ltd GT-I9070 (network tethering, USB debugging enabled)
Bus 001 Device 004: ID 1b80:b510 Afatech USB Gaming Keyboard
Bus 001 Device 003: ID 0b05:184c ASUSTek Computer, Inc. 802.11ac NIC
Bus 001 Device 002: ID 18f8:0f99 [Maxxter] Optical gaming mouse
Bus 001 Device 008: ID 1a86:7523 QinHeng Electronics CH340 serial converter
Bus 001 Device 007: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 006: ID 045e:02ea Microsoft Corp. Xbox One S Controller
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
                                                                                                                   
┌──(razanumberone㉿Raza)-[~]
└─$ sudo apt-get install kali-linux-wireless                                      
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libpython2.7-stdlib : Breaks: python-numpy (< 1:1.12.1-3.1) but 1:1.6.2-1.2 is to be installed
 mariadb-client-10.3 : Conflicts: virtual-mysql-client
                       Breaks: mysql-client-5.5 but 5.5.40-0+wheezy1 is to be installed
 mariadb-client-core-10.3 : Conflicts: mysql-client-5.5 but 5.5.40-0+wheezy1 is to be installed
 mariadb-server-core-10.3 : Conflicts: mysql-server-5.5 but 5.5.40-0+wheezy1 is to be installed
                            Breaks: mysql-client-5.5 but 5.5.40-0+wheezy1 is to be installed
                            Breaks: mysql-server-core-5.5 but 5.5.40-0+wheezy1 is to be installed
 mysql-common : Conflicts: mysql-server-5.5 but 5.5.40-0+wheezy1 is to be installed
 python-is-python2 : Breaks: python-minimal but 2.7.3-4+deb7u1 is to be installed
 python2-minimal : Breaks: python-minimal (< 2.7.15-2) but 2.7.3-4+deb7u1 is to be installed
 tcl : Breaks: tcl8.5 (< 8.5.14-3) but 8.5.11-2 is to be installed
 tk : Breaks: tk8.5 (< 8.5.14-3) but 8.5.11-2 is to be installed
 wifitap : Depends: python-scapy but it is not installable
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

┌──(razanumberone㉿Raza)-[~]
└─$         

答案1

解决破碎的apt

apt 坏了,因为你混合了卡利存储库与 debian wheezy 回购协议。为了解决这个问题:

sudo rm -rf /etc/apt/sources.list.d/*
echo "deb http://http.kali.org/kali kali-rolling main non-free contrib" |\
sudo tee /etc/apt/sources.list
sudo apt update
sudo apt upgrade

让无线工作。

克隆jeremyb31/rtl8822bu存储库:

一些使用此驱动程序的已知无线卡包括

  • 爱迪麦克斯 EW-7822ULC
  • 华硕 AC-53 NANO

注意:编译此模块至少需要 v4.7,抱歉,使用旧内核的人,代码已被删除。根据要求,我可以努力使其向后兼容。

git clone https://github.com/jeremyb31/rtl8822bu.git
cd rtl8822bu
make
sudo make install
sudo modprobe -v 8822bu
lsmod |grep 8822bu

相关内容