This shows you the differences between two versions of the page.
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:22] 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> | {{indexmenu_n> | ||
+ | /* | ||
====== Fix Ubuntu Wi-Fi ====== | ====== Fix Ubuntu Wi-Fi ====== | ||
- | For some reasons current Ubuntu 22.04/24.04 LTS with Linux kernel 6.8 doesn' | + | For some reasons current Ubuntu |
- | + | the [[https:// | |
- | the [[https:// | + | |
===== Preparation ===== | ===== Preparation ===== | ||
- | 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**. | + | 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 '' | ||
+ | |||
+ | ===== 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 18: | 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 |
$ cd ~/Downloads | $ cd ~/Downloads | ||
$ git clone git:// | $ git clone git:// | ||
Line 32: | Line 45: | ||
$ sync | $ sync | ||
``` | ``` | ||
- | ===== Updatel | + | ===== Update |
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 45: | Line 58: | ||
**Then you need to reboot your device to take effect.** | **Then you need to reboot your device to take effect.** | ||
+ | ```shell | ||
+ | $ sudo reboot | ||
+ | ``` | ||
+ | |||
+ | ===== Check Wi-Fi status ===== | ||
+ | |||
+ | After reboot, you can check the kernel log about the Wi-Fi driver. | ||
+ | |||
+ | ```shell | ||
+ | $ sudo dmesg | grep iw | ||
+ | [ 1.466177] Loading modules backported from iwlwifi | ||
+ | [ 1.466183] iwlwifi-stack-public: | ||
+ | [ 1.526533] iwlwifi 0000: | ||
+ | [ 1.545348] iwlwifi 0000: | ||
+ | [ 1.545364] iwlwifi 0000: | ||
+ | [ 1.545366] iwlwifi 0000: | ||
+ | [ 1.554165] iwlwifi 0000: | ||
+ | [ 1.554464] iwlwifi 0000: | ||
+ | [ 2.082992] iwlwifi 0000: | ||
+ | [ 2.101329] iwlwifi 0000: | ||
+ | [ 2.165121] iwlwifi 0000: | ||
+ | [ 2.245760] iwlwifi 0000: | ||
+ | [ 2.643634] iwlwifi 0000: | ||
+ | ``` | ||
+ | |||
+ | Check Wi-Fi node, if you can find the '' | ||
+ | |||
+ | ```shell | ||
+ | $ ifconfig wlo1 | ||
+ | wlo1: flags=4099< | ||
+ | ether b0: | ||
+ | RX packets 0 bytes 0 (0.0 B) | ||
+ | RX errors 0 dropped 0 overruns 0 frame 0 | ||
+ | TX packets 0 bytes 0 (0.0 B) | ||
+ | TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 | ||
+ | ``` | ||
+ | |||
+ | ===== Troubleshooting ===== | ||
+ | |||
+ | If you upgrade the kernel manually then you may need to [[# | ||
+ | ]] again to make the Wi-Fi work. | ||
+ | |||
+ | ===== In the end ===== | ||
+ | |||
+ | The Linux kernel '' | ||
+ | */ |