12

First of all, I'm not an experienced user so please be as clear as possible in all answers. I recently installed Ubuntu 22.04 on a new HP Victus laptop (This one except with Intel Core i7-12700H and GeForce RTX 3050 Ti). The wifi was working fine. I was not messing with any settings, it just suddenly disconnected and now it says "no wifi adapter found" in settings. I have already tried some solutions from similar questions but nothing works. I'm now online using a tethered android phone.

The wifi adapter does not show up using 'sudo lshw -C network':

  *-network                 
       description: Ethernet interface
       product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:06:00.0
       logical name: eno1
       version: 16
       serial: a8:b1:3b:92:0a:eb
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=5.19.0-32-generic firmware=rtl8168h-2_0.0.2 02/26/15 latency=0 link=no multicast=yes port=twisted pair
       resources: irq:19 ioport:3000(size=256) memory:82204000-82204fff memory:82200000-82203fff
  *-network
       description: Ethernet interface
       physical id: 12
       bus info: usb@3:3
       logical name: enx1e31043ced9f
       serial: 1e:31:04:3c:ed:9f
       capabilities: ethernet physical
       configuration: autonegotiation=off broadcast=yes driver=rndis_host driverversion=5.19.0-32-generic duplex=half firmware=RNDIS device ip=192.168.16.27 link=yes multicast=yes port=twisted pair

I ran a wireless-info script i found. The output is here.

sudo dmesg | grep iwl gives:

[    1.482435] Loading modules backported from iwlwifi
[    1.482436] iwlwifi-stack-public:master:10878:f4df8641

rfkill list gives:

0: hci0: Bluetooth
    Soft blocked: no
    Hard blocked: no

iwconfig gives:

lo        no wireless extensions.

eno1 no wireless extensions.

enx1e31043ced9f no wireless extensions.

I hope I haven't messed things up even further trying things from other questions without knowing exactly what I was doing (there are so many, i've lost track of everything I've done). I will use this computer for studying and I've spent a lot of time setting up all the software I will need, CUDA for molecular dynamics simulations and onedrive etc. So I would really like to avoid a fresh install if possible. Thank you in advance for your help.

Gremlin
  • 121

6 Answers6

10

I've had the same problem. The WiFi disappeared in both Ubuntu 22.04 and Windows 11 (dual-boot). Fast boot was disabled in both Windows and BIOS. Bluetooth was working, but not WiFi.

I found a workaround:

  1. When powering on the laptop, keep pressing DEL key to enter BIOS.
  2. Change a setting that doesn't matter much, e.g. enable networking stack in UEFI.
  3. In BIOS, save changes and reset.
  4. After that, Ubuntu boots with WiFi on, and detects the adapter.

My laptop is different - it's MSI Titan gt77hx 13vi. Probably the WiFi or other hardware in it has the same issue.

The issue started to happen after something like this:

  1. Hybrid sleep
  2. Forcing shutdown with the power key when Ubuntu freezes when rebooting
2

I wrote down what worked for me in another thread here, but repeating it here as this is the first hit result on Google. This issue occurred for me when I upgraded Ubuntu from 20.04 to 22.04.

First find out your kernel version:

uname -r

Note down the kernel version. (example: 6.5.0-44-generic), then run the following below (and replace the numbers with your kernel version).

sudo apt update 
sudo apt install --reinstall linux-generic
sudo apt install linux-modules-extra-6.5.0-44-generic

Reboot the PC and WiFi should be back.

aleksk
  • 151
  • 3
1

I had this Problem while Updating Windows 11 on my other partition: Windows installed a big package, where it had to restart a few times, and between those restarts, it seems to disable the Wifi for Ubuntu. After three restarts after about 1 hour, windows was updated and wifi there worked fine, so I used "shut-down" on Windows and started again on Ubuntu ... WHAM!... Wifi worked again.

So maybe the solution is to completely shut-down windows instead of using the "restart" routine to switch to the Linux partition

rubo77
  • 34,024
  • 52
  • 172
  • 299
1

I saw something similar happen on my new laptop. It was partitioned with windows(11) on the other partition. It seemingly got fixed by disabling fast boot on windows partition.

Joaquin
  • 21
0

In my case, these things didn't worked for me. So 1)I suggest you to check your whether network adapter is enabled or disabled in your bios 2) disable secure boot ( if you really wish to, not preferable, it's your final call at the end) 3) just be aware the risk of enabling secure boot

0

This is an issue with the version of Linux Kernel and happened to me on my PC as well. In my PC, I had both Windows 11 and Ubuntu 22 installed as a dual boot.

You have to find a way to degrade the Linux Kernel. In my case,on my Lenovo Thinkpad, during bootup I had the option of choosing "Advanced ubuntu bootup options". That had a few options of the Linux Kernel including a few "recovery mode" options. By default, kernel 6.8.27 was being chosen, I chose 6.8.25 and the wifi was back on.