How to fix WiFi issue after upgrading Ubuntu 22.04
Problem
We have a dual boot HP PROBOOK 450 with ubuntu version 22.04 and Windows 11
When we boot with windows 11 WiFi works fine and when we boot with ubuntu no WiFi
Ubuntu version:- "Linux gerard-HP-ProBook-450-G5 6.2.0-26-generic #26~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Jul 13 16:27:29 UTC 2 x86_64 x86_64 x86_64 GNU/Linux"
The PCI is : Intel Corporation Wireless 8265 / 8275 (rev 78).
Solution
Open the Ubuntu terminal and run the following commands
sudo apt purge linux-modules-iwlwifi*
sudo apt install --reinstall linux-modules-extra-$(uname -r)
Once run the above commands reboot your PC/laptop
This should fix the Ubuntu WiFi issue.