<Solved>Wifi Realtek

Questions about WIFI networks and devices
Forum rules
Before you post please read how to get help
Post Reply
alr
Level 1
Level 1
Posts: 4
Joined: Tue Jul 31, 2018 10:43 am

<Solved>Wifi Realtek

Post by alr » Tue Jul 31, 2018 11:10 am

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 alr on Wed Aug 22, 2018 5:14 am, edited 1 time in total.

deepakdeshp
Level 11
Level 11
Posts: 3707
Joined: Sun Aug 09, 2015 10:00 am

Re: Wifi Realtek

Post by deepakdeshp » Tue Jul 31, 2018 1:14 pm

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, and keeps the forum clean.
I am using Mint 19 Cinnamon 64 bit with AMD A8/7410 processor . Memory 8GB

alr
Level 1
Level 1
Posts: 4
Joined: Tue Jul 31, 2018 10:43 am

Re: Wifi Realtek

Post by alr » Wed Aug 01, 2018 9:49 am

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 8
Level 8
Posts: 2058
Joined: Tue Jul 05, 2016 1:20 pm

Re: Wifi Realtek

Post by trytip » 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/
Image

User avatar
Pjotr
Level 20
Level 20
Posts: 10797
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: Wifi Realtek

Post by Pjotr » 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)
Tip: 10 things to do after installing Linux Mint 19 Tara
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

JeremyB
Level 19
Level 19
Posts: 9058
Joined: Fri Feb 21, 2014 8:17 am

Re: Wifi Realtek

Post by JeremyB » Wed Aug 01, 2018 10:49 am

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 8
Level 8
Posts: 2058
Joined: Tue Jul 05, 2016 1:20 pm

Re: Wifi Realtek

Post by trytip » Wed Aug 01, 2018 11:34 am

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 20
Level 20
Posts: 10797
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: Wifi Realtek

Post by Pjotr » Wed Aug 01, 2018 1:58 pm

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 19 Tara
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 8
Level 8
Posts: 2058
Joined: Tue Jul 05, 2016 1:20 pm

Re: Wifi Realtek

Post by trytip » Wed Aug 01, 2018 2:25 pm

@ 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 20
Level 20
Posts: 10797
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: Wifi Realtek

Post by Pjotr » Wed Aug 01, 2018 4:17 pm

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 19 Tara
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

alr
Level 1
Level 1
Posts: 4
Joined: Tue Jul 31, 2018 10:43 am

Re: Wifi Realtek

Post by alr » Thu Aug 09, 2018 10:49 am

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
Level 1
Level 1
Posts: 4
Joined: Tue Jul 31, 2018 10:43 am

Re: <Solved>Wifi Realtek

Post by alr » Wed Aug 22, 2018 5:17 am

It seems that a new kernel like 4.18.4-041804-generic solved the problem.

User avatar
trytip
Level 8
Level 8
Posts: 2058
Joined: Tue Jul 05, 2016 1:20 pm

Re: <Solved>Wifi Realtek

Post by trytip » Wed Aug 22, 2018 11:14 am

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

Post Reply

Return to “Wireless”