<Solved>Wifi Realtek

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
alr

<Solved>Wifi Realtek

Post by alr »

Since the 4.15 kernel the Realtek Wifi interface doesn't work at all.
The RTL8188EE specifically.
I have tried rtlwifi_new obtain on git and the result is better, but it works "spasmodically".
(make clean; make; sudo modprobe -rv rtl8188ee; sudo make install; sudo modprobe -v rtl8188ee)
It works for a short moment and stops and re-works for a moment. It is not good.

I have tried ubuntu 18.4 on an another PC with a wifi interface on USB, it's a Realtek too and it is the same, don't remember the name but I'm sure it is a Realtek.

It makes the association and stops, there is no response from the router to the ARP question (i have launched wireshark to see something).

What is the problem with these cards?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
deepakdeshp
Level 20
Level 20
Posts: 12333
Joined: Sun Aug 09, 2015 10:00 am

Re: Wifi Realtek

Post by deepakdeshp »

You can go back to the working kernel
If I have helped you solve a problem, please add [SOLVED] to your first post title, it helps other users looking for help.
Regards,
Deepak

Mint 21.1 Cinnamon 64 bit with AMD A6 / 8GB
Mint 21.1 Cinnamon AMD Ryzen3500U/8gb
alr

Re: Wifi Realtek

Post by alr »

to deepakdeshp
Yes I can! And it works (4.13).
But I want to escape from spectre and meltdown...
And I don't understand why the classical distributions like unbuntu or mint doesn't include the patches to make the drivers for Realtek work.
User avatar
trytip
Level 14
Level 14
Posts: 5371
Joined: Tue Jul 05, 2016 1:20 pm

Re: Wifi Realtek

Post by trytip »

install ukuu and try the latest kernel or an LTS kernel you can check which is lts here https://www.kernel.org/
Image
User avatar
Pjotr
Level 23
Level 23
Posts: 19800
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: Wifi Realtek

Post by Pjotr »

trytip wrote: Wed Aug 01, 2018 10:41 am install ukuu and try the latest kernel or an LTS kernel you can check which is lts here https://www.kernel.org/
Don't do that:
https://sites.google.com/site/easylinux ... e-Utility-
(item 6.3.2, right column)
Tip: 10 things to do after installing Linux Mint 21.3 Virginia
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
JeremyB
Level 21
Level 21
Posts: 13724
Joined: Fri Feb 21, 2014 8:17 am

Re: Wifi Realtek

Post by JeremyB »

In terminal do

Code: Select all

sudo sed -i 's/3/2/' /etc/NetworkManager/conf.d/*
echo "options rtl8188ee ips=N" | sudo tee /etc/modprobe.d/rtl8188.conf
Reboot
User avatar
trytip
Level 14
Level 14
Posts: 5371
Joined: Tue Jul 05, 2016 1:20 pm

Re: Wifi Realtek

Post by trytip »

Pjotr wrote: Wed Aug 01, 2018 10:47 am
trytip wrote: Wed Aug 01, 2018 10:41 am install ukuu and try the latest kernel or an LTS kernel you can check which is lts here https://www.kernel.org/
Don't do that:
https://sites.google.com/site/easylinux ... e-Utility-
(item 6.3.2, right column)
why not? have no issues with it. there's more issues with the ubuntu maintained kernel than ever had with ukuu.
Image
User avatar
Pjotr
Level 23
Level 23
Posts: 19800
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: Wifi Realtek

Post by Pjotr »

trytip wrote: Wed Aug 01, 2018 11:34 am why not?
Did you read the linked information? I'll copy/paste it in full in this answer:
6.3.2. UKUU (Ubuntu Kernel Update Utility) is intended for one goal only: testing new kernels. Which is of course OK. But don't abuse it: the kernels it offers are not supported, and are not appropriate for production use.

UKUU's mainline kernels aren't reliable enough for everyday use. Furthermore: as these are pure upstream kernels (built using Ubuntu kernel configuration files), they do not include any Ubuntu/Mint-specific drivers or patches, nor any proprietary modules or restricted binary drivers.

Even if you know how to boot from an older kernel in case of kernel failure: you risk losing important work because of an unstable and unreliable kernel.
Tip: 10 things to do after installing Linux Mint 21.3 Virginia
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
User avatar
trytip
Level 14
Level 14
Posts: 5371
Joined: Tue Jul 05, 2016 1:20 pm

Re: Wifi Realtek

Post by trytip »

@ Pjotr
yes you are absolutely correct, but seeing as OP has issues with wifi and kernel 4.15 what's the issue in testing a different kernel? it's not permanent if you don't want it to be, it can easily be removed.
Image
User avatar
Pjotr
Level 23
Level 23
Posts: 19800
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: Wifi Realtek

Post by Pjotr »

If I were the OP, I would (for the time being) simply stick to the latest kernel of the 4.13 series. That should contain Spectre/Meltdown mitigations:
https://wiki.ubuntu.com/SecurityTeam/Kn ... ndMeltdown

Even though it's a short-lived kernel, it can still be used after its EOL. The risks for unpatched kernels are usually acceptably low, at least for desktop machines.
Tip: 10 things to do after installing Linux Mint 21.3 Virginia
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
alr

Re: Wifi Realtek

Post by alr »

Some news
I'm always on LM 18.3 and I have updated the kernel to 4.15.0-30-generic yesterday.
And the rtl8188ee driver have failed.
I have been obliged to recompile the rtlwifi_new for the new kernel and replace the original rtl8188ee module.
The original one is always corrupted. But when will it be OK?
alr

Re: <Solved>Wifi Realtek

Post by alr »

It seems that a new kernel like 4.18.4-041804-generic solved the problem.
User avatar
trytip
Level 14
Level 14
Posts: 5371
Joined: Tue Jul 05, 2016 1:20 pm

Re: <Solved>Wifi Realtek

Post by trytip »

alr wrote: Wed Aug 22, 2018 5:17 am It seems that a new kernel like 4.18.4-041804-generic solved the problem.
the thing about using ukuu and mainline kernels, is to check when they are removed from circulation on https://www.kernel.org/ and then upgrade to one higher on the list or lower on the list. since you need a newer module for your wifi stick with the kernel you have for as long as you need

ps: on a second note for people using snapd installing kernel 4.18 breaks something in snaps. going back to 4.17 fixes it. hopefully this is just a bug and will be fixed
Image
Locked

Return to “Networking”