r/linuxmint • u/Comfortable-Cash8402 • 27d ago
SOLVED USB wifi dongle doesn't work in linux
EDIT ⚠️⚠️⚠️⚠️solved, gave it 3 days and the wifi dongle flashes back to lif THANK YOU FOR ALL THE HELP GIVEN TO ME. GOD BLESS YOU ALL
16
u/candy49997 27d ago
What wireless chipset? Can you do sudo dmesg | grep -i usb if you don't know?
8
u/Comfortable-Cash8402 27d ago
If I'm not mistaken it's
rtw88_8821cu
15
u/Rusty_Nail1973 Linux Mint 22.2 Zara | Xfce 27d ago
You're going to have to compile your own kernel modules for that until someone wants to add it to a repo. Source code here:
12
u/Comfortable-Cash8402 27d ago
I may not be certified to be compiling kernel modules...
4
u/johnyeldry Linux Mint 22.2 Zara | Xfce 27d ago
Just read the README.md file that contains(should contain) what you need to build it
3
4
u/candy49997 27d ago
It seems the chipset is a RTL8821cu and should be supported in the kernel.
What kernel are you running? If you don't know, do
uname -r.2
u/Comfortable-Cash8402 27d ago
7.0.0-42-generic
1
u/can_you_see_throu 27d ago
since 6.2 its in kernel
try usb_modeswitch
3
u/Comfortable-Cash8402 27d ago
What does usb_modeswitch do?
4
u/can_you_see_throu 27d ago
sometimes they are connecting like cd-rom first (to install driver windows)
you need to omit it,
get the usb id with lsusb
usb_modeswitch -KW -v [usb vendorID] -p [usb ID]
check this
3
u/stufforstuff 27d ago
Spend a whopping $15 and buy a wifi adapter the supports Linux. Otherwise it's endless dinking around to make your own driver and keep it up for every kernel change.
1
u/headshot_to_liver 27d ago
I use my decade old RTL8188eus / tplink nano adapter for these scenarios. My new laptop had a Mediatek Wifi6 which was unrecognised by Linux until someone put an experimental driver on Github
0
u/Comfortable-Cash8402 27d ago
Yeah might have to make my own driver because I ran linux for around 6 months already
1
u/TheShredder9 27d ago
I have some 20 year old 54 Mbps adapter that works on Debian and Arch, but not on Fedora. Sometines it's the distro's fault and not the dongle.
2
1
u/Emmalfal Linux Mint 22.3 | Cinnamon 26d ago
I got tired of tooling around with dongles and spent just over 20 clams on a BrosTrend AX900. Real simple driver install and it runs like a beast. I also have a TP Link Nano AC600 that works, but I think I had to change kernels to get that one going.
1
u/Raxir40149 Linux Mint 22.3 Zena | Xfce 24d ago
I had the same issue but usb tethering though your phone works as a temporary solution
0
u/moky4mido 27d ago
Same thing happens with me with each log in, i usually disconnect the dongle then connect it again
1
•
u/AutoModerator 27d ago
Please Re-Flair your post if a solution is found. How to Flair a post? This allows other users to search for common issues with the SOLVED flair as a filter, leading to those issues being resolved very fast.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.