mike@mike-Linux ~/wifi2/rtl8821ce $ make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.13.0-32-generic/build M=/home/mike/wifi2/rtl8821ce modules
make[1]: Entering directory '/usr/src/linux-headers-4.13.0-32-generic'
CC [M] /home/mike/wifi2/rtl8821ce/core/rtw_cmd.o
In file included from /home/mike/wifi2/rtl8821ce/include/osdep_service.h:48:0,
from /home/mike/wifi2/rtl8821ce/include/drv_types.h:32,
from /home/mike/wifi2/rtl8821ce/core/rtw_cmd.c:22:
/home/mike/wifi2/rtl8821ce/include/osdep_service_linux.h: In function ‘_init_timer’:
/home/mike/wifi2/rtl8821ce/include/osdep_service_linux.h:294:2: error: implicit declaration of function ‘timer_setup’ [-Werror=implicit-function-declaration]
timer_setup(ptimer, pfunc, 0);
^
cc1: some warnings being treated as errors
scripts/Makefile.build:308: recipe for target '/home/mike/wifi2/rtl8821ce/core/rtw_cmd.o' failed
make[2]: *** [/home/mike/wifi2/rtl8821ce/core/rtw_cmd.o] Error 1
Makefile:1550: recipe for target '_module_/home/mike/wifi2/rtl8821ce' failed
make[1]: *** [_module_/home/mike/wifi2/rtl8821ce] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.13.0-32-generic'
Makefile:1903: recipe for target 'modules' failed
make: *** [modules] Error 2
Any idea what's going on? Thanks!
Last edited by mpa215 on Thu Feb 22, 2018 12:02 am, edited 1 time in total.
All you've shown us is the Ethernet connection not your usb dongle
Please make sure the usb wifi stick is plugged in them execute this command in a terminal and post the output here:
mike@mike-Linux ~ $ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 005: ID 0bda:a811 Realtek Semiconductor Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Ok the machine seems to see the realtek plugged into usb. Now we need to know exactly which chip is on that stick
try this command again and see if it picks it up now:
post the results from all these.
again make sure the stick is plugged in.
it may be helpful if you know the name , brand of the stick also please tell us.
The following NEW packages will be installed:
rtl8812au-dkms
0 upgraded, 1 newly installed, 0 to remove and 101 not upgraded.
Need to get 1,024 kB of archives.
After this operation, 7,778 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu xenial/universe amd64 rtl8812au-dkms all 4.3.8.12175.20140902+dfsg-0ubuntu2 [1,024 kB]
Fetched 1,024 kB in 0s (1,181 kB/s)
Selecting previously unselected package rtl8812au-dkms.
(Reading database ... 265544 files and directories currently installed.)
Preparing to unpack .../rtl8812au-dkms_4.3.8.12175.20140902+dfsg-0ubuntu2_all.deb ...
Unpacking rtl8812au-dkms (4.3.8.12175.20140902+dfsg-0ubuntu2) ...
Setting up rtl8812au-dkms (4.3.8.12175.20140902+dfsg-0ubuntu2) ...
Loading new rtl8812au-4.3.8.12175.20140902+dfsg DKMS files...
First Installation: checking all kernels...
Building only for 4.13.0-32-generic
Building initial module for 4.13.0-32-generic
ERROR (dkms apport): kernel package linux-headers-4.13.0-32-generic is not supported
Error! Bad return status for module build on kernel: 4.13.0-32-generic (x86_64)
Consult /var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build/make.log for more information.
you may need to downgrade your kernel to 4.4 but wait for JeremyB's response.
and JeremyB a question how do you know that it's a 8812 chipset? Just curious since I would like to know how to determine this - Thanks.
Jeremy and kc1di: I used Jeremy's method and I'm happy to say that I'm posting this using WIFI on my computer! Thank you so much for the help!
If anyone else stumbles upon this in the future, note that I also needed to pull and and plug back in my usb wifi adapter after restarting my computer. Not sure if it's necessary or if it would have eventually connected otherwise.
A "2.4G USB3.0 5G Wireless Network Card Wi-Fi Receiver RTL8812AU 1200M Dual Band" from EBay
which was shipped from Vietnam worked perfectly after following JeremyB's instructions
I followed the instructions, rebooted and there it was.
Sometimes Linux is indistinguishable from magic.
You type the incantations from a guru and it just WORKS
I followed JeremyB's solution on Linuxmint 19.3. Since I didn't need internet connection on the laptop before the fix, I didn't do the "sudo apt-get install dkms git" but the required package is already installed in the Linuxmint 19.3 out of the box. The github repository has been updated since then. I executed "sudo dkms install 8812au/4.2.3" instead of "sudo dkms install 8812au/4.2.2". Works perfectly. Doesn't even need a reboot at all. Thanks.