[SOLVED] LM19 WiFi not showing in network settings

Quick to answer questions about finding your way around Linux Mint as a new user.
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. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
JeremyB
Level 21
Level 21
Posts: 13880
Joined: Fri Feb 21, 2014 8:17 am

Re: LM19 WiFi not showing in network settings

Post by JeremyB »

You are using a kernel known to cause some people to have long boot times, see if you can use grub menu at boot to use the 4.15.0-23 or -20 kernel. If you have no issues booting to them, do

Code: Select all

cd rtl8821ce
make clean
make
sudo make install
Then reboot into the same kernel
JVR
Level 2
Level 2
Posts: 53
Joined: Sun Jun 26, 2011 6:16 pm

Re: LM19 WiFi not showing in network settings

Post by JVR »

HELP! I think reinstalling was a bad idea. In addition to missing wifi, now I have lost audio as well, more precisely, I cannot hear videos on youtube on chromium. Loss of audio must have happened when I reinstalled the system. I was hoping that another reinstall WITHOUT updating the kernel (I'm using kernel 4.15.0.23), would fix the problem but it did not. True nightmare. Luckily I still have the first ,iso file from the first installation, maybe it would help to run yet another installation using that first .iso?

In the meantime, I will go ahead and do JeremyB's last suggestion, This time I have not tried any of the fixes suggested to me before. Wish me luck.
JVR
Level 2
Level 2
Posts: 53
Joined: Sun Jun 26, 2011 6:16 pm

Re: LM19 WiFi not showing in network settings

Post by JVR »

I just finished following last instructions by JeremyB, below the results (in case I cannot login again). I will now reboot.

Code: Select all

:~$ sudo apt install git
Reading package lists... Done
Building dependency tree       
Reading state information... Done
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 24 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 6s (775 kB/s)                                              
Selecting previously unselected package liberror-perl.
(Reading database ... 272254 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/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 | 1.12 MiB/s, done.
Resolving deltas: 100% (227/227), done.

jorge@JKHale:~$ cd rtl8821ce
jorge@JKHale:~/rtl8821ce$ make clean
#make -C /lib/modules/4.15.0-23-generic/build M=/home/jorge/rtl8821ce clean
cd hal ; rm -fr */*/*/*.mod.c */*/*/*.mod */*/*/*.o */*/*/.*.cmd */*/*/*.ko
cd hal ; rm -fr */*/*.mod.c */*/*.mod */*/*.o */*/.*.cmd */*/*.ko
cd hal ; rm -fr */*.mod.c */*.mod */*.o */.*.cmd */*.ko
cd hal ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd core/efuse ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd core ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd os_dep/linux ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd os_dep ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd platform ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
rm -fr Module.symvers ; rm -fr Module.markers ; rm -fr modules.order
rm -fr *.mod.c *.mod *.o .*.cmd *.ko *~
rm -fr .tmp_versions

jorge@JKHale:~/rtl8821ce$ make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.15.0-23-generic/build M=/home/jorge/rtl8821ce  modules
make[1]: Entering directory '/usr/src/linux-headers-4.15.0-23-generic'
Makefile:976: "Cannot use CONFIG_STACK_VALIDATION=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel"
  CC [M]  /home/jorge/rtl8821ce/core/rtw_cmd.o
  CC [M]  /home/jorge/rtl8821ce/core/rtw_security.o
  CC [M]  /home/jorge/rtl8821ce/core/rtw_debug.o
  CC [M]  /home/jorge/rtl8821ce/core/rtw_io.o
  CC [M]  /home/jorge/rtl8821ce/core/rtw_ioctl_query.o
  CC [M]  /home/jorge/rtl8821ce/core/rtw_ioctl_set.o
  CC [M]  /home/jorge/rtl8821ce/core/rtw_ieee80211.o
  CC [M]  /home/jorge/rtl8821ce/core/rtw_mlme.o
  CC [M]  /home/jorge/rtl8821ce/core/rtw_mlme_ext.o
  CC [M]  /home/jorge/rtl8821ce/core/rtw_mi.o
  CC [M]  /home/jorge/rtl8821ce/core/rtw_wlan_util.o
  CC [M]  /home/jorge/rtl8821ce/core/rtw_vht.o
  CC [M]  /home/jorge/rtl8821ce/core/rtw_pwrctrl.o
  CC [M]  /home/jorge/rtl8821ce/core/rtw_rf.o
  CC [M]  /home/jorge/rtl8821ce/core/rtw_recv.o
  CC [M]  /home/jorge/rtl8821ce/core/rtw_sta_mgt.o
  CC [M]  /home/jorge/rtl8821ce/core/rtw_ap.o
  CC [M]  /home/jorge/rtl8821ce/core/rtw_xmit.o
  CC [M]  /home/jorge/rtl8821ce/core/rtw_p2p.o
  CC [M]  /home/jorge/rtl8821ce/core/rtw_tdls.o
  CC [M]  /home/jorge/rtl8821ce/core/rtw_br_ext.o
  CC [M]  /home/jorge/rtl8821ce/core/rtw_iol.o
  CC [M]  /home/jorge/rtl8821ce/core/rtw_sreset.o
  CC [M]  /home/jorge/rtl8821ce/core/rtw_btcoex_wifionly.o
  CC [M]  /home/jorge/rtl8821ce/core/rtw_btcoex.o
  CC [M]  /home/jorge/rtl8821ce/core/rtw_beamforming.o
  CC [M]  /home/jorge/rtl8821ce/core/rtw_odm.o
  CC [M]  /home/jorge/rtl8821ce/core/efuse/rtw_efuse.o
  CC [M]  /home/jorge/rtl8821ce/os_dep/osdep_service.o
  CC [M]  /home/jorge/rtl8821ce/os_dep/linux/os_intfs.o
  CC [M]  /home/jorge/rtl8821ce/os_dep/linux/pci_intf.o
  CC [M]  /home/jorge/rtl8821ce/os_dep/linux/pci_ops_linux.o
  CC [M]  /home/jorge/rtl8821ce/os_dep/linux/ioctl_linux.o
  CC [M]  /home/jorge/rtl8821ce/os_dep/linux/xmit_linux.o
  CC [M]  /home/jorge/rtl8821ce/os_dep/linux/mlme_linux.o
  CC [M]  /home/jorge/rtl8821ce/os_dep/linux/recv_linux.o
  CC [M]  /home/jorge/rtl8821ce/os_dep/linux/ioctl_cfg80211.o
  CC [M]  /home/jorge/rtl8821ce/os_dep/linux/rtw_cfgvendor.o
  CC [M]  /home/jorge/rtl8821ce/os_dep/linux/wifi_regd.o
  CC [M]  /home/jorge/rtl8821ce/os_dep/linux/rtw_android.o
  CC [M]  /home/jorge/rtl8821ce/os_dep/linux/rtw_proc.o
  CC [M]  /home/jorge/rtl8821ce/os_dep/linux/ioctl_mp.o
  CC [M]  /home/jorge/rtl8821ce/hal/hal_intf.o
  CC [M]  /home/jorge/rtl8821ce/hal/hal_com.o
  CC [M]  /home/jorge/rtl8821ce/hal/hal_com_phycfg.o
  CC [M]  /home/jorge/rtl8821ce/hal/hal_phy.o
  CC [M]  /home/jorge/rtl8821ce/hal/hal_dm.o
  CC [M]  /home/jorge/rtl8821ce/hal/hal_btcoex_wifionly.o
  CC [M]  /home/jorge/rtl8821ce/hal/hal_btcoex.o
  CC [M]  /home/jorge/rtl8821ce/hal/hal_mp.o
  CC [M]  /home/jorge/rtl8821ce/hal/hal_mcc.o
  CC [M]  /home/jorge/rtl8821ce/hal/hal_hci/hal_pci.o
  CC [M]  /home/jorge/rtl8821ce/hal/led/hal_pci_led.o
  CC [M]  /home/jorge/rtl8821ce/hal/hal_halmac.o
  CC [M]  /home/jorge/rtl8821ce/hal/rtl8821c/rtl8821c_halinit.o
  CC [M]  /home/jorge/rtl8821ce/hal/rtl8821c/rtl8821c_mac.o
  CC [M]  /home/jorge/rtl8821ce/hal/rtl8821c/rtl8821c_cmd.o
  CC [M]  /home/jorge/rtl8821ce/hal/rtl8821c/rtl8821c_phy.o
  CC [M]  /home/jorge/rtl8821ce/hal/rtl8821c/rtl8821c_dm.o
  CC [M]  /home/jorge/rtl8821ce/hal/rtl8821c/rtl8821c_ops.o
  CC [M]  /home/jorge/rtl8821ce/hal/rtl8821c/hal8821c_fw.o
  CC [M]  /home/jorge/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_halinit.o
  CC [M]  /home/jorge/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_halmac.o
  CC [M]  /home/jorge/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_io.o
  CC [M]  /home/jorge/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_xmit.o
  CC [M]  /home/jorge/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_recv.o
  CC [M]  /home/jorge/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_led.o
  CC [M]  /home/jorge/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_ops.o
  CC [M]  /home/jorge/rtl8821ce/hal/efuse/rtl8821c/HalEfuseMask8821C_PCIE.o
  CC [M]  /home/jorge/rtl8821ce/hal/halmac/halmac_api.o
  CC [M]  /home/jorge/rtl8821ce/hal/halmac/halmac_88xx/halmac_api_88xx.o
  CC [M]  /home/jorge/rtl8821ce/hal/halmac/halmac_88xx/halmac_func_88xx.o
  CC [M]  /home/jorge/rtl8821ce/hal/halmac/halmac_88xx/halmac_api_88xx_usb.o
  CC [M]  /home/jorge/rtl8821ce/hal/halmac/halmac_88xx/halmac_api_88xx_sdio.o
  CC [M]  /home/jorge/rtl8821ce/hal/halmac/halmac_88xx/halmac_api_88xx_pcie.o
  CC [M]  /home/jorge/rtl8821ce/hal/halmac/halmac_88xx/halmac_8821c/halmac_8821c_pwr_seq.o
  CC [M]  /home/jorge/rtl8821ce/hal/halmac/halmac_88xx/halmac_8821c/halmac_api_8821c.o
  CC [M]  /home/jorge/rtl8821ce/hal/halmac/halmac_88xx/halmac_8821c/halmac_func_8821c.o
  CC [M]  /home/jorge/rtl8821ce/hal/halmac/halmac_88xx/halmac_8821c/halmac_api_8821c_usb.o
  CC [M]  /home/jorge/rtl8821ce/hal/halmac/halmac_88xx/halmac_8821c/halmac_api_8821c_sdio.o
  CC [M]  /home/jorge/rtl8821ce/hal/halmac/halmac_88xx/halmac_8821c/halmac_api_8821c_pcie.o
  CC [M]  /home/jorge/rtl8821ce/hal/halmac/halmac_88xx/halmac_8821c/halmac_8821c_phy.o
  CC [M]  /home/jorge/rtl8821ce/hal/phydm/phydm_debug.o
  CC [M]  /home/jorge/rtl8821ce/hal/phydm/phydm_antdiv.o
  CC [M]  /home/jorge/rtl8821ce/hal/phydm/phydm_antdect.o
  CC [M]  /home/jorge/rtl8821ce/hal/phydm/phydm_interface.o
  CC [M]  /home/jorge/rtl8821ce/hal/phydm/phydm_hwconfig.o
/home/jorge/rtl8821ce/hal/phydm/phydm_hwconfig.c: In function ‘odm_rx_phy_status_jaguar_series_parsing’:
/home/jorge/rtl8821ce/hal/phydm/phydm_hwconfig.c:1310:45: warning: ‘EVM’ may be used uninitialized in this function [-Wmaybe-uninitialized]
       p_phy_info->rx_mimo_signal_quality[i] = EVM;
       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
  CC [M]  /home/jorge/rtl8821ce/hal/phydm/phydm.o
  CC [M]  /home/jorge/rtl8821ce/hal/phydm/halphyrf_ce.o
  CC [M]  /home/jorge/rtl8821ce/hal/phydm/phydm_dig.o
  CC [M]  /home/jorge/rtl8821ce/hal/phydm/phydm_pathdiv.o
  CC [M]  /home/jorge/rtl8821ce/hal/phydm/phydm_rainfo.o
  CC [M]  /home/jorge/rtl8821ce/hal/phydm/phydm_dynamicbbpowersaving.o
  CC [M]  /home/jorge/rtl8821ce/hal/phydm/phydm_powertracking_ce.o
  CC [M]  /home/jorge/rtl8821ce/hal/phydm/phydm_dynamictxpower.o
  CC [M]  /home/jorge/rtl8821ce/hal/phydm/phydm_adaptivity.o
  CC [M]  /home/jorge/rtl8821ce/hal/phydm/phydm_cfotracking.o
  CC [M]  /home/jorge/rtl8821ce/hal/phydm/phydm_noisemonitor.o
  CC [M]  /home/jorge/rtl8821ce/hal/phydm/phydm_acs.o
  CC [M]  /home/jorge/rtl8821ce/hal/phydm/phydm_beamforming.o
  CC [M]  /home/jorge/rtl8821ce/hal/phydm/phydm_dfs.o
  CC [M]  /home/jorge/rtl8821ce/hal/phydm/txbf/halcomtxbf.o
  CC [M]  /home/jorge/rtl8821ce/hal/phydm/txbf/haltxbfinterface.o
  CC [M]  /home/jorge/rtl8821ce/hal/phydm/txbf/phydm_hal_txbf_api.o
  CC [M]  /home/jorge/rtl8821ce/hal/phydm/phydm_adc_sampling.o
  CC [M]  /home/jorge/rtl8821ce/hal/phydm/phydm_kfree.o
  CC [M]  /home/jorge/rtl8821ce/hal/phydm/phydm_ccx.o
  CC [M]  /home/jorge/rtl8821ce/hal/phydm/phydm_psd.o
  CC [M]  /home/jorge/rtl8821ce/hal/btc/halbtc8723bwifionly.o
  CC [M]  /home/jorge/rtl8821ce/hal/btc/halbtc8822bwifionly.o
  CC [M]  /home/jorge/rtl8821ce/hal/btc/halbtc8821cwifionly.o
  CC [M]  /home/jorge/rtl8821ce/hal/btc/halbtc8192e1ant.o
  CC [M]  /home/jorge/rtl8821ce/hal/btc/halbtc8192e2ant.o
  CC [M]  /home/jorge/rtl8821ce/hal/btc/halbtc8723b1ant.o
  CC [M]  /home/jorge/rtl8821ce/hal/btc/halbtc8723b2ant.o
  CC [M]  /home/jorge/rtl8821ce/hal/btc/halbtc8812a1ant.o
  CC [M]  /home/jorge/rtl8821ce/hal/btc/halbtc8812a2ant.o
  CC [M]  /home/jorge/rtl8821ce/hal/btc/halbtc8821a1ant.o
  CC [M]  /home/jorge/rtl8821ce/hal/btc/halbtc8821a2ant.o
  CC [M]  /home/jorge/rtl8821ce/hal/btc/halbtc8703b1ant.o
  CC [M]  /home/jorge/rtl8821ce/hal/btc/halbtc8723d1ant.o
  CC [M]  /home/jorge/rtl8821ce/hal/btc/halbtc8723d2ant.o
  CC [M]  /home/jorge/rtl8821ce/hal/btc/halbtc8822b1ant.o
  CC [M]  /home/jorge/rtl8821ce/hal/btc/halbtc8822b2ant.o
  CC [M]  /home/jorge/rtl8821ce/hal/btc/halbtc8821c1ant.o
/home/jorge/rtl8821ce/hal/btc/halbtc8821c1ant.c: In function ‘halbtc8821c1ant_set_ext_ant_switch’:
/home/jorge/rtl8821ce/hal/btc/halbtc8821c1ant.c:2333:30: warning: ‘~’ on a boolean expression [-Wbool-operation]
   switch_polatiry_inverse =  ~switch_polatiry_inverse;
                              ^
/home/jorge/rtl8821ce/hal/btc/halbtc8821c1ant.c:2333:30: note: did you mean to use logical not?
   switch_polatiry_inverse =  ~switch_polatiry_inverse;
                              ^
                              !
/home/jorge/rtl8821ce/hal/btc/halbtc8821c1ant.c:2337:30: warning: ‘~’ on a boolean expression [-Wbool-operation]
   switch_polatiry_inverse =  ~switch_polatiry_inverse;
                              ^
/home/jorge/rtl8821ce/hal/btc/halbtc8821c1ant.c:2337:30: note: did you mean to use logical not?
   switch_polatiry_inverse =  ~switch_polatiry_inverse;
                              ^
                              !
/home/jorge/rtl8821ce/hal/btc/halbtc8821c1ant.c:2348:31: warning: ‘~’ on a boolean expression [-Wbool-operation]
    switch_polatiry_inverse =  ~switch_polatiry_inverse;
                               ^
/home/jorge/rtl8821ce/hal/btc/halbtc8821c1ant.c:2348:31: note: did you mean to use logical not?
    switch_polatiry_inverse =  ~switch_polatiry_inverse;
                               ^
                               !
  CC [M]  /home/jorge/rtl8821ce/hal/btc/halbtc8821c2ant.o
/home/jorge/rtl8821ce/hal/btc/halbtc8821c2ant.c: In function ‘halbtc8821c2ant_monitor_wifi_ctr’:
/home/jorge/rtl8821ce/hal/btc/halbtc8821c2ant.c:454:2: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  if ((coex_dm->bt_status ==
  ^~
/home/jorge/rtl8821ce/hal/btc/halbtc8821c2ant.c:461:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
   if (cck_cnt > 250) {
   ^~
/home/jorge/rtl8821ce/hal/btc/halbtc8821c2ant.c: In function ‘halbtc8821c2ant_set_ext_ant_switch’:
/home/jorge/rtl8821ce/hal/btc/halbtc8821c2ant.c:2064:30: warning: ‘~’ on a boolean expression [-Wbool-operation]
   switch_polatiry_inverse =  ~switch_polatiry_inverse;
                              ^
/home/jorge/rtl8821ce/hal/btc/halbtc8821c2ant.c:2064:30: note: did you mean to use logical not?
   switch_polatiry_inverse =  ~switch_polatiry_inverse;
                              ^
                              !
/home/jorge/rtl8821ce/hal/btc/halbtc8821c2ant.c:2068:30: warning: ‘~’ on a boolean expression [-Wbool-operation]
   switch_polatiry_inverse =  ~switch_polatiry_inverse;
                              ^
/home/jorge/rtl8821ce/hal/btc/halbtc8821c2ant.c:2068:30: note: did you mean to use logical not?
   switch_polatiry_inverse =  ~switch_polatiry_inverse;
                              ^
                              !
/home/jorge/rtl8821ce/hal/btc/halbtc8821c2ant.c:2079:31: warning: ‘~’ on a boolean expression [-Wbool-operation]
    switch_polatiry_inverse =  ~switch_polatiry_inverse;
                               ^
/home/jorge/rtl8821ce/hal/btc/halbtc8821c2ant.c:2079:31: note: did you mean to use logical not?
    switch_polatiry_inverse =  ~switch_polatiry_inverse;
                               ^
                               !
  CC [M]  /home/jorge/rtl8821ce/hal/phydm/rtl8821c/halhwimg8821c_bb.o
  CC [M]  /home/jorge/rtl8821ce/hal/phydm/rtl8821c/halhwimg8821c_mac.o
  CC [M]  /home/jorge/rtl8821ce/hal/phydm/rtl8821c/halhwimg8821c_rf.o
  CC [M]  /home/jorge/rtl8821ce/hal/phydm/rtl8821c/phydm_hal_api8821c.o
  CC [M]  /home/jorge/rtl8821ce/hal/phydm/rtl8821c/phydm_regconfig8821c.o
  CC [M]  /home/jorge/rtl8821ce/hal/phydm/rtl8821c/halphyrf_8821c.o
  CC [M]  /home/jorge/rtl8821ce/hal/phydm/rtl8821c/phydm_iqk_8821c.o
  CC [M]  /home/jorge/rtl8821ce/platform/platform_ops.o
  CC [M]  /home/jorge/rtl8821ce/core/rtw_mp.o
  LD [M]  /home/jorge/rtl8821ce/8821ce.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /home/jorge/rtl8821ce/8821ce.mod.o
  LD [M]  /home/jorge/rtl8821ce/8821ce.ko
make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-23-generic'
jorge@JKHale:~/rtl8821ce$ sudo make install
install -p -m 644 8821ce.ko  /lib/modules/4.15.0-23-generic/kernel/drivers/net/wireless/
/sbin/depmod -a 4.15.0-23-generic
JVR
Level 2
Level 2
Posts: 53
Joined: Sun Jun 26, 2011 6:16 pm

Re: LM19 WiFi not showing in network settings

Post by JVR »

UPDATE:
1. unable to login on kernel 4.15.0-23 (black screen won't go away after approx. 10-12 mins.)
2. I was able to login on kernel 4.15.0-20 and on this kernel audio is back, but wifi is still absent.

I don't know what the heck happened. Here a short summary of the facts.
1. After second installation, codecs and software updates, kernel 4.15.0-24.26 was installed. Under this kernel I noticed previously unseen behaviour in wired and wifi (through a tp-link usb adapter) networks. The latter was fixed if I unplugged and plugged back in wired network, or wifi usb adapter. After applying wifi fix suggestion by JeremyB, I was unable to login after reboot (laptop could not get past black screen, or Linux Mint logo) and had to force shut down the laptop.
2. After another installation, I declined to update to kernel 4.15.0-24.26 in software manager, and remained with kernels 4.15.0-23 and 4.15.0-20. Then I tried again latest suggestion by JeremyB with results shown above. Upon reboot I could not again get past black screen even though I was using kernel 4.15.0-23 (this had never happened in any prior installation). I performed another forced system shut-down. After powering back on I chose kernel 4.15-0-20. Audio is back and network seems stable (but no wifi).

Before second installation I was using kernel 4.15.0-23 and did not experience audio problems or network instability. I must be careful and remind myself to not upgrade the kernel. Currently I don't seem to be able to use kernel 4.15.0-23, and kernel 4.15-0-20 is the last choice in the list of kernels (I am afraid it may disappear in future updates!).

As always, your opinions are highly valued.

**EDIT** I just checked update manager and under the 4.15.0-24.26 kernel update I saw this message:
"The Linux Kernel is responsible for hardware and drivers support. Note that this update will not remove your existing kernel. You will still be able to boot with the current kernel by choosing the advanced options in your boot menu. Please be cautious though.. kernel regressions can affect your ability to connect to the Internet or to log in graphically. DKMS modules are compiled for the most recent kernels installed on your computer. If you are using proprietary drivers and you want to use an older kernel, you will need to remove the new one first."
JeremyB
Level 21
Level 21
Posts: 13880
Joined: Fri Feb 21, 2014 8:17 am

Re: LM19 WiFi not showing in network settings

Post by JeremyB »

For any new kernel installed follow instructions at viewtopic.php?p=1497512#p1497457 then reboot
JVR
Level 2
Level 2
Posts: 53
Joined: Sun Jun 26, 2011 6:16 pm

Re: LM19 WiFi not showing in network settings

Post by JVR »

Thanks again, JeremyB. I will try to be succinct this time. Several installations later this is what I found out:

1. following either these instructions viewtopic.php?f=90&t=273099#p1496392, or these instructions viewtopic.php?f=90&t=273099&start=20#p1497457 will cause that, upon reboot, whichever is the kernel version I used the instructions on, will not load (laptop will not get past a black screen --last time I made sure I waited 40 minutes).

2. I think the above might be due to package dependencies not being installed. I perused packages for hours via Synaptic Package Manager and arrived to that conclusion. I tried installations with three, two, then one kernel, and in all happened what I wrote in 1.

3. Drivers for Realtek rtl8821ce wireless chipset are absent in my current kernel version (4.15.0-20-generic) but perhaps 4.15.0-23 or 4.15.0-24 will have them? Broadcom cards have LOTS of support in linuxmint, maybe future versions of linux mint will also consider the cards of my equipment.

I will probably install kernels 4.15.0-23 and -24, I am using a usb wireless adapter in the mean time.
JeremyB
Level 21
Level 21
Posts: 13880
Joined: Fri Feb 21, 2014 8:17 am

Re: LM19 WiFi not showing in network settings

Post by JeremyB »

Support for the internal wifi might not happen in the 4.15 kernel

I can make that source code so that we can use dkms with it
lazarus

Re: LM19 WiFi not showing in network settings

Post by lazarus »

I know this isn't a 'fix' for your problem, but apart from a mention of going to LM17 or 18 you haven't actually mentioned whether you have previously run those versions on this machine and, if so, whether the problem was there as well?

If you've only tried LM19, then I'd definitely install a known good & stable version: LM18.3. Back up your existing LM19 install with clonezilla or similar to an external HDD (if you want to keep it, that is) and do a fresh install using LM18.3 live.

At worst, the issue will still be there and you could reinstall LM19 from your BU if you were feeling masochistic or have taken this as a personal challenge to overcome. :D

'Tis possible that it won't be a problem, so long as the mobo/chipset isn't "too new," in which case I'd go through the updates, including kernels, to see if there's some point it becomes a problem again. At least then you can roll back to a known, working system rather than beating your head against the wall AND have an idea where the problem actually lies.

(I wouldn't go the upgrade path 18.3 ->19 though. If I really wanted LM19 I'd wait for 19.1 to be released and do a fresh install, keeping my fingers crossed and tongue held just so.. However, I wouldn't hold my breath as well... :) )
JVR
Level 2
Level 2
Posts: 53
Joined: Sun Jun 26, 2011 6:16 pm

Re: LM19 WiFi not showing in network settings

Post by JVR »

Hi Andy. Indeed, I have not tried to install older versions of Linux Mint on this machine. My reasoning, on one hand, is that I think the hardware is, as you put it, "too new" and that if LM19 does not currently supports my Realtek RTL8821CE 802.11ac PCIe Wireless Network Adapter, natively, older versions won't do that either. On the other hand I am a little worried that I have already performed many more installations than days I have with this laptop (nine days) and don't want to put the hard drive through more of that (I know it sounds silly --I even tried installing ubuntu desktop 18.04 and the problems I had with it, on top of wifi problems, were r-i-d-i-c-u-l-o-u-s).

Perhaps you are right and I am kind of masochistic for wanting the laptop to have the latest linux mint version. I realize the latter involves almost abusing of the goodness an willingness to help of people in here, and investing more time(!!) trying to learn from them and doing research on my own. But most importantly (and I may be too naive here) the reward in figuring out the problem, I hope, should be that linux mint becomes an even more robust OS in terms of hardware compatibility. I really believe that the philosophy (so to speak) of linux mint is the right way to go when it comes to technology, to say the least. Unfortunately my knowledge at this point in time is null and can't help much beyond reporting the wifi problem my laptop has. In the mean time, I am using usb wireless network adapters.

Thanks again for your input.
Last edited by JVR on Thu Jul 19, 2018 4:42 am, edited 1 time in total.
JVR
Level 2
Level 2
Posts: 53
Joined: Sun Jun 26, 2011 6:16 pm

Re: LM19 WiFi not showing in network settings

Post by JVR »

JeremyB wrote: Wed Jul 18, 2018 10:49 am Support for the internal wifi might not happen in the 4.15 kernel

I can make that source code so that we can use dkms with it
Hi Jeremy. The current state of the equipment is: I performed the Nth installation and since then I have only ran usual updates, including kernel updates, have installed driver for rtl8812au through synaptic package manager, and also installed software that I need for work (mostly text editors, and math software). Aside from wifi still missing, everything else seems to work fine (audio, video, microphone, all three kernels, etc). I will appreciate your input.
JVR
Level 2
Level 2
Posts: 53
Joined: Sun Jun 26, 2011 6:16 pm

Re: LM19 WiFi not showing in network settings

Post by JVR »

Finally, I am hoping someone can help me with this temporary fix to my wifi problem.

I have been using a small, plug-and-play, usb network adapter which works just fine. Today I got a bigger usb adapter which has support for linux and would like to give it a try. I downloaded the drivers and, to my surprise, it includes perhaps a lengthier version of rtl8812au. I thought an appropriate place to unpack the driver would be in /media, but the system didn't let me. That's fine, so I created a "Media" folder in my home directory and unpacked the contents of the driver .zip file into it. It looks as shown in first link below. My stupid question is: how do I install that? I tried "make" with several of the files but got "no rule to make target" messages. Thank you in advance.

https://drive.google.com/file/d/1qWnNN_ ... sp=sharing

Here the download link in case anyone finds it useful: https://www.tp-link.com/us/download/T4U-V2.html#Driver

**EDIT:**
Maybe this question belongs in "Hardware support." I followed the instructions on pages 4-5 in link below, and after typing make I got errors which I don't know what they mean or if they can be corrected. Anyone knows?
https://static.tp-link.com/2018/201805/ ... 0Linux.pdf

Code: Select all

~/Media/8812au$ make
"******************************************"
"NO SKRC,we will use default KSRC"
"******************************************"
----- extra_cflags=-DCONFIG_IOCTL_CFG80211=1 -DRTW_USE_CFG80211_STA_EVENT=1  -O1 -Wno-unused-variable -Wno-unused-value -Wno-unused-label -Wno-unused-parameter -Wno-unused-function -Wno-unused -I/include -I/platform -DCONFIG_RTL8812A -DCONFIG_MP_INCLUDED -DCONFIG_POWER_SAVING -DCONFIG_TRAFFIC_PROTECT -DCONFIG_LOAD_PHY_PARA_FROM_FILE -DREALTEK_CONFIG_PATH="" -DCONFIG_RTW_ADAPTIVITY_EN=0 -DCONFIG_RTW_ADAPTIVITY_MODE=0 -DCONFIG_BR_EXT '-DCONFIG_BR_EXT_BRNAME=br0' -DCONFIG_LITTLE_ENDIAN
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.15.0-24-generic/build M=/home/jorge/Media/8812au  modules
make[1]: Entering directory '/usr/src/linux-headers-4.15.0-24-generic'
"******************************************"
"NO SKRC,we will use default KSRC"
"******************************************"
  CC [M]  /home/jorge/Media/8812au/core/rtw_cmd.o
In file included from /home/jorge/Media/8812au/include/osdep_service.h:41:0,
                 from /home/jorge/Media/8812au/include/drv_types.h:32,
                 from /home/jorge/Media/8812au/core/rtw_cmd.c:22:
/home/jorge/Media/8812au/include/osdep_service_linux.h: In function ‘_init_timer’:
/home/jorge/Media/8812au/include/osdep_service_linux.h:265:8: error: ‘_timer {aka struct timer_list}’ has no member named ‘data’
  ptimer->data = (unsigned long)cntx;
        ^~
/home/jorge/Media/8812au/include/osdep_service_linux.h:266:2: error: implicit declaration of function ‘init_timer’; did you mean ‘_init_timer’? [-Werror=implicit-function-declaration]
  init_timer(ptimer);
  ^~~~~~~~~~
  _init_timer
In file included from /home/jorge/Media/8812au/include/drv_types.h:32:0,
                 from /home/jorge/Media/8812au/core/rtw_cmd.c:22:
/home/jorge/Media/8812au/include/osdep_service.h: In function ‘thread_enter’:
/home/jorge/Media/8812au/include/osdep_service.h:343:2: error: implicit declaration of function ‘allow_signal’; did you mean ‘do_signal’? [-Werror=implicit-function-declaration]
  allow_signal(SIGTERM);
  ^~~~~~~~~~~~
  do_signal
/home/jorge/Media/8812au/include/osdep_service.h: In function ‘flush_signals_thread’:
/home/jorge/Media/8812au/include/osdep_service.h:353:6: error: implicit declaration of function ‘signal_pending’; did you mean ‘timer_pending’? [-Werror=implicit-function-declaration]
  if (signal_pending (current))
      ^~~~~~~~~~~~~~
      timer_pending
/home/jorge/Media/8812au/include/osdep_service.h:355:3: error: implicit declaration of function ‘flush_signals’; did you mean ‘do_signal’? [-Werror=implicit-function-declaration]
   flush_signals(current);
   ^~~~~~~~~~~~~
   do_signal
In file included from /home/jorge/Media/8812au/include/drv_types.h:95:0,
                 from /home/jorge/Media/8812au/core/rtw_cmd.c:22:
/home/jorge/Media/8812au/include/hal_com.h: At top level:
/home/jorge/Media/8812au/include/hal_com.h:412:13: error: ‘file_path’ redeclared as different kind of symbol
 extern char file_path[PATH_LENGTH_MAX];
             ^~~~~~~~~
In file included from ./include/linux/compat.h:18:0,
                 from ./include/linux/ethtool.h:17,
                 from ./include/linux/netdevice.h:41,
                 from /home/jorge/Media/8812au/include/osdep_service_linux.h:35,
                 from /home/jorge/Media/8812au/include/osdep_service.h:41,
                 from /home/jorge/Media/8812au/include/drv_types.h:32,
                 from /home/jorge/Media/8812au/core/rtw_cmd.c:22:
./include/linux/fs.h:2867:14: note: previous declaration of ‘file_path’ was here
 extern char *file_path(struct file *, char *, int);
              ^~~~~~~~~
cc1: some warnings being treated as errors
scripts/Makefile.build:332: recipe for target '/home/jorge/Media/8812au/core/rtw_cmd.o' failed
make[2]: *** [/home/jorge/Media/8812au/core/rtw_cmd.o] Error 1
Makefile:1552: recipe for target '_module_/home/jorge/Media/8812au' failed
make[1]: *** [_module_/home/jorge/Media/8812au] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-24-generic'
Makefile:1635: recipe for target 'modules' failed
make: *** [modules] Error 2
JVR
Level 2
Level 2
Posts: 53
Joined: Sun Jun 26, 2011 6:16 pm

Re: LM19 WiFi not showing in network settings

Post by JVR »

The following procedure successfully installed the driver for the Realtek RTL8821CE 802.11ac PCIe Wireless Network Adapter, on a HP Pavilion latptop with specs as described in the first post of this forum:
viewtopic.php?f=90&t=273099#p1494492

1. Download the driver for rtl8821ce from here
https://github.com/endlessm/linux/tree/ ... /rtl8821ce

Note: a google search reveals more options (first four links below)
https://www.google.com/search?source=hp ... nqb_NXezRM

2. Follow step-by-step instructions in this post:
https://askubuntu.com/a/990571

Note: take note that in file Makefile it is required to change the path of the folder rtl8821ce, to coincide with its location in your equipment. Also, don't miss the EDIT section of the post above, which gives the few lines of code you need to repeat in case you update the kernel (the driver will not be uploaded automatically to the most recent kernel, it will remain in the previous one, but as long as you keep rtl8821ce folder in the same place, you won't have to modify anything again in Makefile). If you do not want to experiment directly on the OS of your device, you may want to first do the steps above on the installation usb and see if they will work on your equipment (which is what I did). Also, it is important to keep in mind that the downloaded driver is for Endless OS and thus it might stop working in the future (I tried to download the drivers from third -RangeeGmbH, and fourth -FreedomBen, links in google results, but the third didn't solve my problem and the fourth messed up my kernel version --see earlier posts).

My laptop can now detect the wireless network signal, strongly and without problems (I have been testing it for over an hour). Audio, video, camera and microphone work fine. Bluetooth does not seem to work, but I have rarely used it in my other devices and thus I am okay with that for now.

Thanks so much to Miguel Landa and Paty Gonzalez for showing me the solution. I am especially indebted to JeremyB for his kind support when I had been up all night looking for an answer. I also wish to thank kc1di and Andy for their valuable inputs.
Wolfpeach
Level 1
Level 1
Posts: 9
Joined: Thu Aug 30, 2018 1:33 pm

Re: [SOLVED] LM19 WiFi not showing in network settings

Post by Wolfpeach »

Thanks for posting this - I've been having the same problem with my Lenovo ideapad 330, running Linux Mint 19 Mate from a USB stick. Wireless network is not functioning, no sign of any network. I've checked the hardware, and I have:
Lenovo RTL8821CE 802.11ac PCIe Wireless Network Adapter

I've followed the stages in the advice above, and get to the final stage, when I get the error:
modprobe: ERROR: could not insert '8821ce': Required key not available

Any idea what I've done wrong??
Wolfpeach
Level 1
Level 1
Posts: 9
Joined: Thu Aug 30, 2018 1:33 pm

Re: [SOLVED] LM19 WiFi not showing in network settings

Post by Wolfpeach »

Update: I've also tried an older kernel, Mint 18.3 (Mate), and found the same problem - no wifi present.

All of the steps shown in the successful solution for the OP seemed to work, up until the final stage, where I get the "required key not available" error, which has me stumped. Same version of Mint, same Wifi card, but different outcome. The only thing I can think is different is the rest of the hardware (Lenovo rather than HP), but not sure how that would make a difference? If the solution hadnt worked for the OP, I would be tempted to think that the driver for an 8821ce just didnt work with Mint, but I now have no idea where to go with this.

Hope this is the right place to be posting this...

Here are my system stats:

Code: Select all

a@330:~$ inxi -Fxz
System:    Host: 330 Kernel: 4.15.0-33-generic x86_64 bits: 64 gcc: 7.3.0
           Desktop: MATE 1.20.1 (Gtk 3.22.30-1ubuntu1)
           Distro: Linux Mint 19 Tara
Machine:   Device: laptop System: LENOVO product: 81D6 v: Lenovo ideapad 330-15AST serial: N/A
           Mobo: LENOVO model: LNVNB161216 v: SDK0J40700WIN serial: N/A
           UEFI: LENOVO v: 8UCN06WW date: 04/10/2018
Battery    BAT0: charge: 32.0 Wh 99.9% condition: 32.0/30.6 Wh (105%)
           model: CPT-COS L16C2PB2 status: Full
CPU:       Dual core AMD A9-9425 RADEON R5 5 COMPUTE CORES 2C+3G (-MCP-) 
           arch: Excavator rev.0 cache: 2048 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm) bmips: 12399
           clock speeds: max: 3100 MHz 1: 1473 MHz 2: 1542 MHz
Graphics:  Card: Advanced Micro Devices [AMD/ATI] Device 98e4 bus-ID: 00:01.0
           Display Server: x11 (X.Org 1.19.6 )
           drivers: fbdev,ati (unloaded: modesetting,vesa,radeon)
           Resolution: 1366x768@76.00hz
           OpenGL: renderer: llvmpipe (LLVM 6.0, 128 bits)
           version: 3.3 Mesa 18.0.5 Direct Render: Yes
Audio:     Card-1 Advanced Micro Devices [AMD] Device 157a
           driver: snd_hda_intel bus-ID: 00:09.2
           Card-2 Advanced Micro Devices [AMD/ATI] Device 15b3
           driver: snd_hda_intel bus-ID: 00:01.1
           Sound: Advanced Linux Sound Architecture v: k4.15.0-33-generic
Network:   Card-1: Realtek RTL8821CE 802.11ac PCIe Wireless Network Adapter
           port: 2000 bus-ID: 01:00.0
           IF: N/A state: N/A mac: N/A
           Card-2: Realtek RTL8101/2/6E PCIE Fast/Gigabit Ethernet controller
           driver: r8169 v: 2.3LK-NAPI port: 1000 bus-ID: 02:00.0
           IF: enp2s0 state: up speed: 100 Mbps duplex: full mac: <filter>
Drives:    HDD Total Size: 1000.2GB (1.4% used)
           ID-1: /dev/sda model: ST1000LM035 size: 1000.2GB
Partition: ID-1: / size: 433G used: 14G (4%) fs: ext4 dev: /dev/sda6
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: No active sensors found. Have you configured your sensors yet? mobo: N/A
Info:      Processes: 156 Uptime: 5 min Memory: 1181.7/7425.2MB
           Init: systemd runlevel: 5 Gcc sys: 7.3.0
           Client: Shell (bash 4.4.191) inxi: 2.3.56 [/c]

[c]a@330:~$ rfkill list all
0: ideapad_wlan: Wireless LAN
	Soft blocked: no
	Hard blocked: no
1: ideapad_bluetooth: Bluetooth
	Soft blocked: yes
	Hard blocked: no
2: hci0: Bluetooth
	Soft blocked: yes
	Hard blocked: no[/c]

[c]a@330:~$ iwconfig
lo        no wireless extensions.

enp2s0    no wireless extensions.

Code: Select all

a@330:~$ lspci
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1576
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Device 1577
00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Device 98e4 (rev da)
00:01.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device 15b3
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 157b
00:02.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 157c
00:02.4 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 157c
00:03.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 157b
00:08.0 Encryption controller: Advanced Micro Devices, Inc. [AMD] Device 1578
00:09.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 157d
00:09.2 Audio device: Advanced Micro Devices, Inc. [AMD] Device 157a
00:10.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB XHCI Controller (rev 20)
00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 4b)
00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller (rev 49)
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 4b)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 11)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15b0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15b1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15b2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15b3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15b4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15b5
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. RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller (rev 07)
Locked

Return to “Beginner Questions”