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/26 04:04] nick |
products:maker-kit:mind-2-ai-maker-kit:troubleshooting:fix-wifi [2024/12/30 05:28] (current) nick |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Fix Ubuntu Bluetooth ====== | + | {{indexmenu_n> |
| + | /* | ||
| + | ====== Fix Ubuntu Wi-Fi ====== | ||
| + | For some reasons current Ubuntu '' | ||
| + | the [[https:// | ||
| + | |||
| + | ===== Preparation ===== | ||
| + | |||
| + | 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 ===== | ||
| + | |||
| + | Follow the steps below to download the Wi-Fi driver: | ||
| + | |||
| + | ```shell | ||
| + | $ sudo apt update | ||
| + | $ sudo apt install -y git build-essential gcc-12 net-tools | ||
| + | $ cd ~/Downloads | ||
| + | $ git clone git:// | ||
| + | ``` | ||
| + | |||
| + | Build and install the Wi-Fi driver: | ||
| + | |||
| + | ```shell | ||
| + | $ cd ~/ | ||
| + | $ make defconfig-iwlwifi-public | ||
| + | $ make -j10 | ||
| + | $ sudo make install | ||
| + | $ sync | ||
| + | ``` | ||
| + | ===== Update the Wi-Fi firmware ===== | ||
| + | |||
| + | You also need to follow the steps below to update the Wi-Fi firmware: | ||
| + | |||
| + | ```shell | ||
| + | $ wget https:// | ||
| + | $ wget https:// | ||
| + | $ sudo cp / | ||
| + | $ sync | ||
| + | ``` | ||
| + | |||
| + | **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 '' | ||
| + | |||
| + | */ | ||