Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

rtl8821ce wifi card driver error on install

Need help with peripherals or devices?
Post Reply
Message
Author
ruari636
Posts: 1
Joined: 2019-11-10 14:16

rtl8821ce wifi card driver error on install

#1 Post by ruari636 »

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?

mmuratov
Posts: 25
Joined: 2010-02-21 12:18
Location: Labin, Croatia

Re: rtl8821ce wifi card driver error on install

#2 Post by mmuratov »

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?

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: rtl8821ce wifi card driver error on install

#3 Post by stevepusser »

It says it can't find "bc"?

Code: Select all

apt policy bc
if not installed, then

Code: Select all

apt install bc
MX Linux packager and developer

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: rtl8821ce wifi card driver error on install

#4 Post by Head_on_a_Stick »

Also:
ruari636 wrote:

Code: Select all

sudo make all
Don't run the plain make command as root, it only needs normal privileges.
deadbang

Post Reply