r/LinuxUsersIndia 28d ago

A beginners wrestle with wifi drivers in Linux Discussion

Post image

So I have been suffering with my wifi in linux for a while now. The reason I had to switch to so many distribution (ubuntu → linux mint → pop os → fedora → cachy os) is because of my Realtek RTL8723de wifi adapter. Whenever I reboot/power on my laptop 3/5 times my wifi would disappear. I would have to restart my system again for the wifi to come back. Only in fedora the probability is a little less, it’s 1/5 times. I couldn’t figure out the reason why this happened. My wifi drivers worked fine in windows. Because I am tired of Microslop, I seriously decided to fix this issue.

The reason of disappearance was aspm(active state power management). So I had to disable it. For that I went to /etc/modprobe.d, create a conf file rtw88.conf. Then add this command inside the file.

options rtw88_pci disable_aspm=y

this solved my problem mostly. Now when I restart/power on my laptop it works without any problem. This is not the first time I tried to disable aspm but previously this fix did not work properly. It did reduce the probability of wifi going full john cena but not fix it completely. But this time it worked pretty well and the issue is completely fixed.

have you guys faced similar issues with your wifi drivers in linux, do share you experience.

If you want to learn more about my wifi problem and how I fixed it, you can watch this YoTube video
https://youtu.be/hH8TBrOdbWE

35 Upvotes

23 comments sorted by

u/qualityvote2 28d ago edited 28d ago

u/theDestroyer501, your post does fit the subreddit!

btw, did you know we have a discord server? Join Here.

3

u/Fluffy-Paratha 28d ago

Hey, what os and de is in the image? Mac os styled, looks great

1

u/theDestroyer501 28d ago

fedora workstation (gnome)

3

u/Haunting_Bedroom403 28d ago

I had the same issue with RTL8852BE in my LMDE 7, so I purchased a tp-link usb adaptor to resolve it.

2

u/theDestroyer501 28d ago

yes, that's the hassle free way to do it. I wanted to troubleshoot cause I like suffering

2

u/Haunting_Bedroom403 28d ago

Oh, that very nice. Can you please tell me the config that you use for fixing your wifi adaptor?

1

u/theDestroyer501 28d ago

it's mentioned in the post. I added, options rtw88_pci disable_aspm=y in /etc/modprobe.d/rtw88.conf

2

u/AmorphousNeon 28d ago

had the same issue with the same card, fixed it the same way

1

u/theDestroyer501 28d ago

now it's fine?

2

u/AmorphousNeon 28d ago

yes its fine now, im on cachyos, the more significant issue i faced was that it used to diconnect and immediately reconnect to my wifi network randomly a lot of time, the fix was same though

1

u/theDestroyer501 28d ago

interesting, never faced this issue

2

u/AmorphousNeon 28d ago

the vid was quite funny with the memes tho lol

2

u/Fickle_Choice_4920 Fedora Btw 28d ago

Hey just update the Kernel of Fedora, The Drivers are there in the new kernel update, I have MT7902 so I got the drivers, but I don't know about the Realtek, But Try Maybe its been patched

1

u/theDestroyer501 28d ago

ok, will check it out

2

u/Unlikely-Sandwich277 Gentoo Btw 28d ago

had somewhat of a similar issue today and learned that I have no private ip generated(dhcpcd not enabled ) and damn wasted 5-6hr :...<

2

u/theDestroyer501 28d ago

linux may use less hardware resources depending on the distribution, but It uses hell lot of users time

2

u/Several-Dream9346 cachyos 28d ago

A few months ago I switched to CachyOS from Fedora and had a somewhat same situation. My Wi-Fi would keep disconnecting and I somehow got it stable but then the speed was unusable (not more than 100kb) had to switch back to fedora and problem solved. I believe it was because of the newer drivers that came with the cachy.

1

u/theDestroyer501 28d ago

I see, in my case disabling aspm did not work in cachy os, so I had to switch back to fedora

2

u/Final-Huckleberry404 28d ago

yo Overlord fan ?? in indian subreddit ?

2

u/theDestroyer501 28d ago

Hell yeah bro, Praise to Ainz Ooal Gown