Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:maker-kit:mind-2-ai-maker-kit:troubleshooting:fix-wifi

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
products:maker-kit:mind-2-ai-maker-kit:troubleshooting:fix-wifi [2024/12/27 04:27]
nick
products:maker-kit:mind-2-ai-maker-kit:troubleshooting:fix-wifi [2024/12/30 05:28] (current)
nick
Line 1: Line 1:
 {{indexmenu_n>5}} {{indexmenu_n>5}}
  
 +/*
 ====== Fix Ubuntu Wi-Fi ====== ====== Fix Ubuntu Wi-Fi ======
  
-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 you need to use+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 you need to use
 the [[https://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/backport-iwlwifi.git/ | backport-iwlwifi]] driver to make the Wi-Fi work. the [[https://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/backport-iwlwifi.git/ | backport-iwlwifi]] driver to make the Wi-Fi work.
  
Line 11: Line 11:
 As you need to download the Wi-Fi driver and firmware from the internet, so **you need a USB ethernet adaptor to access the network**. As you need to download the Wi-Fi driver and firmware from the internet, so **you need a USB ethernet adaptor to access the network**.
  
 +===== Disable the Secure Boot =====
 +
 +You need to disable the Secure Boot to update the Wi-Fi drivers, you can follow the steps below to disable the Secure Boot.
 +
 +Reboot and press ''DELETE'' to enter BIOS setup menu, and then navigate to ''Security'' -> ''Secure Boot'', and setup to ''Disabled'', press ''F4'' to save and reboot.
 +
 +===== Upgrade your system =====
 +
 +```shell
 +$ sudo apt update
 +$ sudo apt full-upgrade -y
 +$ sync
 +$ sudo reboot
 +```
 ===== Download and install the Wi-Fi driver ===== ===== Download and install the Wi-Fi driver =====
  
Line 17: Line 31:
 ```shell ```shell
 $ sudo apt update $ sudo apt update
-$ sudo apt install -y git build-essential gcc-12+$ sudo apt install -y git build-essential gcc-12 net-tools
 $ cd ~/Downloads $ cd ~/Downloads
 $ git clone git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/backport-iwlwifi.git -b release/core91 --depth=1 $ git clone git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/backport-iwlwifi.git -b release/core91 --depth=1
Line 31: Line 45:
 $ sync $ sync
 ``` ```
-===== Updatel the Wi-Fi firmware =====+===== Update the Wi-Fi firmware =====
  
 You also need to follow the steps below to update the Wi-Fi firmware: You also need to follow the steps below to update the Wi-Fi firmware:
Line 48: Line 62:
 ``` ```
  
-===== Check Wi-Fi driver =====+===== Check Wi-Fi status =====
  
 After reboot, you can check the kernel log about the Wi-Fi driver. After reboot, you can check the kernel log about the Wi-Fi driver.
Line 72: Line 86:
  
 ```shell ```shell
-khadas@khadas-Mind-2-AI-Maker-Kit:~$ ifconfig wlo1+$ ifconfig wlo1
 wlo1: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500 wlo1: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
         ether b0:dc:ef:58:db:3f  txqueuelen 1000  (Ethernet)         ether b0:dc:ef:58:db:3f  txqueuelen 1000  (Ethernet)
Line 81: Line 95:
 ``` ```
  
 +===== Troubleshooting =====
 +
 +If you upgrade the kernel manually then you may need to [[#download-and-install-the-wi-fi-driver | Download and install the Wi-Fi driver
 +]] again to make the Wi-Fi work.
 +
 +===== In the end =====
 +
 +The Linux kernel ''6.11+'' already supports the AX211 Wi-Fi module, so in the future once we get the Ubuntu official kernel update to ''6.11+'', the Wi-Fi will work and no need the steps above.
  
 +*/
Last modified: 2024/12/27 04:27 by nick