1.添加软件源
vim /etc/apt/sources.list
deb http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib
deb http://mirrors.aliyun.com/kali sana main non-free contrib
deb http://mirrors.aliyun.com/kali-security/ sana/updates main contrib non-free
deb-src http://mirrors.aliyun.com/kali-security/ sana/updates main contrib non-free
2.安装内核头文件
sudo apt update && dist-upgrade
sudo apt install linux-headers-`uname -r`
3.安装驱动
指令 lspci
可以确定自己的无线网卡型号,形如:
Network controller : Broadcom Corporation BCM43227 802.11b / g / n
而我自己的是BCM43142。
接下来:
sudo apt install broadcom-sta-dkms
4.重新启动
5.wifi已经好了