Ubuntu22.04 升级kernel更新WiFi7 driver
Ubuntu22.04 升级kernel更新WiFi7 driver
- 查看当前内核版本
- 查看可用的内核版本
- 更新内核
- 更新 WiFi driver
- bug 参考信息
查看当前内核版本
uname -r
查看可用的内核版本
sudo apt-get update
sudo apt-cache search linux-image ## 查看可用内核
更新内核
更新内核要把所有相关的都更新了,不然到了引导界面,进不了系统,只能进旧版本内核系统。
sudo apt-get install linux-headers-6.2.0-26-generic
sudo apt-get install linux-image-6.2.0-26-generic
sudo apt-get install linux-modules-6.2.0-26-generic
sudo apt-get install linux-modules-extra-6.2.0-26-generic
更新 WiFi driver
到 Linux WiFi 站点下载最新的 driver package
https://wireless.docs.kernel.org/en/latest/en/users/drivers/iwlwifi.html
https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/
下载后解压,然后将对应的 driver 拷贝到 OS firmware 对应目录下,以 Ubuntu 举例如下:
intel WiFi:
cp iwlwifi-*.{ucode,pnvm} /lib/firmware/
MTK WiFi:
cp mediatek/*.{ucode,pnvm} /lib/firmware/mediatek/
bug 参考信息
Wi-Fi / Bluetooth coexistence
Having Wi-Fi and Bluetooth running at the same time is a challenge.
These scenarios have been tested thoroughly on 7260 and up, less so on earlier devices.
This is why some people may face issues with devices that are handled by iwldvm.
For users of these devices who have problems when Wi-Fi and Bluetooth are running
concurrently, we suggest to disable BT Coex by loading iwlwifi with bt_coex_active=0 as
a module parameter.