Score:1

No wifi and display brightness options after removing Nvidia graphics drivers

ro flag

I installed Ubuntu 22.04 few days ago. Everything was normal, but today I just installed NVIDIA graphic drivers as I have a graphics card in my laptop and then during rebooting I encountered with black screen and with a blinking cursor (no login screen), so I uninstalled the drivers using sudo apt-get remove --purge nvidia. I got the login screen back, but now I do not have any wifi option and also no brightness option.

Laptop details:

  • HP pavilion 15-cs3073cl.

  • Vendor:Intel Corporation

  • Product: Ice Lake-LP CNVi WiFi

  • GPU:NVIDIA GeForce MX250

I do not have access to Ethernet internet.

Edit

Booted from previous kernel (5.15) and both WiFi and brightness works normally.

Output of lspci -knn | grep Net -A3:

00:14.3 Network controller [0280]: Intel Corporation Ice Lake-LP PCH CNVi WiFi [8086:34f0] (rev 30) DeviceName: Intel Wireless-WiFi 6 AX201 Dual Band 2x2 WiFi + BT 5 Subsystem: Intel Corporation Wi-Fi 6 AX201 [8086:0074] Kernel driver in use: iwlwifi

Pilot6 avatar
cn flag
Boot with a previous kernel and check. I think it is not related to Nvidia drivers.
Nasir Khan Sayyad avatar
ro flag
How to boot with previous kernel? Ithink it is related to drivers because Wi-Fi was working normally before. After removing nvidia drivers it doesn't appear
Pilot6 avatar
cn flag
Use grub menu..
Nasir Khan Sayyad avatar
ro flag
Booted from previous kernel (5.15) and both wifi and brightness works normally. How to make this kernel default?
Pilot6 avatar
cn flag
The goal is not to make this kernel default, but to solve the problem. Please [edit] your question and add output of `lspci -knn | grep Net -A3` terminal command.
Pilot6 avatar
cn flag
This device should be supported. Probably you accidentally removed some kernel modules. See the answer.
Score:0
cn flag

You accidentally removed some kernel packages when ran a wrong apt-get remove --purge nvidia command.

Run

sudo apt install --reinstall linux-generic-hwe-22.04

and reboot. It should fix issues with the modules.

Nasir Khan Sayyad avatar
ro flag
Thank you for your help! Your solution worked perfectly and fixed my issue. How can I now install NVIDIA drivers to avoid any kind of issues?
Pilot6 avatar
cn flag
Run `sudo ubuntu-drivers install`. Also you need either disable Secure Boot, or enroll a MOK key.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.