Lenovo e570 wifi not working properly on Sylvia 18.3

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
mimmon

Lenovo e570 wifi not working properly on Sylvia 18.3

Post by mimmon »

I have replaced my old computer with Linux Mint XFCE 17.3 with a new one where I installed Linux Mint XFCE 18.3.
As the previous version worked just fine I did not expect to run into troubles. However I found there are no wifi drivers for my computer.
I followed instructions similar to these (https://askubuntu.com/questions/990378/ ... nkpad-e570) and built the driver for rtl8821ce from source. As a part of the process I also had to upgrade kernel to 4.15 with ukuu because process did not work with original (I believe it was 4.10). After that it seemed that it works well. But was it really working well?
Meanwhile I installed docker and played with it a little and noticed that my wifi turns off randomly. It usually helped to turn off and on the wifi or networking via tray icon, or restart service via terminal or combination of both. The intervals with wifi on keep shortening, until - after an hour or two it is unsustainable or not working at all and it needs a reboot. It usually helps, sometimes not.
Wired connection works all the time.
I thought maybe if a driver is wrong, maybe I can buy a wifi dongl to have another option. So I bought Edimax EW-7811Un which worked since I plugged it in the comupter. So now I see I have two wifi cards, but both works the same - I usually see all available ssids around me, I can connect once, then after the connection drops I cannot reconnect without turning the wifi off and on again. Or restarting a networking service.
I checked the Connection Information and it shows two - one called docker0 and another one with my SSID and a note it is a default connection.
So I thought maybe docker caused this so I uninstalled it, but this connection type is still there even after several reboots.

I don't know what info is relevant, so for now I only provide this:

Code: Select all

mimmon@minty ~ $ inxi -Fxz
System:    Host: minty Kernel: 4.15.0-041500-generic x86_64 (64 bit gcc: 7.2.0)
           Desktop: Xfce 4.12.3 (Gtk 2.24.28) Distro: Linux Mint 18.3 Sylvia
Machine:   System: LENOVO (portable) product: 20H500CAMC v: ThinkPad E570
           Mobo: LENOVO model: 20H500CAMC v: SDK0J40709 WIN Bios: LENOVO v: R0DET84W (1.84 ) date: 07/21/2017
CPU:       Dual core Intel Core i5-7200U (-HT-MCP-) cache: 3072 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 10848
           clock speeds: max: 3100 MHz 1: 800 MHz 2: 800 MHz 3: 800 MHz 4: 800 MHz
Graphics:  Card-1: Intel Device 5916 bus-ID: 00:02.0
           Card-2: NVIDIA GM108M [GeForce 940MX] bus-ID: 01:00.0
           Display Server: X.Org 1.18.4 driver: nvidia Resolution: 1920x1080@60.02hz
           GLX Renderer: GeForce 940MX/PCIe/SSE2 GLX Version: 4.5.0 NVIDIA 384.111 Direct Rendering: Yes
Audio:     Card Intel Device 9d71 driver: snd_hda_intel bus-ID: 00:1f.3 Sound: ALSA v: k4.15.0-041500-generic
Network:   Card-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
           driver: r8169 v: 2.3LK-NAPI port: c000 bus-ID: 04:00.0
           IF: enp4s0 state: down mac: <filter>
           Card-2: Realtek Device c821 driver: rtl8821ce port: b000 bus-ID: 05:00.0
           IF: wlp5s0 state: down mac: <filter>
           Card-3: Edimax EW-7811Un 802.11n Wireless Adapter [Realtek RTL8188CUS]
           driver: rtl8192cu usb-ID: 001-002
           IF: wlx74da38e1ff20 state: N/A mac: N/A
Drives:    HDD Total Size: NA (-) ID-1: /dev/nvme0n1 model: N/A size: 256.1GB
Partition: ID-1: / size: 37G used: 20G (55%) fs: ext4 dev: /dev/nvme0n1p5
           ID-2: /home size: 68G used: 19G (29%) fs: ext4 dev: /dev/nvme0n1p7
           ID-3: swap-1 size: 7.49GB used: 0.00GB (0%) fs: swap dev: /dev/dm-0
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 48.5C mobo: N/A gpu: 0.0:44C
           Fan Speeds (in rpm): cpu: 0
Info:      Processes: 216 Uptime: 25 min Memory: 1372.3/7879.7MB Init: systemd runlevel: 5 Gcc sys: 5.4.0
           Client: Shell (bash 4.3.481) inxi: 2.2.35 
mimmon@minty ~ $ uname -a
Linux minty 4.15.0-041500-generic #201802011154 SMP Thu Feb 1 11:55:45 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Any idea what should I do?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
CaptainKirksChair
Level 4
Level 4
Posts: 456
Joined: Sat Feb 18, 2017 9:29 pm

Re: Lenovo e570 wifi not working properly on Sylvia 18.3

Post by CaptainKirksChair »

Run the following commands in a terminal, one at a time:

rfkill list
iwconfig

Post the output back here between Code tags.
mimmon

Re: Lenovo e570 wifi not working properly on Sylvia 18.3

Post by mimmon »

mimmon@minty ~ $ rfkill list
0: tpacpi_bluetooth_sw: Bluetooth
Soft blocked: yes
Hard blocked: no
1: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
2: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
3: phy1: Wireless LAN
Soft blocked: no
Hard blocked: no

mimmon@minty ~ $ iwconfig
wlp5s0 unassociated Nickname:"<WIFI@REALTEK>"
Mode:Managed Frequency=2.437 GHz Access Point: Not-Associated
Sensitivity:0/0
Retry:off RTS thr:off Fragment thr:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

lo no wireless extensions.

wlx74da38e1ff20 IEEE 802.11 ESSID:"Neviem"
Mode:Managed Frequency:2.437 GHz Access Point: 00:E0:4D:08:C0:C4
Bit Rate=150 Mb/s Tx-Power=20 dBm
Retry short limit:7 RTS thr=2347 B Fragment thr:off
Power Management:off
Link Quality=40/70 Signal level=-70 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:955 Missed beacon:0

docker0 no wireless extensions.

enp4s0 no wireless extensions.

I have blocked bluetooth some time ago, because I had read that it might help with wifi. (it did not, obviously)
User avatar
CaptainKirksChair
Level 4
Level 4
Posts: 456
Joined: Sat Feb 18, 2017 9:29 pm

Re: Lenovo e570 wifi not working properly on Sylvia 18.3

Post by CaptainKirksChair »

Well, neither wireless is soft blocked and both have power management turned off, which is where I was heading. You can try to disable the on-board wireless, maybe through BIOS, and see if there is a conflict between it and the USB dongle wifi.
mimmon

Re: Lenovo e570 wifi not working properly on Sylvia 18.3

Post by mimmon »

I did not manage to turn the on-board wifi in BIOS, so I followed two of these solutions: https://askubuntu.com/questions/168032/ ... ard#168046 to turn the on-board off. The behaviour, however, stays still the same, although I am not sure if I did everything correctly.
It is strange that `inxi -Fxzs` shows that the onboard's (wlp5s0) state is down (which is expected), while usb wifi dongl's state is N/A.

Code: Select all

Network:   Card-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
           driver: r8169 v: 2.3LK-NAPI port: c000 bus-ID: 04:00.0
           IF: enp4s0 state: down mac: <filter>
           Card-2: Realtek Device c821 driver: rtl8821ce port: b000 bus-ID: 05:00.0
           IF: wlp5s0 state: down mac: <filter>
           Card-3: Edimax EW-7811Un 802.11n Wireless Adapter [Realtek RTL8188CUS]
           driver: rtl8192cu usb-ID: 001-002
           IF: wlx74da38e1ff20 state: N/A mac: N/A
mimmon

Re: Lenovo e570 wifi not working properly on Sylvia 18.3

Post by mimmon »

I tried all of the above and finally decided to replace the computer with another one (Dell Latitude). So now I have wifi, but I have problems with fan :)
User avatar
Pjotr
Level 24
Level 24
Posts: 20090
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: Lenovo e570 wifi not working properly on Sylvia 18.3

Post by Pjotr »

mimmon wrote: Tue Apr 03, 2018 6:50 am I tried all of the above and finally decided to replace the computer with another one (Dell Latitude). So now I have wifi, but I have problems with fan :)
Create a separate thread for that? :)
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.
Locked

Return to “Networking”