I apologize if this seems like a trivial matter, but I have a laptop (a Lenovo Ideapad 3 to be exact) and I can’t get WiFi (or Bluetooth) to work on anything other than Ubuntu 23.04 and its flavors. I tried OpenSUSE Leap and Debian 12, both couldn’t detect the built-in WiFi card. I also tried Ubuntu-based distros such as Linux Mint, KDE Neon, and Zorin OS, same problem. I tried Kubuntu 22.04 LTS and even that couldn’t detect the WiFi card! So for the mean time, I’m stuck with using Ubuntu 23.04. Any ideas to get around this? Can I use Ubuntu to figure the exact WiFi card that’s being used then download its driver? If so, how can I do that exactly? Note that my Laptop doesn’t have a built-in Ethernet port, and I don’t want to buy a USB Ethernet adapter only for it not work out of the box either! Any help would be appreciated!

16 points

Unlike Windows Linux has almost all drivers already embedded onto the kernel, meaning that 99% of the time you shouldn’t even have to worry about drivers. There are a couple of exceptions to this, most notably NVIDIA GPUs which do require a proprietary driver to be installed for most usecases, and unfortunately some wireless cards as well.

The command lspci like many suggested here will let you know what your computer detects as being plugged in, which would allow you to ask the better question of “what driver do I need for this wireless card”. But here’s the thing, if it works on Ubuntu 23.04 it’s likely the driver is integrated in the kernel already, so it’s highly likely that any other distro with the same kernel version would work as well, you can check the kernel version running uname -a, and you can also try any bleeding edge distro such as Manjaro (so you have a GUI to check the wifi works) to check that other distro a with the same kernel do support it.

In the unlikely scenario Ubuntu 23 is loading an extra driver you can list all kernel modules using lsmod this should tell you exactly what Ubuntu 23 has loaded for it. Then you could see if a package for that module is available for older Ubuntus.

However I have a possibly dumb question, why not use Ubuntu 23.04 if that one works? Why do you want to downgrade the version?

permalink
report
reply
3 points

Thank you for the clarification. I already know that most drivers are loaded with the kernel, and it looks like Ubuntu 23.04 is using a slightly newer kernel than other mainstream distros.

What you do once you’re on the 24.04 LTS release is up to you. By that time, other distros will probably also work out of the box too.

That’s a very good question. It is because I was using Kubuntu 23.04, and I was mostly happy with it, except for one small gripe I was facing related to KDE, and I figured if I try a different distro with KDE, I might actually solve it.

permalink
report
parent
reply
3 points

You know you can install KDE/Plasma on Ubuntu, right? There’s no need to reinstall the whole thing just to change the DE.

permalink
report
parent
reply
9 points

If you wish to run Ubuntu 22.04 you should be able to upgrade to kernel 6.2 (by default its on 5.14 IIRC).

https://www.omgubuntu.co.uk/2023/08/ubuntu-22-04-linux-kernel-6-2

I’m not sure if this is known to you; apologies in advance if I’m stating the bleeding obvious: In Linux drivers come with the kernel. There shouldn’t be any reason, except a few exceptions, to install drivers separately to your kernel. So when Linux folks talk about “the kernel”, they mean “the scheduler, core operating system AND all up-to-date drivers”.

So most likely your HW isn’t supported in older kernels.

When I first installed 22.04 LTS for a 12700T-based micro server, several things didn’t work out of the box. After upgrading to 5.19 everything was in working order though.

permalink
report
reply
6 points

Drivers are usually there in the kernel and usually works out of the box. You shouldn’t need to manually install drivers with linux generally (except for proprietary drivers cough nvidia cough). But if your laptop is quite new, you need to have a new enough kernel. That would explain why ubuntu 23.04 works but not not 22.04. The kernel in 22.04 is probably too old to have the drivers for your network interface. Check what kernel version is shipped with ubuntu 23.04 and make sure that whatever distro you try have at least that version. Stable LTS distros often don’t work on brand new hardware.

permalink
report
reply
2 points

I understand that. But what’s making me scratch my head is that I tried running Linux Mint 21.2 and Debian 12, both of which to my knowledge were released very recently, and yet both failed to detect my WiFi card. Are they running an older linux kernel?

permalink
report
parent
reply
6 points
*

Yeah they’re running an LTS kernel. Debian 12 is on 6.1 when we’re on about 6.48. I’m not sure about Linux Mint, but I know it uses LTS too so it must be 6.1 or older. Not sure if upgrading the kernel would help you, but just throwing that out there.

permalink
report
parent
reply
1 point

Mint is based om LTS ubuntu, so same as 22.04.

permalink
report
parent
reply
5 points

Try posting output of lspci command here, gives us more information about your laptop hardware.

permalink
report
reply
5 points

and lshw -C network. On ubuntu 23.04 (where it works) it will show the driver and driver version.

permalink
report
parent
reply
2 points

On Ubuntu 22.04 based distro, you can try install HWE (hardware enablement) kernels but you need a phone that can share WIFI/mobile connection through USB cable.

sudo apt update; sudo apt install linux-generic-hwe-22.04

permalink
report
parent
reply
4 points

You can try searching (google) for the output of lspci or lsusb: like “1234:5678 firmware”. Alternatively, search for your chip in the Linux Wireless data base.

permalink
report
reply

Linux

!linux@lemmy.ml

Create post

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

Community stats

  • 7.7K

    Monthly active users

  • 6.5K

    Posts

  • 179K

    Comments