Realtek wifi driver problem in Linux Mint 18.2

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
2
down vote

favorite
2












I've installed Linux Mint 18.2 on my ThinkPad E470. I can't connect to wifi as no wireless option shows up. I searched around and found an old post with the exact problems as mine - https://ubuntuforums.org/showthread.php?t=2187780. But the solution to it is old and doesn't work for the new linux. And, lspci doesn't list my wifi adapter model. I also tried the solution given by Pilot6(Can't post the link as i have an upper limit on no. of links). But it doesn't work. This is the output of lspci -knn | grep Net -A2. https://pastebin.com/mMa6465h



04:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 10)
Subsystem: Lenovo RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [17aa:505b]
Kernel driver in use: r8169
Kernel modules: r8169
05:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. Device [10ec:c821]
Subsystem: Lenovo Device [17aa:c024]


Please guide further.







share|improve this question


















  • 1




    @GAD3R I ran it. The output didn't change.
    – Bhargav C S
    Jul 17 '17 at 14:37










  • This is the complete output of lspci - pastebin.com/mf55ViFW
    – Bhargav C S
    Jul 17 '17 at 14:51











  • Can you add the sudo lshw -C network output?
    – GAD3R
    Jul 17 '17 at 15:17










  • Here it is - pastebin.com/Vgyf1JXi.
    – Bhargav C S
    Jul 17 '17 at 15:30










  • More detail about the wifi card can be found here listing.driveragent.com/c/pci/10ec/c821
    – GAD3R
    Jul 17 '17 at 15:46















up vote
2
down vote

favorite
2












I've installed Linux Mint 18.2 on my ThinkPad E470. I can't connect to wifi as no wireless option shows up. I searched around and found an old post with the exact problems as mine - https://ubuntuforums.org/showthread.php?t=2187780. But the solution to it is old and doesn't work for the new linux. And, lspci doesn't list my wifi adapter model. I also tried the solution given by Pilot6(Can't post the link as i have an upper limit on no. of links). But it doesn't work. This is the output of lspci -knn | grep Net -A2. https://pastebin.com/mMa6465h



04:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 10)
Subsystem: Lenovo RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [17aa:505b]
Kernel driver in use: r8169
Kernel modules: r8169
05:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. Device [10ec:c821]
Subsystem: Lenovo Device [17aa:c024]


Please guide further.







share|improve this question


















  • 1




    @GAD3R I ran it. The output didn't change.
    – Bhargav C S
    Jul 17 '17 at 14:37










  • This is the complete output of lspci - pastebin.com/mf55ViFW
    – Bhargav C S
    Jul 17 '17 at 14:51











  • Can you add the sudo lshw -C network output?
    – GAD3R
    Jul 17 '17 at 15:17










  • Here it is - pastebin.com/Vgyf1JXi.
    – Bhargav C S
    Jul 17 '17 at 15:30










  • More detail about the wifi card can be found here listing.driveragent.com/c/pci/10ec/c821
    – GAD3R
    Jul 17 '17 at 15:46













up vote
2
down vote

favorite
2









up vote
2
down vote

favorite
2






2





I've installed Linux Mint 18.2 on my ThinkPad E470. I can't connect to wifi as no wireless option shows up. I searched around and found an old post with the exact problems as mine - https://ubuntuforums.org/showthread.php?t=2187780. But the solution to it is old and doesn't work for the new linux. And, lspci doesn't list my wifi adapter model. I also tried the solution given by Pilot6(Can't post the link as i have an upper limit on no. of links). But it doesn't work. This is the output of lspci -knn | grep Net -A2. https://pastebin.com/mMa6465h



04:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 10)
Subsystem: Lenovo RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [17aa:505b]
Kernel driver in use: r8169
Kernel modules: r8169
05:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. Device [10ec:c821]
Subsystem: Lenovo Device [17aa:c024]


Please guide further.







share|improve this question














I've installed Linux Mint 18.2 on my ThinkPad E470. I can't connect to wifi as no wireless option shows up. I searched around and found an old post with the exact problems as mine - https://ubuntuforums.org/showthread.php?t=2187780. But the solution to it is old and doesn't work for the new linux. And, lspci doesn't list my wifi adapter model. I also tried the solution given by Pilot6(Can't post the link as i have an upper limit on no. of links). But it doesn't work. This is the output of lspci -knn | grep Net -A2. https://pastebin.com/mMa6465h



04:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 10)
Subsystem: Lenovo RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [17aa:505b]
Kernel driver in use: r8169
Kernel modules: r8169
05:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. Device [10ec:c821]
Subsystem: Lenovo Device [17aa:c024]


Please guide further.









share|improve this question













share|improve this question




share|improve this question








edited Jul 17 '17 at 14:55









GAD3R

22.4k154893




22.4k154893










asked Jul 17 '17 at 14:16









Bhargav C S

11112




11112







  • 1




    @GAD3R I ran it. The output didn't change.
    – Bhargav C S
    Jul 17 '17 at 14:37










  • This is the complete output of lspci - pastebin.com/mf55ViFW
    – Bhargav C S
    Jul 17 '17 at 14:51











  • Can you add the sudo lshw -C network output?
    – GAD3R
    Jul 17 '17 at 15:17










  • Here it is - pastebin.com/Vgyf1JXi.
    – Bhargav C S
    Jul 17 '17 at 15:30










  • More detail about the wifi card can be found here listing.driveragent.com/c/pci/10ec/c821
    – GAD3R
    Jul 17 '17 at 15:46













  • 1




    @GAD3R I ran it. The output didn't change.
    – Bhargav C S
    Jul 17 '17 at 14:37










  • This is the complete output of lspci - pastebin.com/mf55ViFW
    – Bhargav C S
    Jul 17 '17 at 14:51











  • Can you add the sudo lshw -C network output?
    – GAD3R
    Jul 17 '17 at 15:17










  • Here it is - pastebin.com/Vgyf1JXi.
    – Bhargav C S
    Jul 17 '17 at 15:30










  • More detail about the wifi card can be found here listing.driveragent.com/c/pci/10ec/c821
    – GAD3R
    Jul 17 '17 at 15:46








1




1




@GAD3R I ran it. The output didn't change.
– Bhargav C S
Jul 17 '17 at 14:37




@GAD3R I ran it. The output didn't change.
– Bhargav C S
Jul 17 '17 at 14:37












This is the complete output of lspci - pastebin.com/mf55ViFW
– Bhargav C S
Jul 17 '17 at 14:51





This is the complete output of lspci - pastebin.com/mf55ViFW
– Bhargav C S
Jul 17 '17 at 14:51













Can you add the sudo lshw -C network output?
– GAD3R
Jul 17 '17 at 15:17




Can you add the sudo lshw -C network output?
– GAD3R
Jul 17 '17 at 15:17












Here it is - pastebin.com/Vgyf1JXi.
– Bhargav C S
Jul 17 '17 at 15:30




Here it is - pastebin.com/Vgyf1JXi.
– Bhargav C S
Jul 17 '17 at 15:30












More detail about the wifi card can be found here listing.driveragent.com/c/pci/10ec/c821
– GAD3R
Jul 17 '17 at 15:46





More detail about the wifi card can be found here listing.driveragent.com/c/pci/10ec/c821
– GAD3R
Jul 17 '17 at 15:46











1 Answer
1






active

oldest

votes

















up vote
9
down vote













Worked solution (Requirements: kernel >=4.11) :



(UPD: In the latest release of endlessm you need kernel version 4.15)



  1. Download driver directory from this repo:
    https://github.com/endlessm/linux/tree/master/drivers/net/wireless/rtl8821ce

You can do it by this link:
https://minhaskamal.github.io/DownGit/#/home?url=https://github.com/endlessm/linux/tree/master/drivers/net/wireless/rtl8821ce



  1. Unpack zip archive.

  2. Change the Makefile. Line "export TopDIR ?= ..." to export "TopDIR ?= PATH TO EXTRACTED DIRECTORY".

  3. make

  4. sudo make install

  5. sudo modprobe -a 8821ce





share|improve this answer






















  • Thanks for the tip - that worked for me. It failed with kernel 4.11.12 though and I had to upgrade to 4.13 in order to make it happen. Also, fwiw, kernel-devel should be installed as well (for new installs)
    – Mario Peshev
    Nov 27 '17 at 21:32











  • I have written something like this, export TopDIR ?= /Downloads/rtl8821ce And get an error message like this, $ make Makefile:821: /Downloads/rtl8821ce/rtl8821c.mk: No such file or directory make: *** No rule to make target '/Downloads/rtl8821ce/rtl8821c.mk'. Stop. Any idea what am I missing here?
    – Haseeb Mahmud
    Feb 17 at 10:23







  • 1




    @HaseebMahmud, 1. Check if the file rtl8821c.mk really exists in the folder that you downloaded. 2. Probably, you wrote the wrong path in 'export TopDIR'. Try to wrote full absolute path there.
    – Eugen
    Feb 23 at 2:53











  • @Eugen Thanks. My mistake was not writing the "absolute path". It should be /home/username/Downloads/rtl8821ce instead of /Downloads/rtl8821ce. It works now.
    – Haseeb Mahmud
    Apr 27 at 11:49










  • The code will not compile. I get "error: implicit declaration of timer_setup". What can I do about this error?
    – TheBigH
    Jun 10 at 16:08











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f379049%2frealtek-wifi-driver-problem-in-linux-mint-18-2%23new-answer', 'question_page');

);

Post as a guest






























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
9
down vote













Worked solution (Requirements: kernel >=4.11) :



(UPD: In the latest release of endlessm you need kernel version 4.15)



  1. Download driver directory from this repo:
    https://github.com/endlessm/linux/tree/master/drivers/net/wireless/rtl8821ce

You can do it by this link:
https://minhaskamal.github.io/DownGit/#/home?url=https://github.com/endlessm/linux/tree/master/drivers/net/wireless/rtl8821ce



  1. Unpack zip archive.

  2. Change the Makefile. Line "export TopDIR ?= ..." to export "TopDIR ?= PATH TO EXTRACTED DIRECTORY".

  3. make

  4. sudo make install

  5. sudo modprobe -a 8821ce





share|improve this answer






















  • Thanks for the tip - that worked for me. It failed with kernel 4.11.12 though and I had to upgrade to 4.13 in order to make it happen. Also, fwiw, kernel-devel should be installed as well (for new installs)
    – Mario Peshev
    Nov 27 '17 at 21:32











  • I have written something like this, export TopDIR ?= /Downloads/rtl8821ce And get an error message like this, $ make Makefile:821: /Downloads/rtl8821ce/rtl8821c.mk: No such file or directory make: *** No rule to make target '/Downloads/rtl8821ce/rtl8821c.mk'. Stop. Any idea what am I missing here?
    – Haseeb Mahmud
    Feb 17 at 10:23







  • 1




    @HaseebMahmud, 1. Check if the file rtl8821c.mk really exists in the folder that you downloaded. 2. Probably, you wrote the wrong path in 'export TopDIR'. Try to wrote full absolute path there.
    – Eugen
    Feb 23 at 2:53











  • @Eugen Thanks. My mistake was not writing the "absolute path". It should be /home/username/Downloads/rtl8821ce instead of /Downloads/rtl8821ce. It works now.
    – Haseeb Mahmud
    Apr 27 at 11:49










  • The code will not compile. I get "error: implicit declaration of timer_setup". What can I do about this error?
    – TheBigH
    Jun 10 at 16:08















up vote
9
down vote













Worked solution (Requirements: kernel >=4.11) :



(UPD: In the latest release of endlessm you need kernel version 4.15)



  1. Download driver directory from this repo:
    https://github.com/endlessm/linux/tree/master/drivers/net/wireless/rtl8821ce

You can do it by this link:
https://minhaskamal.github.io/DownGit/#/home?url=https://github.com/endlessm/linux/tree/master/drivers/net/wireless/rtl8821ce



  1. Unpack zip archive.

  2. Change the Makefile. Line "export TopDIR ?= ..." to export "TopDIR ?= PATH TO EXTRACTED DIRECTORY".

  3. make

  4. sudo make install

  5. sudo modprobe -a 8821ce





share|improve this answer






















  • Thanks for the tip - that worked for me. It failed with kernel 4.11.12 though and I had to upgrade to 4.13 in order to make it happen. Also, fwiw, kernel-devel should be installed as well (for new installs)
    – Mario Peshev
    Nov 27 '17 at 21:32











  • I have written something like this, export TopDIR ?= /Downloads/rtl8821ce And get an error message like this, $ make Makefile:821: /Downloads/rtl8821ce/rtl8821c.mk: No such file or directory make: *** No rule to make target '/Downloads/rtl8821ce/rtl8821c.mk'. Stop. Any idea what am I missing here?
    – Haseeb Mahmud
    Feb 17 at 10:23







  • 1




    @HaseebMahmud, 1. Check if the file rtl8821c.mk really exists in the folder that you downloaded. 2. Probably, you wrote the wrong path in 'export TopDIR'. Try to wrote full absolute path there.
    – Eugen
    Feb 23 at 2:53











  • @Eugen Thanks. My mistake was not writing the "absolute path". It should be /home/username/Downloads/rtl8821ce instead of /Downloads/rtl8821ce. It works now.
    – Haseeb Mahmud
    Apr 27 at 11:49










  • The code will not compile. I get "error: implicit declaration of timer_setup". What can I do about this error?
    – TheBigH
    Jun 10 at 16:08













up vote
9
down vote










up vote
9
down vote









Worked solution (Requirements: kernel >=4.11) :



(UPD: In the latest release of endlessm you need kernel version 4.15)



  1. Download driver directory from this repo:
    https://github.com/endlessm/linux/tree/master/drivers/net/wireless/rtl8821ce

You can do it by this link:
https://minhaskamal.github.io/DownGit/#/home?url=https://github.com/endlessm/linux/tree/master/drivers/net/wireless/rtl8821ce



  1. Unpack zip archive.

  2. Change the Makefile. Line "export TopDIR ?= ..." to export "TopDIR ?= PATH TO EXTRACTED DIRECTORY".

  3. make

  4. sudo make install

  5. sudo modprobe -a 8821ce





share|improve this answer














Worked solution (Requirements: kernel >=4.11) :



(UPD: In the latest release of endlessm you need kernel version 4.15)



  1. Download driver directory from this repo:
    https://github.com/endlessm/linux/tree/master/drivers/net/wireless/rtl8821ce

You can do it by this link:
https://minhaskamal.github.io/DownGit/#/home?url=https://github.com/endlessm/linux/tree/master/drivers/net/wireless/rtl8821ce



  1. Unpack zip archive.

  2. Change the Makefile. Line "export TopDIR ?= ..." to export "TopDIR ?= PATH TO EXTRACTED DIRECTORY".

  3. make

  4. sudo make install

  5. sudo modprobe -a 8821ce






share|improve this answer














share|improve this answer



share|improve this answer








edited Apr 12 at 11:46

























answered Oct 25 '17 at 1:49









Eugen

9113




9113











  • Thanks for the tip - that worked for me. It failed with kernel 4.11.12 though and I had to upgrade to 4.13 in order to make it happen. Also, fwiw, kernel-devel should be installed as well (for new installs)
    – Mario Peshev
    Nov 27 '17 at 21:32











  • I have written something like this, export TopDIR ?= /Downloads/rtl8821ce And get an error message like this, $ make Makefile:821: /Downloads/rtl8821ce/rtl8821c.mk: No such file or directory make: *** No rule to make target '/Downloads/rtl8821ce/rtl8821c.mk'. Stop. Any idea what am I missing here?
    – Haseeb Mahmud
    Feb 17 at 10:23







  • 1




    @HaseebMahmud, 1. Check if the file rtl8821c.mk really exists in the folder that you downloaded. 2. Probably, you wrote the wrong path in 'export TopDIR'. Try to wrote full absolute path there.
    – Eugen
    Feb 23 at 2:53











  • @Eugen Thanks. My mistake was not writing the "absolute path". It should be /home/username/Downloads/rtl8821ce instead of /Downloads/rtl8821ce. It works now.
    – Haseeb Mahmud
    Apr 27 at 11:49










  • The code will not compile. I get "error: implicit declaration of timer_setup". What can I do about this error?
    – TheBigH
    Jun 10 at 16:08

















  • Thanks for the tip - that worked for me. It failed with kernel 4.11.12 though and I had to upgrade to 4.13 in order to make it happen. Also, fwiw, kernel-devel should be installed as well (for new installs)
    – Mario Peshev
    Nov 27 '17 at 21:32











  • I have written something like this, export TopDIR ?= /Downloads/rtl8821ce And get an error message like this, $ make Makefile:821: /Downloads/rtl8821ce/rtl8821c.mk: No such file or directory make: *** No rule to make target '/Downloads/rtl8821ce/rtl8821c.mk'. Stop. Any idea what am I missing here?
    – Haseeb Mahmud
    Feb 17 at 10:23







  • 1




    @HaseebMahmud, 1. Check if the file rtl8821c.mk really exists in the folder that you downloaded. 2. Probably, you wrote the wrong path in 'export TopDIR'. Try to wrote full absolute path there.
    – Eugen
    Feb 23 at 2:53











  • @Eugen Thanks. My mistake was not writing the "absolute path". It should be /home/username/Downloads/rtl8821ce instead of /Downloads/rtl8821ce. It works now.
    – Haseeb Mahmud
    Apr 27 at 11:49










  • The code will not compile. I get "error: implicit declaration of timer_setup". What can I do about this error?
    – TheBigH
    Jun 10 at 16:08
















Thanks for the tip - that worked for me. It failed with kernel 4.11.12 though and I had to upgrade to 4.13 in order to make it happen. Also, fwiw, kernel-devel should be installed as well (for new installs)
– Mario Peshev
Nov 27 '17 at 21:32





Thanks for the tip - that worked for me. It failed with kernel 4.11.12 though and I had to upgrade to 4.13 in order to make it happen. Also, fwiw, kernel-devel should be installed as well (for new installs)
– Mario Peshev
Nov 27 '17 at 21:32













I have written something like this, export TopDIR ?= /Downloads/rtl8821ce And get an error message like this, $ make Makefile:821: /Downloads/rtl8821ce/rtl8821c.mk: No such file or directory make: *** No rule to make target '/Downloads/rtl8821ce/rtl8821c.mk'. Stop. Any idea what am I missing here?
– Haseeb Mahmud
Feb 17 at 10:23





I have written something like this, export TopDIR ?= /Downloads/rtl8821ce And get an error message like this, $ make Makefile:821: /Downloads/rtl8821ce/rtl8821c.mk: No such file or directory make: *** No rule to make target '/Downloads/rtl8821ce/rtl8821c.mk'. Stop. Any idea what am I missing here?
– Haseeb Mahmud
Feb 17 at 10:23





1




1




@HaseebMahmud, 1. Check if the file rtl8821c.mk really exists in the folder that you downloaded. 2. Probably, you wrote the wrong path in 'export TopDIR'. Try to wrote full absolute path there.
– Eugen
Feb 23 at 2:53





@HaseebMahmud, 1. Check if the file rtl8821c.mk really exists in the folder that you downloaded. 2. Probably, you wrote the wrong path in 'export TopDIR'. Try to wrote full absolute path there.
– Eugen
Feb 23 at 2:53













@Eugen Thanks. My mistake was not writing the "absolute path". It should be /home/username/Downloads/rtl8821ce instead of /Downloads/rtl8821ce. It works now.
– Haseeb Mahmud
Apr 27 at 11:49




@Eugen Thanks. My mistake was not writing the "absolute path". It should be /home/username/Downloads/rtl8821ce instead of /Downloads/rtl8821ce. It works now.
– Haseeb Mahmud
Apr 27 at 11:49












The code will not compile. I get "error: implicit declaration of timer_setup". What can I do about this error?
– TheBigH
Jun 10 at 16:08





The code will not compile. I get "error: implicit declaration of timer_setup". What can I do about this error?
– TheBigH
Jun 10 at 16:08













 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f379049%2frealtek-wifi-driver-problem-in-linux-mint-18-2%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

How to check contact read email or not when send email to Individual?

Displaying single band from multi-band raster using QGIS

How many registers does an x86_64 CPU actually have?