Lenovo Thinkpad no WiFi under 18.3

Questions about WIFI networks and devices
Forum rules
Before you post please read how to get help
Post Reply
almilne
Level 1
Level 1
Posts: 4
Joined: Tue Mar 06, 2018 2:00 pm

Lenovo Thinkpad no WiFi under 18.3

Post by almilne » Tue Mar 06, 2018 2:10 pm

Hi everyone,

I'm new to Linux and just finished setting up my new Thinkpad with Linux Mint 18.3 and now have the following problem. My wireless adapter seems to not be working. I assume it has something to do with a missing driver, but that's just a guess.
In the Driver Manager, there is just one slot about intel-microcode which I have ticked. The output of inxi -Fxz is

Code: Select all

System:    Host: Foxtrot Kernel: 4.13.0-36-generic x86_64 (64 bit gcc: 5.4.0)
           Desktop: Cinnamon 3.6.7 (Gtk 3.18.9-1ubuntu3.3)
           Distro: Linux Mint 18.3 Sylvia
Machine:   System: LENOVO (portable) product: 20H500B2FR v: ThinkPad E570
           Mobo: LENOVO model: 20H500B2FR v: SDK0J40697 WIN
           Bios: LENOVO v: R0DET88W (1.88 ) date: 10/30/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: 2700 MHz 2: 2700 MHz 3: 2700 MHz
           4: 2700 MHz
Graphics:  Card: Intel Device 5916 bus-ID: 00:02.0
           Display Server: X.Org 1.18.4 drivers: intel (unloaded: fbdev,vesa)
           Resolution: 1920x1080@60.05hz
           GLX Renderer: Mesa DRI Intel HD Graphics 620 (Kaby Lake GT2)
           GLX Version: 3.0 Mesa 17.2.8 Direct Rendering: Yes
Audio:     Card Intel Device 9d71 driver: snd_hda_intel bus-ID: 00:1f.3
           Sound: Advanced Linux Sound Architecture v: k4.13.0-36-generic
Network:   Card-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
           driver: r8169 v: 2.3LK-NAPI port: d000 bus-ID: 04:00.0
           IF: enp4s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
           Card-2: Realtek Device c821 port: c000 bus-ID: 05:00.0
           IF: N/A state: N/A speed: N/A duplex: N/A mac: N/A
Drives:    HDD Total Size: NA (-) ID-1: /dev/nvme0n1 model: N/A size: 256.1GB
Partition: ID-1: / size: 23G used: 7.0G (32%) fs: ext4 dev: /dev/nvme0n1p5
           ID-2: /home size: 92G used: 209M (1%) fs: ext4 dev: /dev/nvme0n1p7
           ID-3: swap-1 size: 14.68GB 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: 45.5C mobo: N/A
           Fan Speeds (in rpm): cpu: 0
Info:      Processes: 213 Uptime: 1 min Memory: 934.6/7880.8MB
           Init: systemd runlevel: 5 Gcc sys: 5.4.0
           Client: Shell (bash 4.3.481) inxi: 2.2.35 

I'd appreciate all and any help!
Thanks in advance,

almilne

User avatar
JoeFootball
Level 7
Level 7
Posts: 1502
Joined: Tue Nov 24, 2009 1:52 pm
Location: /home/usa/mn/minneapolis/joe

Re: Lenovo Thinkpad no WiFi under 18.3

Post by JoeFootball » Tue Mar 06, 2018 4:21 pm

almilne wrote:I'd appreciate all and any help!
Try some of the ideas in this article from the Easy Linux Tips Project.

Joe

User avatar
kc1di
Level 13
Level 13
Posts: 4779
Joined: Mon Sep 08, 2008 8:44 pm
Location: Maine USA

Re: Lenovo Thinkpad no WiFi under 18.3

Post by kc1di » Tue Mar 06, 2018 4:41 pm

try this with a Ethernet connection.

Code: Select all

sudo apt-get install dkms git
git clone https://github.com/gnab/rtl8812au.git
sudo dkms add ./rtl8812au
sudo dkms install 8812au/4.2.2
Easy tips : https://sites.google.com/site/easylinuxtipsproject/
Linux Mint Installation Guide: http://linuxmint-installation-guide.rea ... en/latest/
Registered Linux User #462608

User avatar
Sir Charles
Level 7
Level 7
Posts: 1827
Joined: Thu Jan 04, 2018 1:00 pm

Re: Lenovo Thinkpad no WiFi under 18.3

Post by Sir Charles » Tue Mar 06, 2018 4:49 pm

It might be the case that this

Code: Select all

driver: r8169
is not quite right for your card. See: https://unixblogger.com/2016/08/11/how ... ted-guide/
I suppose that's one of the ironies of life, doing the wrong thing at the right moment -C.C.

almilne
Level 1
Level 1
Posts: 4
Joined: Tue Mar 06, 2018 2:00 pm

Re: Lenovo Thinkpad no WiFi under 18.3

Post by almilne » Tue Mar 06, 2018 5:36 pm

Thank you for the tips, I think it pointed me in the right direction. I found this
evassilyev wrote:
Download driver directory from this repo:https://github.com/endlessm/linux/tr...less/rtl8821ce. You can do it by this link: https://minhaskamal.github.io/DownGi...less/rtl8821ce
Unpack zip archive.
Change the Makefile. Line "export TopDIR ?= ..." to export "TopDIR ?= PATH TO EXTRACTED DIRECTORY".
make
sudo make install
sudo modprobe -a 8821ce
I followed the described procedure, but I'm getting error messages in the 3rd step 'make'...

Code: Select all

ake ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.13.0-36-generic/build M=/home/delta/rtl8821ce  modules
make[1]: Verzeichnis „/usr/src/linux-headers-4.13.0-36-generic“ wird betreten
  CC [M]  /home/delta/rtl8821ce/core/rtw_cmd.o
In file included from /home/delta/rtl8821ce/include/osdep_service.h:48:0,
                 from /home/delta/rtl8821ce/include/drv_types.h:32,
                 from /home/delta/rtl8821ce/core/rtw_cmd.c:22:
/home/delta/rtl8821ce/include/osdep_service_linux.h: In function ‘_init_timer’:
/home/delta/rtl8821ce/include/osdep_service_linux.h:294:2: error: implicit declaration of function ‘timer_setup’ [-Werror=implicit-function-declaration]
  timer_setup(ptimer, pfunc, 0);
  ^
cc1: some warnings being treated as errors
scripts/Makefile.build:308: die Regel für Ziel „/home/delta/rtl8821ce/core/rtw_cmd.o“ scheiterte
make[2]: *** [/home/delta/rtl8821ce/core/rtw_cmd.o] Fehler 1
Makefile:1550: die Regel für Ziel „_module_/home/delta/rtl8821ce“ scheiterte
make[1]: *** [_module_/home/delta/rtl8821ce] Fehler 2
make[1]: Verzeichnis „/usr/src/linux-headers-4.13.0-36-generic“ wird verlassen
Makefile:1902: die Regel für Ziel „modules“ scheiterte
make: *** [modules] Fehler 2
Do you have any suggestions?

almilne
Level 1
Level 1
Posts: 4
Joined: Tue Mar 06, 2018 2:00 pm

Re: Lenovo Thinkpad no WiFi under 18.3

Post by almilne » Thu Mar 08, 2018 7:28 am

Can anyone help me with my problem in the makefile?
This problem pops up several times for different thinkpads across several forums, but they all refer to the same solution, the one I quoted earlier.
It seems to have worked for those in the original threads though. Any idea on why it doesn't work for me?
Could this be a kernel version problem? Any help is much appreciated!

Thanks in advance.

PS: the driver for 8812au did not work, sadly..

EDIT: Also, the files this solution is referring to (under https://github.com/endlessm/linux/tree/ ... /rtl8821ce ) says "rtl8821ce: fix build for Linux-4.15". Does this mean it is for a later kernel version? My version is 4.13.

User avatar
kc1di
Level 13
Level 13
Posts: 4779
Joined: Mon Sep 08, 2008 8:44 pm
Location: Maine USA

Re: Lenovo Thinkpad no WiFi under 18.3

Post by kc1di » Mon Mar 12, 2018 7:43 am

almilne wrote:
Thu Mar 08, 2018 7:28 am


EDIT: Also, the files this solution is referring to (under https://github.com/endlessm/linux/tree/ ... /rtl8821ce ) says "rtl8821ce: fix build for Linux-4.15". Does this mean it is for a later kernel version? My version is 4.13.
Kernel 4.15 will not be available in Mint until Mint 19. You can install it with a program called UUKU but it will be a vanilla kernel and not have any of the Ubuntu/Mint upgrades. And if you run into other problems with it it may be difficult to get help.
UUKU is found here:
https://www.omgubuntu.co.uk/2017/02/uku ... nel-ubuntu
Other than that kernel 4.15 is in Ubuntu 18.04 beta or daily releases now. it may be worth downloading and trying it out in live mode to see if the new kernel will fix your problem.
Easy tips : https://sites.google.com/site/easylinuxtipsproject/
Linux Mint Installation Guide: http://linuxmint-installation-guide.rea ... en/latest/
Registered Linux User #462608

almilne
Level 1
Level 1
Posts: 4
Joined: Tue Mar 06, 2018 2:00 pm

Re: Lenovo Thinkpad no WiFi under 18.3

Post by almilne » Tue Mar 13, 2018 9:19 am

Thanks!
I will try this with the new kernel version.

Post Reply

Return to “Wireless”