This is an old revision of the document!
For some reasons current Ubuntu 22.04/24.04 LTS with Linux kernel 6.8 doesn't support the Intel AX211 Wi-Fi module, so we need to use
the backport-iwlwifi drivers to make the Wi-Fi work.
As we need do download the Wi-Fi driver and firmware from the internet, so you need a USB ethernet adaptor to access the network.
Follow the steps below to download the Wi-Fi driver:
$ sudo apt update $ sudo apt install -y git build-essential gcc-12 $ cd ~/Downloads $ git clone git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/backport-iwlwifi.git -b release/core91 --depth=1
Build and install the Wi-Fi driver:
$ cd ~/Downloads/backport-iwlwifi $ make defconfig-iwlwifi-public $ make -j10 $ sudo make install $ sync
You also need to follow the steps below to update the Wi-Fi firmware:
$ wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/iwlwifi-bz-b0-gf-a0-94.ucode -P /tmp $ wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/iwlwifi-bz-b0-gf-a0.pnvm -P /tmp/ $ sudo cp /tmp/iwlwifi-bz-b0-gf-a0* /lib/firmware/ $ sync
Then you need to reboot your device to take effect.