reference:
Wireshark capture wireless Dafa -WiFi6
First, disassemble change WIFI card
The intermediate cover plate, three screws up, there can be seen near the fuselage keyboard WIFI card
And AX200 are narrow card, the interface is not the same under an electric shock, but still fit (AX200 specification describes support Thinkpad)
Antenna Note: black antenna connected to a button, buttons gray antenna ground 2
Second, the application update
sudo apt-get update -y sudo apt-get upgrade -y
Third, to update the kernel 5.1
Need to upgrade to the latest Linux kernel> 5.1, and uses the latest wireless adapter firmware. I have to upgrade to the 5.1 version of the Linux kernel
Download and install the kernel's official website (Ubuntu 16.04 64-bit systems):
cd /tmp/ wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.1/linux-headers-5.1.0-050100_5.1.0-050100.201905052130_all.deb wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.1/linux-headers-5.1.0-050100-generic_5.1.0-050100.201905052130_amd64.deb wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.1/linux-image-unsigned-5.1.0-050100-generic_5.1.0-050100.201905052130_amd64.deb wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.1/linux-modules-5.1.0-050100-generic_5.1.0-050100.201905052130_amd64.deb sudo dpkg -i *.deb
最好使用sudo dpkg -i xxx.deb一个个安装,看每一个deb包是否需要依赖。
安装linux-headers-5.1.0-050100-generic_5.1.0-050100.201905052130_amd64.deb时出现依赖libssl1.1 is not installed问题,解决方案参考如下:
https://www.cnblogs.com/gambler/p/9574596.html
下载libssl1.1_1.1.0g-2ubuntu4.1_amd64.deb进行dpkg安装
其他32位系统可参考:
cd /tmp/ wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.1/linux-headers-5.1.0-050100_5.1.0-050100.201905052130_all.deb wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.1/linux-headers-5.1.0-050100-generic_5.1.0-050100.201905052130_i386.deb wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.1/linux-image-5.1.0-050100-generic_5.1.0-050100.201905052130_i386.deb wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.1/linux-modules-5.1.0-050100-generic_5.1.0-050100.201905052130_i386.deb sudo dpkg -i *.deb
安装完成,重启设备生效
sudo reboot 启动完成 uname -a
四、升级WI-FI驱动
升级iwlwifi驱动程序,如下命令:(注意打开CPTCFG_CFG80211_WEXT支持iwconfig)
git clone --single-branch --branch release/core45 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 sed -i 's/# CPTCFG_CFG80211_WEXT is not set/CPTCFG_CFG80211_WEXT=y/' .config make -j4 sudo make install
中间有ssl报错可以不用理会
五、安装AX200 官方固件
从下面的链接下载最新的固件。
https://www.intel.com/content/www/us/en/support/articles/000005511/network-and-i-o/wireless-networking.html
tar xzvf iwlwifi-cc-46.3cfab8da.0.tgz cd iwlwifi-cc-46.3cfab8da.0/ cp iwlwifi-cc-a0-46.ucode /lib/firmware/
七、WIFI6抓包
iwconfig配置:
sudo killall -9 wpa_supplicant sudo ifconfig wlp4s0 down sudo iwconfig wlp4s0 mode monitor sudo ifconfig wlp4s0 up
aircrack-ng configuration:
sudo airmon-start wlp4s0 sudo airodump-of mon0 sudo airmon-stop wlp4s0