I know this question has been asked here before, but the answers haven't helped me. I have a Lenovo Ideapad on which I've installed via UNetbootin 18.04. Everything else with the install went smoothly, but like others my wifi is not working. In particular, I've gotten the
no wi-fi adapter found message.
Many of the fixes relied on gaining access to the internet via an ethernet connection, but my machine doesn't have a connection for that.
I haven't used Ubuntu in several years so my Linux foo is very rusty. I'm essentially a newbie.
03:00.0 Network controller : Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter [10ec:c821] Subsystem: Lenovo RTL8821CE 802.11ac PCIe Wireless Network Adapter [17aa:co24]
Let me emphasize newbie again. I don't know how else to post this. Here's the feedback now that I attempt to run
make after updating and upgrading again:
/bin/sh: 1: cc: not found (standard_in) 1: syntax error make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.18.0-15-generic/build M=/home/john/Downloads/rtl8821ce modules make: Entering directory '/usr/src/linux-headers-4.18.0-15-generic' arch/x86/Makefile:155: CONFIG_X86_X32 enabled but no binutils support ./scripts/gcc-version.sh: line 26: gcc: command not found ./scripts/gcc-version.sh: line 27: gcc: command not found Makefile:970: "Cannot use CONFIG_STACK_VALIDATION=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel" make: gcc: Command not found make: gcc: Command not found make: gcc: Command not found make: gcc: Command not found /bin/sh: 1: gcc: not found (standard_in) 1: syntax error /home/john/Downloads/rtl8821ce/Makefile:2157: home/john/Downloads/rtl8821ce/hal/phydm/phydm.mk: No such file or directory /home/john/Downloads/rtl8821ce/Makefile:2166: home/john/Downloads/rtl8821ce/rtl8821c.mk: No such file or directory make: *** No rule to make target 'home/john/Downloads/rtl8821ce/rtl8821c.mk'. Stop. Makefile:1534: recipe for target '_module_/home/john/Downloads/rtl8821ce' failed make: *** [_module_/home/john/Downloads/rtl8821ce] Error 2 make: Leaving directory '/usr/src/linux-headers-4.18.0-15-generic' Makefile:2237: recipe for target 'modules' failed make: *** [modules] Error 2 john@john-Lenovo-ideapad-130S-11IGM:~/Downloads/rtl8821ce$ sudo make install /bin/sh: 1: cc: not found (standard_in) 1: syntax error install -p -m 644 8821ce.ko /lib/modules/4.18.0-15-generic/kernel/drivers/net/wireless/ install: cannot stat '8821ce.ko': No such file or directory Makefile:2243: recipe for target 'install' failed make: *** [install] Error 1
Ran the commands and got these errors:
E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable) E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it? john@john-Lenovo-ideapad-130S-11IGM:~$ sudo apt-get install libelf-dev E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable) E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?