rtl8821ce wifi card driver error on install

Getting your soundcard to work, using Debian on non-i386 hardware, etc

rtl8821ce wifi card driver error on install

Postby ruari636 » 2019-11-10 16:17

I am trying out Debian 10.1.0 but it doesn't come with the driver I need for internet so I downloaded https://github.com/tomaspinho/rtl8821ce and extracted it onto the system. The problem is that when I try to install it like the instructions here http://www.uhoditv.org/installing-rtl88 ... nt-page-1/ I get error messages on the first step:

sudo make all
[sudo] password for ruari:
/bin/sh: 1: bc: not found
Makefile:24: extraneous text after 'ifeq' directive
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.19.0-6-amd64/build M=/home/ruari/Downloads/rtl8821ce-master/rtl8821ce-master modules
make[1]: Entering directory '/usr/src/linux-headers-4.19.0-6-amd64'
/bin/sh: 1: bc: not found
/home/ruari/Downloads/rtl8821ce-master/rtl8821ce-master/Makefile:24: extraneous text after 'ifeq' directive
CC [M] /home/ruari/Downloads/rtl8821ce-master/rtl8821ce-master/core/rtw_cmd.o
CC [M] /home/ruari/Downloads/rtl8821ce-master/rtl8821ce-master/core/rtw_security.o
CC [M] /home/ruari/Downloads/rtl8821ce-master/rtl8821ce-master/core/rtw_debug.o
/home/ruari/Downloads/rtl8821ce-master/rtl8821ce-master/core/rtw_debug.c: In function ‘dump_drv_version’:
/home/ruari/Downloads/rtl8821ce-master/rtl8821ce-master/core/rtw_debug.c:45:62: error: macro "__DATE__" might prevent reproducible builds [-Werror=date-time]
RTW_PRINT_SEL(sel, "build time: %s %s\n", __DATE__, __TIME__);
^
/home/ruari/Downloads/rtl8821ce-master/rtl8821ce-master/core/rtw_debug.c:45:62: error: macro "__TIME__" might prevent reproducible builds [-Werror=date-time]
cc1: some warnings being treated as errors
make[4]: *** [/usr/src/linux-headers-4.19.0-6-common/scripts/Makefile.build:309: /home/ruari/Downloads/rtl8821ce-master/rtl8821ce-master/core/rtw_debug.o] Error 1
make[3]: *** [/usr/src/linux-headers-4.19.0-6-common/Makefile:1534: _module_/home/ruari/Downloads/rtl8821ce-master/rtl8821ce-master] Error 2
make[2]: *** [Makefile:146: sub-make] Error 2
make[1]: *** [Makefile:8: all] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.19.0-6-amd64'
make: *** [Makefile:2244: modules] Error 2
ruari@hp:~/Downloads/rtl8821ce-master/rtl8821ce-master$

Does someone know the solution to this problem or have a better driver for me to use?
ruari636
 
Posts: 1
Joined: 2019-11-10 14:16

Re: rtl8821ce wifi card driver error on install

Postby mmuratov » 2019-11-10 16:39

as a root user, try this, in that order:

1. apt install git dkms build-essential
2. git clone https://github.com/tomaspinho/rtl8821ce.git
3. cd rtl8821ce (navigate to rtl folder)
4. ./dkms-install.sh

restart your machine and see if its working
"Today is the tomorrow that you were worried about yesterday."
- What's your excuse now?
mmuratov
 
Posts: 25
Joined: 2010-02-21 12:18
Location: Labin, Croatia

Re: rtl8821ce wifi card driver error on install

Postby stevepusser » 2019-11-10 19:55

It says it can't find "bc"?
Code: Select all
apt policy bc


if not installed, then

Code: Select all
apt install bc
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Clipgrab 3.8.6, Hedgewars 1.0.0, PulseEffects 4.6.9, Telegram-desktop 1.8.15, Pale Moon 28.8.0, KeepassXC 2.5.1
User avatar
stevepusser
 
Posts: 11316
Joined: 2009-10-06 05:53

Re: rtl8821ce wifi card driver error on install

Postby Head_on_a_Stick » 2019-11-11 12:35

Also:
ruari636 wrote:
Code: Select all
sudo make all

Don't run the plain make command as root, it only needs normal privileges.
Don't break DebianHow to report bugs

SharpBang GNU/Linux® — a pre-configured Openbox/Tint2 desktop running on Debian stable
User avatar
Head_on_a_Stick
 
Posts: 10695
Joined: 2014-06-01 17:46
Location: /dev/chair


Return to Hardware

Who is online

Users browsing this forum: No registered users and 8 guests

fashionable
cron