15

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
  • 151
  • Are you asking about a USB wireless adapter? – Pilot6 Feb 21 '23 at 10:15
  • No, the default one from the laptop – Gremlin Feb 21 '23 at 10:41
  • It is not seen in lspci. Maybe it is broken or disabled in BIOS. But just in case try to boot with a previous kernel using grub. If it is a dual-boot, then disable Fast Startup in Windows. – Pilot6 Feb 21 '23 at 10:42
  • How can I do that? I googled it and it said to press shift+esc on startup but that does nothing? – Gremlin Feb 21 '23 at 10:44
  • It is ESC, not Shift + ESC. – Pilot6 Feb 21 '23 at 10:45
  • I booted to the previous 5.15 kernel. That did not work – Gremlin Feb 21 '23 at 10:55
  • So, your device is broken, or disabled by a hardware switch, etc. – Pilot6 Feb 21 '23 at 10:57
  • Christ. This is the second laptop I buy from amazon in a short time. First I got an Acer that I had to return because the keyboard had several keys not working and now this. Now I can either return it and get a new one or send it back to spain for a repair that takes 20 days. FML – Gremlin Feb 21 '23 at 10:59
  • 2
    What I find odd though is that according to this the wifi adapter is a wifi bluetooth combo, and the bluetooth is working – Gremlin Feb 21 '23 at 11:14

7 Answers7

11

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
6

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
  • 201
  • 2
  • 3
  • btw, the linux-modules-extra-* will be installed automatically during the ubuntu fresh installation if the option is checked to download updates while installation. – Felix F Xu Nov 04 '24 at 08:32
  • Don't you need to have wifi before giving these commands? In which case, you won't need to fix your wifi. – k314159 May 19 '25 at 12:06
  • @k314159 not if you use an Ethernet cable... – aleksk May 20 '25 at 14:23
  • Worked for me even without internet and without ethernet cable. There were a few errors, but I ignored them. After rebooting wifi was fixed. – AndrewPt Aug 25 '25 at 07:12
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,212
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
1

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.

  • Thank you so much, this is the only thing that worked for me after banging my head against this for hours! – Slims Aug 21 '25 at 22:20
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

(+1 to aleksk for the answer at https://askubuntu.com/a/1521404/117018)

Even with no internet (no ethernet, no USB tether to a phone, no wi-fi), you can try an apt install --reinstall ... because the package you need should be on your computer already.

  1. Find out what linux-generic* package you already have installed.
  2. Re-install it
  3. Reboot
dpkg -l 'linux-generic*'
# => Desired=Unknown/Install/Remove/Purge/Hold
# => | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
# => |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
# => ||/ Name                    Version             Architecture Description
# => +++-=======================-===================-============-=========================================
# => ii  linux-generic-hwe-22.04 6.8.0-64.67~22.04.1 amd64        Complete Generic Linux kernel and headers

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

Jellicle
  • 918