LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Bodhi (https://www.linuxquestions.org/questions/bodhi-92/)
-   -   wlan module not detected? (https://www.linuxquestions.org/questions/bodhi-92/wlan-module-not-detected-4175663480/)

Rosika 10-31-2019 11:43 AM

wlan module not detected?
 
Hi altogether,

Iīm currently trying to setup BodhiLinux for a friend of mine. She has a laptop (HP 15-db0400ng) which originally came with WIN10.

I could manage to create a bootable BodhiLinux-DVD and was able to boot into that OS. So far so good.

From that running live-system I wanted to install BodhiLinux but couldnīt as I wasnīt able to connect via WLAN.
For some reason Bodhi didnīt seem to detect the built-in WLAN.

I found out that itīs the Realtek RTL8821CE 802.11b/g/n/ac (1x1) Wi-FiŪ und BluetoothŪ 4.2 combined
(https://support.hp.com/de-de/document/c06067315#AbT0 ).

Neither is it possible to connect via a network cable. The problem is: my friend cannot find any ethernet cable despite the fact that she really should have one.

Is it possible that Bodhi doesnīt detect the WLAN module for some reason? Or must WLAN functionality be activated somehow beforehand?

Any help is appreciated.

Thanks a lot in advance.

Greetings.
Rosika :confused:

Rosika 10-31-2019 01:51 PM

*****UPDATE*****

Oh my,

it seems like Realtek RTL8821CE isnīt natively supported by Linux after all.
On https://wiki.ubuntuusers.de/WLAN/Karten/Realtek/ it says: not supported directly / driver must be installed manually .
So this would account for the problem.

Which in effect means: network-cable mandatory, otherwise driver cannot be downloaded/installed.

Or:

purchase a wlan-dongle like Netis Stick WF 2123 (https://www.amazon.de/dp/B06Y43BKQ1/...740101_TE_item )which supports Linux out-of-the-box.
Thatīs the one I use.

Greetings.
Rosika

ondoho 11-01-2019 03:42 AM

Hold your horses!
RTL8821CE is in the Ubuntu hardware database.
Why do you think it can't be made to work?
Probably just some firmware missing.
If you want to go at this systematically, start by providing the output requested here.

PS: what a coincidence. Same device, different problem.

Rosika 11-01-2019 11:56 AM

Hello ondoho,

thanks a lot for your reply.

Itīs a bit of a shame but my friend really seems to lack a network-cable for connecting the laptop to the router.
Therefore:

Quote:

If you want to go at this systematically, start by providing the output requested here.
seems difficult as the rfkill-package isnīt installed by default in bodhi (according to https://distrowatch.com/table.php?di...=5.0.0#pkglist ).

Yet next time I see my friend Iīd like to try this one, as pointed out on https://ubuntuforums.org/showthread....0#post13702710 :

Quote:

1.) Download driver directory from this repo: https://github.com/endlessm/linux/tr...less/rtl8821ce . You can do it by this link: https://minhaskamal.github.io/DownGi...less/rtl8821ce
2.) Unpack zip archive.
3.) Change the Makefile. Line "export TopDIR ?= ..." to export "TopDIR ?= PATH TO EXTRACTED DIRECTORY".
4.) make
5.) sudo make install
6.) sudo modprobe -a 8821ce
It also says:
Quote:

Confirmed that it works with kernel >=4.13
As bodhi uses kernel 4.15 perhaps that would be the way to go? Worth a shot?

Greetings

Rosika

ondoho 11-02-2019 01:15 AM

Quote:

Originally Posted by Rosika (Post 6053007)
Itīs a bit of a shame but my friend really seems to lack a network-cable for connecting the laptop to the router.
Therefore:
seems difficult as the rfkill-package isnīt installed by default in bodhi

Just provide the other info; mostly log output to tell us whether you aren't just missing firmware.
It really looks like this should "Just Work" on Ubuntu (and hence also on Bodhi).
OTOH, since that github repo is still maintained, there must be a reason for it, too... :scratch:

Rosika 11-02-2019 08:07 AM

Hi ondoho,

Quote:

Just provide the other info
O.K.
What I should be able to do then is posting the output of:
Quote:

uname -rv
lspci -knn | grep -EiA2 net
dmesg|grep -Ei 'wlan|firmw|dhc'
sudo cat /var/log/syslog | grep -Ei 'net|wpa|dhc'
Yet this might take a while. The thing is: My friend lives a bit far away and so I really donīt see her every day.
And a remote maintenance tool like anydesk is out of the question as it requires internet access in the first place. :eek:

So please be patient (as I also have to be). Iīll get back to you as soon as possible.

On a sidenote:

As of late I donīt receive e-mail notifications from linuxquestions any more. Whenever thereīs a new comment/answer, like yours here, I normally should be informed. That worked well in the past and I definitively didnīt change my personal settings. Itīs a bit of a mystery.

Geetings
Rosika :)

cordx 11-02-2019 06:19 PM

after months of getting email from here, i noticed they started getting caught by the spam filter. that might be one thing you could check.

after posting in a thread, i normally see a checkmark under the thread rating indicating that i am subscribed. there is also a link in the column on the right side of the screen with some menus. under My LQ there is a Subscribed Threads link.

there is also a button at the top of each thread called Thread Tools. one of the options there is to subscribe to a thread you were not previously subscribed to or unsubscribe to one you were. perhaps a turning it off then back on might be an option if all other avenues prove unsuccessful.

Rosika 11-03-2019 07:42 AM

Hello cordx,

thanks a lot for your answer.
Quote:

after posting in a thread, i normally see a checkmark under the thread rating indicating that i am subscribed
Yes, I checked that already, and I am subscribed.
Quote:

after months of getting email from here, i noticed they started getting caught by the spam filter. that might be one thing you could check.
I checked it and - guess what - you are right by all means. Thatīs exactly what happened here as well. Suddenly e-mails from linuxquestions were filtered out. Using TB as an e-mail client it never occurred to me to check gmx mail using the web-interface. I guess gmx changed something lately. I managed to turn off the spam-filter functionality in my gmx-account and now I hope Iīll be getting linuxquestion-e-mails in the future.

Thanks for pointing out the problem.

Greetings
Rosika :)

enigma9o7 11-03-2019 09:40 PM

When you next visit your friend, bring an ethernet cable and a usb flash drive. Ideally the cable should work, but if not, there is sneaker-net.

Run nm-applet to get the thing on your system tray to select wifi adapater. (It can be set to run automatically from startup apps in settings as 'network').

(I can't imagine not being able to find a lan cable anywhere, I'd just unplug something else if I had to.

Rosika 11-04-2019 07:18 AM

Hi enigma9o7,

thanks for your suggestion.

I talked to my friend on the phone yesterday. I know she has got a usb flash drive. But the LAN-cable might prove to be difficult.
I myself donīt have one as my only internet-connection is via a UMTS-stick.
Yet she should have one. Anyhow, she promised to look for it. Weīll see.

Unplugging something else might not work either because it seems she doesnīt have any other appliances that need a LAN cable.

At any rate I'll see what I can do.

Tnx again and many greetings.
Rosika :)

P.S.:

If all else fails she could order such a cable via amazon.
On the other hand for almost the same price one could get the CSL - 300 Mbit s WLAN USB Stick - Adapter Stick Wireless LAN WiFi Dongle which works with linux out-of-the-box.
(https://www.amazon.de/dp/B06Y43BKQ1/...740101_TE_item )

Rosika 11-22-2019 08:35 AM

Hello again,

in the meantime I had the chance to install Bodhi on my firendīs laptop. But I ran into difficulties:

As she wants to keep WIN10 as well I decided to go for dual-boot.

As peparation I de-activated fast-boot in WIN and disabled secure-boot in UEFI (at least I thought I did).
Later it turned out that secure-boot wasnīt disabled after all. And so Bodhi was installed with secure-boot enabled. :(
That resulted in problems.

The installation itself went well as my friend finally got a network cable which I could connect to the router.
After the installation and system-update I wanted to solve the wlan-module-problem.
I did the following:

Code:

sudo apt-get install --reinstall git dkms build-essential
git clone https://github.com/tomaspinho/rtl8821ce
cd rtl8821ce
chmod +x dkms-install.sh
chmod +x dkms-remove.sh
sudo ./dkms-install.sh

The driver was successfully installed. But it didnīt work. The WLAN signal wasnīt found. Thatīs surely connected with the phenomenon of secure-boot enabled.

What I should have done (probably) is this:
Code:

sudo apt install mokutil
sudo mokutil --sb-state
sudo mokutil --disable-validation

because that way the boot-check by shim should be deactivated under Linux. Secure-boot in UEFI is still activated but bootloader (GRUB), kernel and kernel modules shouldnīt be checked by the shim-bootloader.
That way I would probably have gotten the wlan to work.

Yet what I did unfortunately was:

Going back to UEFI and disabled secure-boot (now for real). Afterwards a start of the laptop didnīt provide me with GRUB any more and WIN10 was booted.
So I went back to UEFI and enabled secure-boot once again. But I couldnīt get back GRUB after all. Itīs still WIN10 that boots with no way of choosing the OS.

So I seems I pretty messed up things.

Has anyone a clue what to do now?

Thanks so much for your help.

Greetigs
Rosika

cordx 11-22-2019 02:22 PM

since the installation is fairly fresh anyways, is there much reason to muck around with trying to salvage it rather than doing another install (re-doubled effort maybe, but possibly headaches saved?) with secure boot disabled?

Rosika 11-23-2019 08:07 AM

Hello cordx,

thanks for your suggestion.
Youīre perfectly right and I was thinking about a re-install too.

The one thing that took a while during the install was the partitioning of the internal HDD. Bodhi was taking care of that.
I just had to adjust the slider in order to create 2 equally big partitions of the 1 TB-HDD. So basically 500 GB for WIN10 and Bodhi respectively.
And I think I donīt have to go through the partitioning process again.

So a fresh install would certainly be the way to go.
I was just asking my question in case that anyone would come up with another solution.

So thanks again for your advice.

Greetings.
Rosika :)

ondoho 11-26-2019 12:53 AM

Quote:

Originally Posted by Rosika (Post 6060997)
I just had to adjust the slider in order to create 2 equally big partitions of the 1 TB-HDD. So basically 500 GB for WIN10 and Bodhi respectively.

I hope that wasn't an existing Win10 install, because that would be gone now.

Rosika 11-26-2019 08:15 AM

Hi ondoho,

perhaps I didnīt express myself correctly.

The installation routine recognized the existing WIN10 OS and proposed to install Bodhi alongside of it. Here the slider came into action. With its help I could readjust the amount of space allocated to WIN and Bodhi respectively.

Dual boot went well. And Grub showed the WIN/Bodhi entries.

Greetings.
Rosika :)


All times are GMT -5. The time now is 12:13 PM.