sudo apt-get install git
git clone https://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/backport-iwlwifi.git
cd backport-iwlwifi
make defconfig-iwlwifi-public
sed -i 's/CPTCFG_IWLMVM_VENDOR_CMDS=y/# CPTCFG_IWLMVM_VENDOR_CMDS is not set/' .config
make -j4
sudo make install
这里会提示很多依赖找不到文件,重启一般就可以看到wifi了,如果还看不到,继续
Reboot and if the wireless doesn't work, in terminal
dmesg | grep iwl | nc termbin.com 9999
cd backport-iwlwifi
make clean
make defconfig-iwlwifi-public
make -j4
sudo make install