[SOLVED] LM19 WiFi not showing in network settings

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
JVR
Level 1
Level 1
Posts: 36
Joined: Sun Jun 26, 2011 6:16 pm

[SOLVED] LM19 WiFi not showing in network settings

Post by JVR » Thu Jul 12, 2018 7:17 am

Hello, I just installed LM19 alongside Windows 10 and now I have the following

Problem: Wi-Fi will not show in network settings, only wired.
Question: how do I make it to show?

**EDIT: see last post in this forum for solution: viewtopic.php?f=90&t=273099&start=20#p1501349 **

I looked around in this forum and in the internet, and I think the information below is useful. I suspect I need to install a driver for the wireless network adapter (Realtek) but I don't know how to do that (or if I am correct, in which case, would you point me to installation instructions?). I must add, bluetooth does show and audio is working fine.

Please see "Supporting info" section after code outputs to learn why I suspect the problem is a missing driver.

I will very much appreciate your time and effort spent in finding this answer.

Jorge.

Code: Select all

jorge@JKHale:~$ inxi -Fxz
System:    Host: JKHale Kernel: 4.15.0-20-generic x86_64 bits: 64 gcc: 7.3.0
           Desktop: Cinnamon 3.8.7 (Gtk 3.22.30-1ubuntu1)
           Distro: Linux Mint 19 Tara
Machine:   Device: laptop System: HP product: HP Pavilion Laptop 15-cw0xxx serial: N/A
           Mobo: HP model: 84E7 v: 99.16 serial: N/A
           UEFI: AMI v: F.02 date: 05/04/2018
Battery    BAT0: charge: 39.5 Wh 99.9% condition: 39.5/39.5 Wh (100%)
           model: Hewlett-Packard Primary status: Full
CPU:       Quad core AMD Ryzen 5 2500U with Radeon Vega Mobile Gfx (-MT-MCP-) 
           arch: Zen rev.0 cache: 2048 KB
           
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm) bmips: 15969
           clock speeds: max: 2000 MHz 1: 1506 MHz 2: 1460 MHz 3: 1547 MHz
           4: 1324 MHz 5: 1321 MHz 6: 1301 MHz 7: 1339 MHz 8: 1399 MHz
Graphics:  Card: Advanced Micro Devices [AMD/ATI] Vega [Radeon Vega 8 Mobile]
           bus-ID: 03:00.0
           Display Server: x11 (X.Org 1.19.6 )
           drivers: ati,amdgpu (unloaded: modesetting,fbdev,vesa,radeon)
           Resolution: 1366x768@60.00hz
           OpenGL: renderer: AMD RAVEN (DRM 3.23.0 / 4.15.0-20-generic, LLVM 6.0.0)
           version: 4.5 Mesa 18.0.5 Direct Render: Yes
Audio:     Card-1 Advanced Micro Devices [AMD] Device 15e3
           driver: snd_hda_intel bus-ID: 03:00.6
           Card-2 Advanced Micro Devices [AMD/ATI] Device 15de
           driver: snd_hda_intel bus-ID: 03:00.1
           Sound: Advanced Linux Sound Architecture v: k4.15.0-20-generic
Network:   Card-1: Realtek RTL8821CE 802.11ac PCIe Wireless Network Adapter
           port: f000 bus-ID: 01:00.0
           IF: N/A state: N/A mac: N/A
           Card-2: Realtek RTL8111/8168/8411 PCIE Gigabit Ethernet Controller
           driver: r8169 v: 2.3LK-NAPI port: e000 bus-ID: 02:00.0
           IF: eno1 state: up speed: 100 Mbps duplex: full mac: <filter>
Drives:    HDD Total Size: 1128.2GB (3.7% used)
           ID-1: /dev/sda model: HGST_HTS541010B7 size: 1000.2GB
           ID-2: /dev/sdb model: SanDisk_SD9SN8W size: 128.0GB
Partition: ID-1: / size: 132G used: 16G (13%) fs: ext4 dev: /dev/sda4
           ID-2: /home size: 457G used: 129M (1%) fs: ext4 dev: /dev/sda6
           ID-3: swap-1 size: 26.21GB used: 0.00GB (0%)
           fs: swap dev: /dev/sda5
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 41.0C mobo: N/A gpu: 0.0
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 240 Uptime: 33 min Memory: 2467.2/11019.2MB
           Init: systemd runlevel: 5 Gcc sys: 7.3.0
           Client: Shell (bash 4.4.191) inxi: 2.3.56 

Code: Select all

jorge@JKHale:~$ rfkill list all
0: hci0: Bluetooth
	Soft blocked: yes
	Hard blocked: no

Code: Select all

jorge@JKHale:~$ iwconfig
lo        no wireless extensions.

eno1      no wireless extensions.

Code: Select all

jorge@JKHale:~$ lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 0408:5300 Quanta Computer, Inc. 
Bus 003 Device 002: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 0bda:b00a Realtek Semiconductor Corp. 
Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Code: Select all

jorge@JKHale:~$ lspci
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15d0
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Device 15d1
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe Dummy Host Bridge
00:01.6 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 15d3
00:01.7 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 15d3
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe Dummy Host Bridge
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 15db
00:08.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 15dc
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 61)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15e8
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15e9
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15ea
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15eb
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15ec
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15ed
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15ee
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15ef
01:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Vega [Radeon Vega 8 Mobile] (rev c4)
03:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device 15de
03:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Device 15df
03:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Device 15e0
03:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Device 15e1
03:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Device 15e3
03:00.7 Non-VGA unclassified device: Advanced Micro Devices, Inc. [AMD] Device 15e6
04:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 61)
Supporting info:

My problem seems to have a diagnostics very similar to the one described in the following post (but I haven't tried their solution because their culprit is different from mine)
https://www.linuxquestions.org/question ... 175630496/

The site below gives instructions to install drivers (but maybe that is not my problem?)
https://sites.google.com/site/easylinux ... t/internet

The fix proposed in the link below will not work for me because wireless LAN doesn't even show in rfkill list all
viewtopic.php?t=211422

The fix by JeremyB in the post below (sudo apt install linux-modules-extra-4.15.0.24-generic) didn't work for me, I even tried booting into all previous kernels that I have access to through grub (4.15-0-24, 4.15.0-23, 4.15.0.20, all generic).
viewtopic.php?f=53&t=272545

One last option again by JeremyB which I am willing to consider if everything else fails:
viewtopic.php?f=53&t=273033
Last edited by JVR on Tue Jul 24, 2018 5:24 pm, edited 4 times in total.

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

Re: LM19 WiFi not showing in network settings

Post by kc1di » Thu Jul 12, 2018 7:43 am

Hi,
Go to a terminal and do the following and then reboot

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

JVR
Level 1
Level 1
Posts: 36
Joined: Sun Jun 26, 2011 6:16 pm

Re: LM19 WiFi not showing in network settings

Post by JVR » Thu Jul 12, 2018 8:13 am

Hi kc1di, thank you for your time. I am afraid it didn't work. The output to the last line of code showed an error, though. Here the results:

Code: Select all

jorge@JKHale:~$ sudo apt-get install dkms git
Reading package lists... Done
Building dependency tree       
Reading state information... Done
dkms is already the newest version (2.3-3ubuntu9.1).
The following additional packages will be installed:
  git-man liberror-perl
Suggested packages:
  git-daemon-run | git-daemon-sysvinit git-doc git-el git-email git-gui gitk
  gitweb git-cvs git-mediawiki git-svn
The following NEW packages will be installed:
  git git-man liberror-perl
0 upgraded, 3 newly installed, 0 to remove and 15 not upgraded.
Need to get 4 731 kB of archives.
After this operation, 33.9 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://archive.ubuntu.com/ubuntu bionic/main amd64 liberror-perl all 0.17025-1 [22.8 kB]
Get:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git-man all 1:2.17.1-1ubuntu0.1 [803 kB]
Get:3 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git amd64 1:2.17.1-1ubuntu0.1 [3 905 kB]
Fetched 4 731 kB in 5s (1 038 kB/s)  
Selecting previously unselected package liberror-perl.
(Reading database ... 333449 files and directories currently installed.)
Preparing to unpack .../liberror-perl_0.17025-1_all.deb ...
Unpacking liberror-perl (0.17025-1) ...
Selecting previously unselected package git-man.
Preparing to unpack .../git-man_1%3a2.17.1-1ubuntu0.1_all.deb ...
Unpacking git-man (1:2.17.1-1ubuntu0.1) ...
Selecting previously unselected package git.
Preparing to unpack .../git_1%3a2.17.1-1ubuntu0.1_amd64.deb ...
Unpacking git (1:2.17.1-1ubuntu0.1) ...
Setting up git-man (1:2.17.1-1ubuntu0.1) ...
Setting up liberror-perl (0.17025-1) ...
Processing triggers for man-db (2.8.3-2) ...
Setting up git (1:2.17.1-1ubuntu0.1) ...

jorge@JKHale:~$ git clone https://github.com/gnab/rtl8812au.git
Cloning into 'rtl8812au'...
remote: Counting objects: 607, done.
remote: Total 607 (delta 0), reused 0 (delta 0), pack-reused 607
Receiving objects: 100% (607/607), 1.80 MiB | 1.63 MiB/s, done.
Resolving deltas: 100% (242/242), done.

jorge@JKHale:~$ sudo dkms add ./rtl8812au

Creating symlink /var/lib/dkms/8812au/4.2.2/source ->
                 /usr/src/8812au-4.2.2

DKMS: add completed.

jorge@JKHale:~$ sudo dkms install 8812au/4.2.2

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
'make' all KVER=4.15.0-20-generic...(bad exit status: 2)
ERROR (dkms apport): binary package for 8812au: 4.2.2 not found
Error! Bad return status for module build on kernel: 4.15.0-20-generic (x86_64)
Consult /var/lib/dkms/8812au/4.2.2/build/make.log for more information.

JVR
Level 1
Level 1
Posts: 36
Joined: Sun Jun 26, 2011 6:16 pm

Re: LM19 WiFi not showing in network settings

Post by JVR » Thu Jul 12, 2018 8:17 am

Perhaps I should have added in the original post: wifi works fine in W10, there is no option to disable wifi in the firmware of this machine (formerly "BIOS"), and there is no physical switch on the laptop to turn wifi off. **EDIT: there IS an airplane-mode button, and it works fine both on W10 and LM19**
Last edited by JVR on Fri Jul 13, 2018 2:10 am, edited 2 times in total.

JVR
Level 1
Level 1
Posts: 36
Joined: Sun Jun 26, 2011 6:16 pm

Re: LM19 WiFi not showing in network settings

Post by JVR » Thu Jul 12, 2018 9:41 pm

Feeling kind of bummed right now. I have researched further but found no solution to my problem of wifi not showing in network settings. I think I should try a fresh reinstall but wanted to first share three things I found.

1. The post below reported a similar problem (we have similar answers to iwconfig), but I think mine is worse because my reponse to rfkill list all won't even show wireless LAN. The fix in that case was to reinstall and fidgeting with the airplane-mode button (it turns out my equipment does have an airplane-mode button, f12, that is too damn close to other important buttons and with no indicator light). I have checked and rechecked and the airplane-mode button works fine on W10 and does disable/enable bluetooth on LM19 just fine as well. Here the post mentioned:
viewtopic.php?t=220179

2. The fix proposed to me by kc1di mentioned a rtl8812au Realtek chip and my equipment seems to have a rtl8821ce Realtek adapter, so I was hoping that by just replacing one for the other in kc1di's instructions I'd manage to fix the problem but I was asked to enter a username and password for GitHub, and after creating them and allowing some time before I tried again, I got a message about being unauthorized or something.

3. Finally, the link below has great detailed suggestions and I tried some, but since they mostly refer to chips different from mine, I could only try few things:
https://sites.google.com/site/easylinux ... t/internet

So ... here I go again (that Whitesnake song feels somehow appropriate right now), doing a new installation which, with my level of expertise wasn't trivial. Anyone has suggestions on how to prepare an installation usb for UEFI on linuxmint 17 (the first one I made on windows10 ... and if you read this you know what happened)? Also, I will just do the exact same thing I did during installation 1 (unplugged from the internet) ... isn't insanity doing the same thing over an over again expecting different results? Anyone out there wants to throw in a last-min lifesaver?
Last edited by JVR on Fri Jul 13, 2018 2:11 am, edited 1 time in total.

JVR
Level 1
Level 1
Posts: 36
Joined: Sun Jun 26, 2011 6:16 pm

Re: LM19 WiFi not showing in network settings

Post by JVR » Thu Jul 12, 2018 10:57 pm

Continuing on the hypothesis that I am missing drivers for my rtl8821ce wireless network adapter chipset, I found the page below and requested a download link for a linux operating system. They currently only have a .exe download file which I understand will only work on windows (or at least I don't know what to do with that file on my linux machine).

https://h30434.www3.hp.com/t5/forums/po ... -id/153800

Apologies for chronicling every single step. I know this will help me, at least.

lazarus
Level 3
Level 3
Posts: 143
Joined: Mon Jul 02, 2018 11:36 pm
Location: Oberon, OZ

Re: LM19 WiFi not showing in network settings

Post by lazarus » Fri Jul 13, 2018 12:17 am

Out of curiosity I looked up the driver kc1di recommended and found:
This is a fork of the Realtek 802.11ac (rtl8812au) v4.2.2 (7502.20130507) driver altered to build on Linux kernel version >= 3.10.

Which does correspond to the chipset reported by your wifi card. (Doesn't mean it's right, though...) Looking at the results from when you went to install it...

Code: Select all

---8<---
Building module:
cleaning build area...
'make' all KVER=4.15.0-20-generic...(bad exit status: 2)
ERROR (dkms apport): binary package for 8812au: 4.2.2 not found
Error! Bad return status for module build on kernel: 4.15.0-20-generic (x86_64)
Consult /var/lib/dkms/8812au/4.2.2/build/make.log for more information
...everything is fine up 'til the make. What did the error log report?
- Andy

I may be weird but I'm saving up to become eccentric.

JVR
Level 1
Level 1
Posts: 36
Joined: Sun Jun 26, 2011 6:16 pm

Re: LM19 WiFi not showing in network settings

Post by JVR » Fri Jul 13, 2018 1:53 am

Thanks Andy (lazarus), I forgot to post the error log as well (at the end). Ideas are most appreciated right now as I am still stuck with this problem.

I just finished creating a new installation usb but think I should let the laptop rest for the night. I have restarted my system so many times in the past 48 hours that on two or three occasions the clock in windows 10 started to show a different time. Also, why do you say that the 8812au chip corresponded to the chip reported on my wifi card? I just saw my system specs again and still see the 8821ce chip, so it's different?

Thanks again.

Code: Select all

DKMS make.log for 8812au-4.2.2 for kernel 4.15.0-24-generic (x86_64)
Thu Jul 12 07:08:50 CDT 2018
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.15.0-24-generic/build M=/var/lib/dkms/8812au/4.2.2/build  modules
make[1]: Entering directory '/usr/src/linux-headers-4.15.0-24-generic'
Makefile:976: "Cannot use CONFIG_STACK_VALIDATION=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel"
  CC [M]  /var/lib/dkms/8812au/4.2.2/build/core/rtw_cmd.o
In file included from /var/lib/dkms/8812au/4.2.2/build/include/osdep_service.h:41:0,
                 from /var/lib/dkms/8812au/4.2.2/build/include/drv_types.h:32,
                 from /var/lib/dkms/8812au/4.2.2/build/core/rtw_cmd.c:22:
/var/lib/dkms/8812au/4.2.2/build/include/osdep_service_linux.h: In function ‘_init_timer’:
/var/lib/dkms/8812au/4.2.2/build/include/osdep_service_linux.h:257:8: error: ‘_timer {aka struct timer_list}’ has no member named ‘data’
  ptimer->data = (unsigned long)cntx;
        ^~
/var/lib/dkms/8812au/4.2.2/build/include/osdep_service_linux.h:258:2: error: implicit declaration of function ‘init_timer’; did you mean ‘_init_timer’? [-Werror=implicit-function-declaration]
  init_timer(ptimer);
  ^~~~~~~~~~
  _init_timer
cc1: some warnings being treated as errors
scripts/Makefile.build:332: recipe for target '/var/lib/dkms/8812au/4.2.2/build/core/rtw_cmd.o' failed
make[2]: *** [/var/lib/dkms/8812au/4.2.2/build/core/rtw_cmd.o] Error 1
Makefile:1552: recipe for target '_module_/var/lib/dkms/8812au/4.2.2/build' failed
make[1]: *** [_module_/var/lib/dkms/8812au/4.2.2/build] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-24-generic'
Makefile:1052: recipe for target 'modules' failed
make: *** [modules] Error 2
**EDIT** as asked by the error report I installed libelf-dev, ran again the last command and got this error:

Code: Select all

$ sudo dkms install 8812au/4.2.2

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
'make' all KVER=4.15.0-24-generic....(bad exit status: 2)
ERROR (dkms apport): binary package for 8812au: 4.2.2 not found
Error! Bad return status for module build on kernel: 4.15.0-24-generic (x86_64)
Consult /var/lib/dkms/8812au/4.2.2/build/make.log for more information.
with the following make.log file

Code: Select all

DKMS make.log for 8812au-4.2.2 for kernel 4.15.0-24-generic (x86_64)
Fri Jul 13 01:25:27 CDT 2018
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.15.0-24-generic/build M=/var/lib/dkms/8812au/4.2.2/build  modules
make[1]: Entering directory '/usr/src/linux-headers-4.15.0-24-generic'
  CC [M]  /var/lib/dkms/8812au/4.2.2/build/core/rtw_cmd.o
In file included from /var/lib/dkms/8812au/4.2.2/build/include/osdep_service.h:41:0,
                 from /var/lib/dkms/8812au/4.2.2/build/include/drv_types.h:32,
                 from /var/lib/dkms/8812au/4.2.2/build/core/rtw_cmd.c:22:
/var/lib/dkms/8812au/4.2.2/build/include/osdep_service_linux.h: In function ‘_init_timer’:
/var/lib/dkms/8812au/4.2.2/build/include/osdep_service_linux.h:257:8: error: ‘_timer {aka struct timer_list}’ has no member named ‘data’
  ptimer->data = (unsigned long)cntx;
        ^~
/var/lib/dkms/8812au/4.2.2/build/include/osdep_service_linux.h:258:2: error: implicit declaration of function ‘init_timer’; did you mean ‘_init_timer’? [-Werror=implicit-function-declaration]
  init_timer(ptimer);
  ^~~~~~~~~~
  _init_timer
cc1: some warnings being treated as errors
scripts/Makefile.build:332: recipe for target '/var/lib/dkms/8812au/4.2.2/build/core/rtw_cmd.o' failed
make[2]: *** [/var/lib/dkms/8812au/4.2.2/build/core/rtw_cmd.o] Error 1
Makefile:1552: recipe for target '_module_/var/lib/dkms/8812au/4.2.2/build' failed
make[1]: *** [_module_/var/lib/dkms/8812au/4.2.2/build] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-24-generic'
Makefile:1052: recipe for target 'modules' failed
make: *** [modules] Error 2
Last edited by JVR on Fri Jul 13, 2018 2:38 am, edited 2 times in total.

JVR
Level 1
Level 1
Posts: 36
Joined: Sun Jun 26, 2011 6:16 pm

Re: LM19 WiFi not showing in network settings

Post by JVR » Fri Jul 13, 2018 2:08 am

NOTE: this is probably unrelated, but in addition to the 2 or 3 times that I had to correct the clock on windows 10, this strange thing happened on linux mint 19: I had two chromium windows open but had been working on only one of them for a while, the second window was under it. At one point I slid the window I had been working on to uncover the one underneath it. The chromium window underneath looked as if a fine grid of golden pixels had been put on it, it worked, but I couldn't read anything easily on it. I have closed and relaunched chromium several times after that and it is fine. Not sure what to make of that.

lazarus
Level 3
Level 3
Posts: 143
Joined: Mon Jul 02, 2018 11:36 pm
Location: Oberon, OZ

Re: LM19 WiFi not showing in network settings

Post by lazarus » Fri Jul 13, 2018 4:03 am

At a glance it looks like there may be some loose code in the source. Without actually DLing the source myself, I can't comment.

You could possibly edit dkms.conf and enable debugging in the make line, but that's heading into esoteric territories where there be dragons.

Sorry.
- Andy

I may be weird but I'm saving up to become eccentric.

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

Re: LM19 WiFi not showing in network settings

Post by JeremyB » Fri Jul 13, 2018 4:55 am

You could try

Code: Select all

sudo apt install git
git clone https://github.com/FreedomBen/rtl8188ce-linux-driver.git
cd rtl8188ce-linux-driver
./install.sh

JVR
Level 1
Level 1
Posts: 36
Joined: Sun Jun 26, 2011 6:16 pm

Re: LM19 WiFi not showing in network settings

Post by JVR » Fri Jul 13, 2018 7:47 pm

Thanks for your input Andy.

JVR
Level 1
Level 1
Posts: 36
Joined: Sun Jun 26, 2011 6:16 pm

Re: LM19 WiFi not showing in network settings

Post by JVR » Fri Jul 13, 2018 8:13 pm

Hi JeremyB. I tried your suggestion and even though I experienced no errors (results shown below), WiFi still won't show in my network settings. I must say, though, how impressed I am of the work those few lines can do. It seems like I changed the driver for the card? Really nice work. I will probably reinstall LM19 at some point later tonight, unplugged from the internet, right? I hope that will help and correct whatever wasn't done appropriately the first time. If that won't change anything perhaps I will switch to LM18 or LM17? Although if this is a compatibility issue of my machine's network chipset I think I won't be able to run away from it. I feel like writing to Realtek and tell them I want back the three days of my life spent on their stupid hardware! I don't know why I am experiencing so many difficulties this time around. I have worked so well with linuxmint for the past ten years that it still is my no 1 OS by far, despite this frustrating experience.

Code: Select all

~$ sudo apt install git 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
git is already the newest version (1:2.17.1-1ubuntu0.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
jorge@JKHale:~$ git clone https://github.com/FreedomBen/rtl8188ce-linux-driver.git
Cloning into 'rtl8188ce-linux-driver'...
remote: Counting objects: 7835, done.
remote: Total 7835 (delta 0), reused 0 (delta 0), pack-reused 7835
Receiving objects: 100% (7835/7835), 19.02 MiB | 1.38 MiB/s, done.
Resolving deltas: 100% (6016/6016), done.

:~$ cd rtl8188ce-linux-driver
:~$ ./install.sh

[*] So you want to live on the wild side and try a different driver for your RealTek wireless card eh?  Awesome!  I'll help you do it.

[*] We are going to build and install the driver from source code, compiled specifically for your machine.

[*] If you want to do the build/install manually, there are instructions in the "README.md" file.

[*] Please report any bugs/problems at https://github.com/FreedomBen/rtl8188ce-linux-driver

[*] You will need sudo privileges in order to complete this install.
[*] Press <Enter> when ready to begin, or <Ctrl+C> to quit

[*] Let's install any dependencies you will need in order to build the driver.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
gcc is already the newest version (4:7.3.0-3ubuntu2).
linux-headers-4.15.0-24-generic is already the newest version (4.15.0-24.26).
linux-headers-generic is already the newest version (4.15.0.23.25).
linux-headers-generic set to manually installed.
Suggested packages:
  g++-multilib g++-7-multilib gcc-7-doc libstdc++6-7-dbg libstdc++-7-doc
The following NEW packages will be installed:
  build-essential g++ g++-7 libstdc++-7-dev
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 9 033 kB of archives.
After this operation, 40.7 MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu bionic/main amd64 libstdc++-7-dev amd64 7.3.0-16ubuntu3 [1 461 kB]
Get:2 http://archive.ubuntu.com/ubuntu bionic/main amd64 g++-7 amd64 7.3.0-16ubuntu3 [7 566 kB]
Get:3 http://archive.ubuntu.com/ubuntu bionic/main amd64 g++ amd64 4:7.3.0-3ubuntu2 [1 576 B]
Get:4 http://archive.ubuntu.com/ubuntu bionic/main amd64 build-essential amd64 12.4ubuntu1 [4 758 B]
Fetched 9 033 kB in 7s (1 254 kB/s)                                            
Selecting previously unselected package libstdc++-7-dev:amd64.
(Reading database ... 341704 files and directories currently installed.)
Preparing to unpack .../libstdc++-7-dev_7.3.0-16ubuntu3_amd64.deb ...
Unpacking libstdc++-7-dev:amd64 (7.3.0-16ubuntu3) ...
Selecting previously unselected package g++-7.
Preparing to unpack .../g++-7_7.3.0-16ubuntu3_amd64.deb ...
Unpacking g++-7 (7.3.0-16ubuntu3) ...
Selecting previously unselected package g++.
Preparing to unpack .../g++_4%3a7.3.0-3ubuntu2_amd64.deb ...
Unpacking g++ (4:7.3.0-3ubuntu2) ...
Selecting previously unselected package build-essential.
Preparing to unpack .../build-essential_12.4ubuntu1_amd64.deb ...
Unpacking build-essential (12.4ubuntu1) ...
Setting up libstdc++-7-dev:amd64 (7.3.0-16ubuntu3) ...
Processing triggers for man-db (2.8.3-2) ...
Setting up g++-7 (7.3.0-16ubuntu3) ...
Setting up g++ (4:7.3.0-3ubuntu2) ...
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
Setting up build-essential (12.4ubuntu1) ...
Reading package lists... Done
Building dependency tree       
Reading state information... Done
git is already the newest version (1:2.17.1-1ubuntu0.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

[*] Now let's compile the driver from source and copy the files to the right directories
if [ -e verify_branch.sh ] ; \
then \
    ./verify_branch.sh ; \
fi;
Verifying a sane branch for your kernel version...
No (Current branch master)
Recommended branch is ubuntu-18.04 based on your kernel version (4.15.0-24-generic)
Should I switch it to ubuntu-18.04 for you?  (y/n): y
Branch 'ubuntu-18.04' set up to track remote branch 'ubuntu-18.04' from 'origin'.
Switched to a new branch 'ubuntu-18.04'
make -C /lib/modules/4.15.0-24-generic/build M=/home/jorge/rtl8188ce-linux-driver modules
make[1]: Entering directory '/usr/src/linux-headers-4.15.0-24-generic'
  CC [M]  /home/jorge/rtl8188ce-linux-driver/base.o
  CC [M]  /home/jorge/rtl8188ce-linux-driver/usb.o
  CC [M]  /home/jorge/rtl8188ce-linux-driver/rc.o
  CC [M]  /home/jorge/rtl8188ce-linux-driver/debug.o
  CC [M]  /home/jorge/rtl8188ce-linux-driver/regd.o
  CC [M]  /home/jorge/rtl8188ce-linux-driver/efuse.o
  CC [M]  /home/jorge/rtl8188ce-linux-driver/cam.o
  CC [M]  /home/jorge/rtl8188ce-linux-driver/ps.o
  CC [M]  /home/jorge/rtl8188ce-linux-driver/core.o
  CC [M]  /home/jorge/rtl8188ce-linux-driver/stats.o
  CC [M]  /home/jorge/rtl8188ce-linux-driver/pci.o
  LD [M]  /home/jorge/rtl8188ce-linux-driver/rtlwifi.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /home/jorge/rtl8188ce-linux-driver/rtlwifi.mod.o
  LD [M]  /home/jorge/rtl8188ce-linux-driver/rtlwifi.ko
make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-24-generic'
make[1]: Entering directory '/home/jorge/rtl8188ce-linux-driver/rtl8192c'
make -C /lib/modules/4.15.0-24-generic/build M=/home/jorge/rtl8188ce-linux-driver/rtl8192c modules
make[2]: Entering directory '/usr/src/linux-headers-4.15.0-24-generic'
  CC [M]  /home/jorge/rtl8188ce-linux-driver/rtl8192c/main.o
  CC [M]  /home/jorge/rtl8188ce-linux-driver/rtl8192c/dm_common.o
  CC [M]  /home/jorge/rtl8188ce-linux-driver/rtl8192c/fw_common.o
  CC [M]  /home/jorge/rtl8188ce-linux-driver/rtl8192c/phy_common.o
  LD [M]  /home/jorge/rtl8188ce-linux-driver/rtl8192c/rtl8192c_common.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /home/jorge/rtl8188ce-linux-driver/rtl8192c/rtl8192c_common.mod.o
  LD [M]  /home/jorge/rtl8188ce-linux-driver/rtl8192c/rtl8192c_common.ko
make[2]: Leaving directory '/usr/src/linux-headers-4.15.0-24-generic'
make[1]: Leaving directory '/home/jorge/rtl8188ce-linux-driver/rtl8192c'
make[1]: Entering directory '/home/jorge/rtl8188ce-linux-driver/rtl8192ce'
make -C /lib/modules/4.15.0-24-generic/build M=/home/jorge/rtl8188ce-linux-driver/rtl8192ce modules
make[2]: Entering directory '/usr/src/linux-headers-4.15.0-24-generic'
  CC [M]  /home/jorge/rtl8188ce-linux-driver/rtl8192ce/hw.o
  CC [M]  /home/jorge/rtl8188ce-linux-driver/rtl8192ce/table.o
  CC [M]  /home/jorge/rtl8188ce-linux-driver/rtl8192ce/sw.o
  CC [M]  /home/jorge/rtl8188ce-linux-driver/rtl8192ce/trx.o
  CC [M]  /home/jorge/rtl8188ce-linux-driver/rtl8192ce/led.o
  CC [M]  /home/jorge/rtl8188ce-linux-driver/rtl8192ce/phy.o
  CC [M]  /home/jorge/rtl8188ce-linux-driver/rtl8192ce/rf.o
  CC [M]  /home/jorge/rtl8188ce-linux-driver/rtl8192ce/dm.o
  LD [M]  /home/jorge/rtl8188ce-linux-driver/rtl8192ce/rtl8192ce.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /home/jorge/rtl8188ce-linux-driver/rtl8192ce/rtl8192ce.mod.o
  LD [M]  /home/jorge/rtl8188ce-linux-driver/rtl8192ce/rtl8192ce.ko
make[2]: Leaving directory '/usr/src/linux-headers-4.15.0-24-generic'
make[1]: Leaving directory '/home/jorge/rtl8188ce-linux-driver/rtl8192ce'
make[1]: Entering directory '/home/jorge/rtl8188ce-linux-driver/rtl8192cu'
make -C /lib/modules/4.15.0-24-generic/build M=/home/jorge/rtl8188ce-linux-driver/rtl8192cu modules
make[2]: Entering directory '/usr/src/linux-headers-4.15.0-24-generic'
  CC [M]  /home/jorge/rtl8188ce-linux-driver/rtl8192cu/dm.o
  CC [M]  /home/jorge/rtl8188ce-linux-driver/rtl8192cu/hw.o
  CC [M]  /home/jorge/rtl8188ce-linux-driver/rtl8192cu/led.o
  CC [M]  /home/jorge/rtl8188ce-linux-driver/rtl8192cu/mac.o
  CC [M]  /home/jorge/rtl8188ce-linux-driver/rtl8192cu/phy.o
  CC [M]  /home/jorge/rtl8188ce-linux-driver/rtl8192cu/rf.o
  CC [M]  /home/jorge/rtl8188ce-linux-driver/rtl8192cu/sw.o
  CC [M]  /home/jorge/rtl8188ce-linux-driver/rtl8192cu/table.o
  CC [M]  /home/jorge/rtl8188ce-linux-driver/rtl8192cu/trx.o
  LD [M]  /home/jorge/rtl8188ce-linux-driver/rtl8192cu/rtl8192cu.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /home/jorge/rtl8188ce-linux-driver/rtl8192cu/rtl8192cu.mod.o
  LD [M]  /home/jorge/rtl8188ce-linux-driver/rtl8192cu/rtl8192cu.ko
make[2]: Leaving directory '/usr/src/linux-headers-4.15.0-24-generic'
make[1]: Leaving directory '/home/jorge/rtl8188ce-linux-driver/rtl8192cu'
make[1]: Entering directory '/home/jorge/rtl8188ce-linux-driver/rtl8192se'
make -C /lib/modules/4.15.0-24-generic/build M=/home/jorge/rtl8188ce-linux-driver/rtl8192se modules
make[2]: Entering directory '/usr/src/linux-headers-4.15.0-24-generic'
  CC [M]  /home/jorge/rtl8188ce-linux-driver/rtl8192se/hw.o
  CC [M]  /home/jorge/rtl8188ce-linux-driver/rtl8192se/table.o
  CC [M]  /home/jorge/rtl8188ce-linux-driver/rtl8192se/sw.o
  CC [M]  /home/jorge/rtl8188ce-linux-driver/rtl8192se/trx.o
  CC [M]  /home/jorge/rtl8188ce-linux-driver/rtl8192se/led.o
  CC [M]  /home/jorge/rtl8188ce-linux-driver/rtl8192se/fw.o
  CC [M]  /home/jorge/rtl8188ce-linux-driver/rtl8192se/phy.o
  CC [M]  /home/jorge/rtl8188ce-linux-driver/rtl8192se/rf.o
  CC [M]  /home/jorge/rtl8188ce-linux-driver/rtl8192se/dm.o
  LD [M]  /home/jorge/rtl8188ce-linux-driver/rtl8192se/rtl8192se.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /home/jorge/rtl8188ce-linux-driver/rtl8192se/rtl8192se.mod.o
  LD [M]  /home/jorge/rtl8188ce-linux-driver/rtl8192se/rtl8192se.ko
make[2]: Leaving directory '/usr/src/linux-headers-4.15.0-24-generic'
make[1]: Leaving directory '/home/jorge/rtl8188ce-linux-driver/rtl8192se'
make[1]: Entering directory '/home/jorge/rtl8188ce-linux-driver/rtl8192de'
make -C /lib/modules/4.15.0-24-generic/build M=/home/jorge/rtl8188ce-linux-driver/rtl8192de modules
make[2]: Entering directory '/usr/src/linux-headers-4.15.0-24-generic'
  CC [M]  /home/jorge/rtl8188ce-linux-driver/rtl8192de/hw.o
  CC [M]  /home/jorge/rtl8188ce-linux-driver/rtl8192de/table.o
  CC [M]  /home/jorge/rtl8188ce-linux-driver/rtl8192de/sw.o
  CC [M]  /home/jorge/rtl8188ce-linux-driver/rtl8192de/trx.o
  CC [M]  /home/jorge/rtl8188ce-linux-driver/rtl8192de/led.o
  CC [M]  /home/jorge/rtl8188ce-linux-driver/rtl8192de/fw.o
  CC [M]  /home/jorge/rtl8188ce-linux-driver/rtl8192de/phy.o
  CC [M]  /home/jorge/rtl8188ce-linux-driver/rtl8192de/rf.o
  CC [M]  /home/jorge/rtl8188ce-linux-driver/rtl8192de/dm.o
  LD [M]  /home/jorge/rtl8188ce-linux-driver/rtl8192de/rtl8192de.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /home/jorge/rtl8188ce-linux-driver/rtl8192de/rtl8192de.mod.o
  LD [M]  /home/jorge/rtl8188ce-linux-driver/rtl8192de/rtl8192de.ko
make[2]: Leaving directory '/usr/src/linux-headers-4.15.0-24-generic'
make[1]: Leaving directory '/home/jorge/rtl8188ce-linux-driver/rtl8192de'
make[1]: Entering directory '/home/jorge/rtl8188ce-linux-driver/rtl8188ee'
make -C /lib/modules/4.15.0-24-generic/build M=/home/jorge/rtl8188ce-linux-driver/rtl8188ee modules
make[2]: Entering directory '/usr/src/linux-headers-4.15.0-24-generic'
  CC [M]  /home/jorge/rtl8188ce-linux-driver/rtl8188ee/hw.o
  CC [M]  /home/jorge/rtl8188ce-linux-driver/rtl8188ee/table.o
  CC [M]  /home/jorge/rtl8188ce-linux-driver/rtl8188ee/sw.o
  CC [M]  /home/jorge/rtl8188ce-linux-driver/rtl8188ee/trx.o
  CC [M]  /home/jorge/rtl8188ce-linux-driver/rtl8188ee/led.o
  CC [M]  /home/jorge/rtl8188ce-linux-driver/rtl8188ee/fw.o
  CC [M]  /home/jorge/rtl8188ce-linux-driver/rtl8188ee/phy.o
  CC [M]  /home/jorge/rtl8188ce-linux-driver/rtl8188ee/rf.o
  CC [M]  /home/jorge/rtl8188ce-linux-driver/rtl8188ee/dm.o
  CC [M]  /home/jorge/rtl8188ce-linux-driver/rtl8188ee/pwrseq.o
  CC [M]  /home/jorge/rtl8188ce-linux-driver/rtl8188ee/pwrseqcmd.o
  LD [M]  /home/jorge/rtl8188ce-linux-driver/rtl8188ee/rtl8188ee.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /home/jorge/rtl8188ce-linux-driver/rtl8188ee/rtl8188ee.mod.o
  LD [M]  /home/jorge/rtl8188ce-linux-driver/rtl8188ee/rtl8188ee.ko
make[2]: Leaving directory '/usr/src/linux-headers-4.15.0-24-generic'
make[1]: Leaving directory '/home/jorge/rtl8188ce-linux-driver/rtl8188ee'
if [ -e verify_branch.sh ] ; \
then \
    ./verify_branch.sh ; \
fi;
Verifying a sane branch for your kernel version...
Yes
make -C /lib/modules/4.15.0-24-generic/build M=/home/jorge/rtl8188ce-linux-driver modules
make[1]: Entering directory '/usr/src/linux-headers-4.15.0-24-generic'
  Building modules, stage 2.
  MODPOST 1 modules
make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-24-generic'
make[1]: Entering directory '/home/jorge/rtl8188ce-linux-driver/rtl8192c'
make -C /lib/modules/4.15.0-24-generic/build M=/home/jorge/rtl8188ce-linux-driver/rtl8192c modules
make[2]: Entering directory '/usr/src/linux-headers-4.15.0-24-generic'
  Building modules, stage 2.
  MODPOST 1 modules
make[2]: Leaving directory '/usr/src/linux-headers-4.15.0-24-generic'
make[1]: Leaving directory '/home/jorge/rtl8188ce-linux-driver/rtl8192c'
make[1]: Entering directory '/home/jorge/rtl8188ce-linux-driver/rtl8192ce'
make -C /lib/modules/4.15.0-24-generic/build M=/home/jorge/rtl8188ce-linux-driver/rtl8192ce modules
make[2]: Entering directory '/usr/src/linux-headers-4.15.0-24-generic'
  Building modules, stage 2.
  MODPOST 1 modules
make[2]: Leaving directory '/usr/src/linux-headers-4.15.0-24-generic'
make[1]: Leaving directory '/home/jorge/rtl8188ce-linux-driver/rtl8192ce'
make[1]: Entering directory '/home/jorge/rtl8188ce-linux-driver/rtl8192cu'
make -C /lib/modules/4.15.0-24-generic/build M=/home/jorge/rtl8188ce-linux-driver/rtl8192cu modules
make[2]: Entering directory '/usr/src/linux-headers-4.15.0-24-generic'
  Building modules, stage 2.
  MODPOST 1 modules
make[2]: Leaving directory '/usr/src/linux-headers-4.15.0-24-generic'
make[1]: Leaving directory '/home/jorge/rtl8188ce-linux-driver/rtl8192cu'
make[1]: Entering directory '/home/jorge/rtl8188ce-linux-driver/rtl8192se'
make -C /lib/modules/4.15.0-24-generic/build M=/home/jorge/rtl8188ce-linux-driver/rtl8192se modules
make[2]: Entering directory '/usr/src/linux-headers-4.15.0-24-generic'
  Building modules, stage 2.
  MODPOST 1 modules
make[2]: Leaving directory '/usr/src/linux-headers-4.15.0-24-generic'
make[1]: Leaving directory '/home/jorge/rtl8188ce-linux-driver/rtl8192se'
make[1]: Entering directory '/home/jorge/rtl8188ce-linux-driver/rtl8192de'
make -C /lib/modules/4.15.0-24-generic/build M=/home/jorge/rtl8188ce-linux-driver/rtl8192de modules
make[2]: Entering directory '/usr/src/linux-headers-4.15.0-24-generic'
  Building modules, stage 2.
  MODPOST 1 modules
make[2]: Leaving directory '/usr/src/linux-headers-4.15.0-24-generic'
make[1]: Leaving directory '/home/jorge/rtl8188ce-linux-driver/rtl8192de'
make[1]: Entering directory '/home/jorge/rtl8188ce-linux-driver/rtl8188ee'
make -C /lib/modules/4.15.0-24-generic/build M=/home/jorge/rtl8188ce-linux-driver/rtl8188ee modules
make[2]: Entering directory '/usr/src/linux-headers-4.15.0-24-generic'
  Building modules, stage 2.
  MODPOST 1 modules
make[2]: Leaving directory '/usr/src/linux-headers-4.15.0-24-generic'
make[1]: Leaving directory '/home/jorge/rtl8188ce-linux-driver/rtl8188ee'
if [ -e backup_existing.sh ] ; \
then \
    ./backup_existing.sh ; \
fi;
find /lib/modules/4.15.0-24-generic -name "r8192se_*.ko" -exec rm {} \;
find /lib/modules/4.15.0-24-generic -name "r8192ce_*.ko" -exec rm {} \;
find /lib/modules/4.15.0-24-generic -name "r8192cu_*.ko" -exec rm {} \;
find /lib/modules/4.15.0-24-generic -name "r8723e_*.ko" -exec rm {} \;
find /lib/modules/4.15.0-24-generic -name "r8188ee_*.ko" -exec rm {} \;
if [ -e update_modprobe_conf.sh ] ; \
then \
    ./update_modprobe_conf.sh ; \
fi;
Power save disable only support rtl8188ce and rtl8192ce currently
[*] Is your wireless card either the RTL8188CE or RTL8192CE? (Y/N): N
[*] OK, reboot and you should be running the new driver.  To check, run the script "am_i_using_this_driver.sh"

JVR
Level 1
Level 1
Posts: 36
Joined: Sun Jun 26, 2011 6:16 pm

Re: LM19 WiFi not showing in network settings

Post by JVR » Fri Jul 13, 2018 9:01 pm

Is there a better way to install a .exe file on linux that doesn't use winehq? The site below claims to have the driver for my rtl8821ce wireless network adapter chipset and I would like to give it a try before attempting something else.
https://drp.su/en/devices/wifi/realtek/ ... ie-adapter

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

Re: LM19 WiFi not showing in network settings

Post by JeremyB » Sat Jul 14, 2018 10:55 am

Please post results for

Code: Select all

apt install mokutil && mokutil --sb-state
You can not install wifi drivers in Linux using Wine

JVR
Level 1
Level 1
Posts: 36
Joined: Sun Jun 26, 2011 6:16 pm

Re: LM19 WiFi not showing in network settings

Post by JVR » Sat Jul 14, 2018 7:39 pm

Thanks JeremyB, here the results. Your input very appreciated.

Code: Select all

~$ sudo apt install mokutil && mokutil --sb-state
[sudo] password for jorge: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
mokutil is already the newest version (0.3.0-0ubuntu5).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
SecureBoot disabled

JVR
Level 1
Level 1
Posts: 36
Joined: Sun Jun 26, 2011 6:16 pm

Re: LM19 WiFi not showing in network settings

Post by JVR » Sat Jul 14, 2018 9:15 pm

I was ready to do a fresh install of LM19 and had an installation usb plugged in and running. I noticed that in this virtual linux environment provided by the usb, wifi is also absent from network settings (see screenshot in link below). So I want to ask anyone if they remember if their wifi was also missing from the virtual environment of the installation usb. Thanks much!
https://drive.google.com/file/d/1p8vHwZ ... sp=sharing

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

Re: LM19 WiFi not showing in network settings

Post by JeremyB » Sun Jul 15, 2018 6:43 am

Try this

Code: Select all

git clone https://github.com/RangeeGmbH/rtl8821ce.git
cd rtl8821ce
make
sudo make install
Reboot

JVR
Level 1
Level 1
Posts: 36
Joined: Sun Jun 26, 2011 6:16 pm

Re: LM19 WiFi not showing in network settings

Post by JVR » Mon Jul 16, 2018 9:45 pm

Hello JeremyB and thanks a lot for your help. I apologize for I was caught up with house work yesterday and could not logon. I tried your instructions and got an error. I hope it will prove revealing. **EDIT: forgot to mention, unfortunately it didn't work. I didn't like this error message (included in results below): cc1: error: code model kernel does not support PIC mode **

** EDIT: results no longer relevant, please see next post **

Code: Select all

~$ sudo git clone https://github.com/RangeeGmbH/rtl8821ce.git
Cloning into 'rtl8821ce'...
remote: Counting objects: 635, done.
remote: Total 635 (delta 0), reused 0 (delta 0), pack-reused 635
Receiving objects: 100% (635/635), 3.32 MiB | 1011.00 KiB/s, done.
Resolving deltas: 100% (227/227), done.
jorge@JKHale:~$ cd rtl8821ce
jorge@JKHale:~/rtl8821ce$ make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.15.0-24-generic/build M=/home/jorge/rtl8821ce  modules
make[1]: Entering directory '/usr/src/linux-headers-4.15.0-24-generic'
/bin/sh: 1: cannot create /home/jorge/rtl8821ce/.cache.mk: Permission denied
/bin/sh: 1: cannot create /home/jorge/rtl8821ce/.cache.mk: Permission denied
/bin/sh: 1: cannot create /home/jorge/rtl8821ce/.cache.mk: Permission denied
/bin/sh: 1: cannot create /home/jorge/rtl8821ce/.cache.mk: Permission denied
/bin/sh: 1: cannot create /home/jorge/rtl8821ce/.cache.mk: Permission denied
/bin/sh: 1: cannot create /home/jorge/rtl8821ce/.cache.mk: Permission denied
/bin/sh: 1: cannot create /home/jorge/rtl8821ce/.cache.mk: Permission denied
/bin/sh: 1: cannot create /home/jorge/rtl8821ce/.cache.mk: Permission denied
/bin/sh: 1: cannot create /home/jorge/rtl8821ce/.cache.mk: Permission denied
/bin/sh: 1: cannot create /home/jorge/rtl8821ce/.cache.mk: Permission denied
/bin/sh: 1: cannot create /home/jorge/rtl8821ce/.cache.mk: Permission denied
/bin/sh: 1: cannot create /home/jorge/rtl8821ce/.cache.mk: Permission denied
/bin/sh: 1: cannot create /home/jorge/rtl8821ce/.cache.mk: Permission denied
/bin/sh: 1: cannot create /home/jorge/rtl8821ce/.cache.mk: Permission denied
/bin/sh: 1: cannot create /home/jorge/rtl8821ce/.cache.mk: Permission denied
/bin/sh: 1: cannot create /home/jorge/rtl8821ce/.cache.mk: Permission denied
/bin/sh: 1: cannot create /home/jorge/rtl8821ce/.cache.mk: Permission denied
/bin/sh: 1: cannot create /home/jorge/rtl8821ce/.cache.mk: Permission denied
/bin/sh: 1: cannot create /home/jorge/rtl8821ce/.cache.mk: Permission denied
/bin/sh: 1: cannot create /home/jorge/rtl8821ce/.cache.mk: Permission denied
arch/x86/Makefile:156: CONFIG_X86_X32 enabled but no binutils support
/bin/sh: 1: cannot create /home/jorge/rtl8821ce/.cache.mk: Permission denied
/bin/sh: 1: cannot create /home/jorge/rtl8821ce/.cache.mk: Permission denied
/bin/sh: 1: cannot create /home/jorge/rtl8821ce/.cache.mk: Permission denied
/bin/sh: 1: cannot create /home/jorge/rtl8821ce/.cache.mk: Permission denied
/bin/sh: 1: cannot create /home/jorge/rtl8821ce/.cache.mk: Permission denied
/bin/sh: 1: cannot create /home/jorge/rtl8821ce/.cache.mk: Permission denied
/bin/sh: 1: cannot create /home/jorge/rtl8821ce/.cache.mk: Permission denied
/bin/sh: 1: cannot create /home/jorge/rtl8821ce/.cache.mk: Permission denied
/bin/sh: 1: cannot create /home/jorge/rtl8821ce/.cache.mk: Permission denied
/bin/sh: 1: cannot create /home/jorge/rtl8821ce/.cache.mk: Permission denied
/bin/sh: 1: cannot create /home/jorge/rtl8821ce/.cache.mk: Permission denied
/bin/sh: 1: cannot create /home/jorge/rtl8821ce/.cache.mk: Permission denied
/bin/sh: 1: cannot create /home/jorge/rtl8821ce/.cache.mk: Permission denied
/bin/sh: 1: cannot create /home/jorge/rtl8821ce/.cache.mk: Permission denied
/bin/sh: 1: cannot create /home/jorge/rtl8821ce/.cache.mk: Permission denied
/bin/sh: 1: cannot create /home/jorge/rtl8821ce/.cache.mk: Permission denied
/bin/sh: 1: cannot create /home/jorge/rtl8821ce/.cache.mk: Permission denied
/bin/sh: 1: cannot create /home/jorge/rtl8821ce/.cache.mk: Permission denied
/bin/sh: 1: cannot create /home/jorge/rtl8821ce/.cache.mk: Permission denied
/bin/sh: 1: cannot create /home/jorge/rtl8821ce/.cache.mk: Permission denied
/bin/sh: 1: cannot create /home/jorge/rtl8821ce/.cache.mk: Permission denied
/bin/sh: 1: cannot create /home/jorge/rtl8821ce/.cache.mk: Permission denied
/bin/sh: 1: cannot create /home/jorge/rtl8821ce/.cache.mk: Permission denied
/bin/sh: 1: cannot create /home/jorge/rtl8821ce/.cache.mk: Permission denied
/bin/sh: 1: cannot create /home/jorge/rtl8821ce/.cache.mk: Permission denied
/bin/sh: 1: cannot create /home/jorge/rtl8821ce/.cache.mk: Permission denied
/bin/sh: 1: cannot create /home/jorge/rtl8821ce/.cache.mk: Permission denied
/bin/sh: 1: cannot create /home/jorge/rtl8821ce/.cache.mk: Permission denied
/bin/sh: 1: cannot create /home/jorge/rtl8821ce/.cache.mk: Permission denied
/bin/sh: 1: cannot create /home/jorge/rtl8821ce/.cache.mk: Permission denied
/bin/sh: 1: cannot create /home/jorge/rtl8821ce/.cache.mk: Permission denied
/bin/sh: 1: cannot create /home/jorge/rtl8821ce/.cache.mk: Permission denied
/bin/sh: 1: cannot create /home/jorge/rtl8821ce/.cache.mk: Permission denied
/bin/sh: 1: cannot create /home/jorge/rtl8821ce/.cache.mk: Permission denied
/bin/sh: 1: cannot create /home/jorge/rtl8821ce/.cache.mk: Permission denied
/bin/sh: 1: cannot create /home/jorge/rtl8821ce/.cache.mk: Permission denied
/bin/sh: 1: cannot create /home/jorge/rtl8821ce/.cache.mk: Permission denied
/bin/sh: 1: cannot create /home/jorge/rtl8821ce/.cache.mk: Permission denied
/bin/sh: 1: cannot create /home/jorge/rtl8821ce/.cache.mk: Permission denied
/bin/sh: 1: cannot create /home/jorge/rtl8821ce/.cache.mk: Permission denied
/bin/sh: 1: cannot create /home/jorge/rtl8821ce/.cache.mk: Permission denied
/bin/sh: 1: cannot create /home/jorge/rtl8821ce/.cache.mk: Permission denied
/bin/sh: 1: cannot create /home/jorge/rtl8821ce/.cache.mk: Permission denied
mkdir: cannot create directory ‘/home/jorge/rtl8821ce/.tmp_versions’: Permission denied
/bin/sh: 1: cannot create /home/jorge/rtl8821ce/.cache.mk: Permission denied
  CC [M]  /home/jorge/rtl8821ce/core/rtw_cmd.o
cc1: error: code model kernel does not support PIC mode
Assembler messages:
Fatal error: can't create /home/jorge/rtl8821ce/core/rtw_cmd.o: Permission denied
scripts/Makefile.build:332: recipe for target '/home/jorge/rtl8821ce/core/rtw_cmd.o' failed
make[2]: *** [/home/jorge/rtl8821ce/core/rtw_cmd.o] Error 1
Makefile:1552: recipe for target '_module_/home/jorge/rtl8821ce' failed
make[1]: *** [_module_/home/jorge/rtl8821ce] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-24-generic'
Makefile:1902: recipe for target 'modules' failed
make: *** [modules] Error 2
jorge@JKHale:~/rtl8821ce$ sudo make install
install -p -m 644 8821ce.ko  /lib/modules/4.15.0-24-generic/kernel/drivers/net/wireless/
install: cannot stat '8821ce.ko': No such file or directory
Makefile:1908: recipe for target 'install' failed
make: *** [install] Error 1
jorge@JKHale:~/rtl8821ce$ 

JVR
Level 1
Level 1
Posts: 36
Joined: Sun Jun 26, 2011 6:16 pm

Re: LM19 WiFi not showing in network settings

Post by JVR » Tue Jul 17, 2018 3:28 am

This is an UPDATE to results to JeremyB's last suggestion.

Short version: problem persists. After doing a fresh install and repeating JeremyB's last set of instructions, I was not even able to login: upon reboot (plugged to the wired network), the laptop wouldn't get past a black screen after 20 mins. Rebooting a second time (unplugged from the wired network) I was able to see the grub almost right away, but after I selected LM19 the screen wouldn't get past the LM logo and two (out of four) white dots after 15 mins. Is it possible the GitHub repository from RangeeGmbh is corrupted?

Longer version: I got a tp-link 300 Mbps wireless N usb adapter, which worked wonderfully, but I thought I owed it to everyone who's tried to help me to reinstall, and so I did without problems. I followed the suggestions from the welcome screen and when got to update manager, I was also suggested to update to linux kernel 4.15.0-24.26, reluctantly I did this update as well. Then I repeated the instructions from all kind users that offered me help above, obtaining the exact same results. However, before I repeated JeremyB's last set of instructions, I noticed instability in the wired network and even in the usb adapter; I had to plug the wired network or the usb adapter AFTER starting the system for otherwise the system would not connect to them, else I had to unplug them and then plug them back in to make the system see them. I suspect the kernel update has something to do with this instability. Finally, I repeated JeremyB's last suggestion and happened what I wrote in the previous paragraph (black screen, etc).

Important detail: when I repeated JeremyB's last set of instructions, I was not shown an error, but maybe three or four warnings. I saved them but since I was not able to login the file was lost during reinstall. I think that if I repeat JeremyB's instructions the same will happen (I will be unable to login), but if anyone thinks the log results are important/helpful and wants to see them, please ask and I will post them before rebooting and maybe having to do another installation.

Your thoughts are highly appreciated.

Post Reply

Return to “Newbie Questions”