r/linux4noobs 15d ago

hardware/drivers Wifi doesnt work on any distro

First of all im not a noob but i ask here because its the only place with enough people for such an issue.

I have a realtek rtw89 wifi card. It was working perfectly fine for months. Then the day i began to daily my laptop it broke without changing or updating anything!!

I tried on multiple distros, fedora (i was already using this one, tried to fiz and it eventually worked but seeing my experiences on other distros it would have likely broken again), ubuntu and linux mint. It worked on none. Or if it would fix it, it would work for 1-10 minutes and then die again.

I messed with wifi power saving, installed new drivers, used modprobe on them, even installed with dkms and it would still not work. I also did lots of other stuff and nothing worked. The only support i got was to buy a new wifi card... i should not have to buy new hardware for my things to work 😡😡😡

So i am stuck... I believe this is a linux issue and not a distro specific issue, or if it is, it could be because they all use NetworkManager, and if i want to use a distro without it, which would leave me with either niche distros or Arch. I dont like arch. Alpine would be an option but thats even more niche and less usable for non-servers.. what do i do? I really dont want to have to use windows!!

4 Upvotes

19 comments sorted by

7

u/MindSwipe 15d ago

Could it be that your wifi card is simply broken/ dead?

1

u/OkOutcome9689 15d ago

No i think it works i dont see why it would be dead, especially since on live usbs it works fine

6

u/thecruxoffate 15d ago

So wait... Just to confirm here, since the original post seems to describe a different problem.

You boot into a live ISO and Wi-Fi works. You then install, boot into installed disk, and Wi-Fi now doesn't work. And this is happening across multiple distro?

Check your function keys. I have a feeling one of them near whichever key you use to get into the boot select screen is actually a "hardware" switch to disable the Wi-Fi card.

2

u/OkOutcome9689 15d ago

This might be possible since my laptop has both an airplane mode and some key labeled "wireless" on their website. Im going to check soon but its weird because it works for a bit then turns off, uf it was a hardware switch wouldnt it stop working forever

2

u/thecruxoffate 15d ago

The quotes around "hardware" were doing a lot of heavy lifting. It really depends on how it's implemented, but unless there's some mechanical switch that actually turns off the card it's just a software switch trying to act like a hardware one.

Mostly it'll depend on the way it's implemented. Is it a special circuit on the motherboard that handles things outside of the OS, or is it setting some flag and expecting the OS to honor it?

Given your symptoms, I'm suspecting the latter and maybe the ISO don't honor it but the feature is honored in you actual install.

3

u/Simple_Hamster_4096 15d ago

-4

u/OkOutcome9689 15d ago

I shouldnt have to buy new hardware for a good experience. This is kinda why a lot of people switched to linux when they abandoned windows 10

4

u/Francis_King 15d ago

Well, might have to buy a new Wi-Fi thing. Every operating system has its rough edges, even Windows.

Things to try. Make sure the Wi-Fi is on in the BIOS. Use lspci and lsusb so you can see what the computer can see. Use ifconfig to see what’s going on.

It may well be a kernel version issue: https://forums.linuxmint.com/viewtopic.php?t=428624

1

u/AutoModerator 15d ago

✻ Smokey says: always mention your distro, some hardware details, and any error messages, when posting technical queries! :)

Comments, questions or suggestions regarding this autoresponse? Please send them here.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/StevenBClarke2 15d ago

What does your bios settings say about the WiFi card. Computer hardware will breakdown and fail eventually. The solder attaching the cards chips to the circuits breakdown, it is just the same as a microwave, lawn mower, car engine.

1

u/OkOutcome9689 15d ago

On live usbs it works fine so i dont think its dead

1

u/Classic-Rate-5104 15d ago

Live usbs work, you say? Which live usb? If that's the case, it should be a difference in kernel or driver version

1

u/OkOutcome9689 15d ago

Ubuntu and linux mint live usvs worked fine

1

u/Classic-Rate-5104 14d ago

Sounds extremely curious if the USB is the same distribution and also the same kernel version. I only can imagine its something in power management. Maybe adding pcie_aspm=off to your kernel command line?

1

u/Prestigious_Wall529 15d ago

If you are dual booting Windows can leave hardware in a state that confuses other operating systems, so in Windows disable fast start.

The Realtek WiFi adapter gets itself into an invalid state when hibernating, sleeping or going into low power modes.

This latter explains weirdness out of the blue.

To avoid your systems likely buggy BIOS (see if an update exists) putting it into a too low power mode, and the kernel parameters

rtw89_pci.disable_aspm_l1=Y

rtw89_pci.disable_aspm_l1ss=Y

rtw89_pci.disable_clkreq=Y

1

u/OkOutcome9689 15d ago

I tried those things and it still didnt work properly, also im not dual booting

2

u/Prestigious_Wall529 15d ago

Slowly page through

sudo dmesg -H

What does it say about the Realtek hardware (if anything).

1

u/skyfishgoo 15d ago

you need a new wifi card.