Wireless LAN not working on Lenovo Ideapad 330 Ubuntu 18.04 [duplicate]












0
















This question already has an answer here:




  • How can I make my Realtek RTL8821CE wireless hardware work?

    2 answers



  • Wi-Fi not working on Lenovo ThinkPad E570 (Realtek RTL8821CE)

    5 answers




Thanks. The following worked. You need to restart multiple times.
How can I make my Realtek RTL8821CE wireless hardware work?



I tried Wi-Fi not working on Lenovo ThinkPad E570 (Realtek RTL8821CE) but I got the following error



make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.15.0-43-generic/build M=/home/ekta/Downloads/rtl8821ce  modules
make[1]: Entering directory '/usr/src/linux-headers-4.15.0-43-generic'
CC [M] /home/ekta/Downloads/rtl8821ce/os_dep/linux/os_intfs.o
/home/ekta/Downloads/rtl8821ce/os_dep/linux/os_intfs.c:1325:22: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.ndo_select_queue = rtw_select_queue,
^~~~~~~~~~~~~~~~
/home/ekta/Downloads/rtl8821ce/os_dep/linux/os_intfs.c:1325:22: note: (near initialization for ‘rtw_netdev_ops.ndo_select_queue’)
cc1: some warnings being treated as errors
scripts/Makefile.build:332: recipe for target '/home/ekta/Downloads/rtl8821ce/os_dep/linux/os_intfs.o' failed
make[2]: *** [/home/ekta/Downloads/rtl8821ce/os_dep/linux/os_intfs.o] Error 1
Makefile:1551: recipe for target '_module_/home/ekta/Downloads/rtl8821ce' failed
make[1]: *** [_module_/home/ekta/Downloads/rtl8821ce] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-43-generic'
Makefile:1902: recipe for target 'modules' failed
make: *** [modules] Error 2




########## wireless info START ##########

Report from: 03 Jan 2019 00:36 IST +0530

Booted last: 03 Jan 2019 00:00 IST +0530

Script from: 22 Oct 2018 03:34 UTC +0000

##### release ###########################

Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic

##### kernel ############################

Linux 4.15.0-43-generic #46-Ubuntu SMP Thu Dec 6 14:45:28 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Parameters: ro, quiet, splash, vt.handoff=1

##### desktop ###########################

Ubuntu

##### lspci #############################

01:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter [10ec:c821]
Subsystem: Lenovo RTL8821CE 802.11ac PCIe Wireless Network Adapter [17aa:c024]

02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 10)
Subsystem: Lenovo RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [17aa:38a8]
Kernel driver in use: r8169

##### lsusb #############################

Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 0bda:c024 Realtek Semiconductor Corp.
Bus 003 Device 002: ID 174f:116a Syntek
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 413c:301b Dell Computer Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

##### PCMCIA card info ##################

##### rfkill ############################

0: ideapad_wlan: Wireless LAN
Soft blocked: no
Hard blocked: no
1: ideapad_bluetooth: Bluetooth
Soft blocked: yes
Hard blocked: no
2: hci0: Bluetooth
Soft blocked: yes
Hard blocked: no

##### secure boot #######################

SecureBoot disabled

##### lsmod #############################

ideapad_laptop 32768 0
wmi_bmof 16384 0
sparse_keymap 16384 1 ideapad_laptop
wmi 24576 2 wmi_bmof,ideapad_laptop
video 45056 1 ideapad_laptop

##### interfaces ########################

[/etc/network/interfaces]
auto lo
iface lo inet loopback

##### ifconfig ##########################

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback <MAC address> brd <MAC address>
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether <MAC 'enp2s0' [IF1]> brd <MAC address>
inet 10.245.156.51/16 brd 10.245.255.255 scope global dynamic noprefixroute enp2s0
valid_lft 78505sec preferred_lft 78505sec
inet6 2406:7400:57::2:ad50/128 scope global dynamic noprefixroute
valid_lft 78507sec preferred_lft 78507sec
inet6 fe80::bb7:4582:7aee:ac3a/64 scope link noprefixroute
valid_lft forever preferred_lft forever

##### iwconfig ##########################

lo no wireless extensions.

enp2s0 no wireless extensions.

##### route #############################

default via 10.245.0.1 dev enp2s0 proto dhcp metric 100
10.245.0.0/16 dev enp2s0 proto kernel scope link src 10.245.156.51 metric 100
169.254.0.0/16 dev enp2s0 scope link metric 1000

##### resolv.conf #######################

[777 root '/etc/resolv.conf' -> '../run/systemd/resolve/stub-resolv.conf']

nameserver 127.0.0.53

##### network managers ##################

Installed:

NetworkManager

Running:

root 752 1 0 00:25 ? 00:00:00 /usr/sbin/NetworkManager --no-daemon

##### NetworkManager info ###############

GENERAL.DEVICE: enp2s0
GENERAL.TYPE: ethernet
GENERAL.NM-TYPE: NMDeviceEthernet
GENERAL.VENDOR: Realtek Semiconductor Co., Ltd.
GENERAL.PRODUCT: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
GENERAL.DRIVER: r8169
GENERAL.DRIVER-VERSION: 2.3LK-NAPI
GENERAL.FIRMWARE-VERSION: --
GENERAL.HWADDR: <MAC 'enp2s0' [IF1]>
GENERAL.MTU: 1500
GENERAL.STATE: 100 (connected)
GENERAL.REASON: 0 (No reason given)
GENERAL.UDI: /sys/devices/pci0000:00/0000:00:01.3/0000:02:00.0/net/enp2s0
GENERAL.IP-IFACE: enp2s0
GENERAL.IS-SOFTWARE: no
GENERAL.NM-MANAGED: yes
GENERAL.AUTOCONNECT: yes
GENERAL.FIRMWARE-MISSING: no
GENERAL.NM-PLUGIN-MISSING: no
GENERAL.PHYS-PORT-ID: --
GENERAL.CONNECTION: Wired connection 1
GENERAL.CON-UUID: 77921851-d262-378c-bb7d-c8fdee3042f9
GENERAL.CON-PATH: /org/freedesktop/NetworkManager/ActiveConnection/1
GENERAL.METERED: no (guessed)
CAPABILITIES.CARRIER-DETECT: yes
CAPABILITIES.SPEED: 100 Mb/s
CAPABILITIES.IS-SOFTWARE: no
CAPABILITIES.SRIOV: no
WIRED-PROPERTIES.CARRIER: on
IP4.ADDRESS[1]: 10.245.156.51/16
IP4.GATEWAY: 10.245.0.1
IP4.ROUTE[1]: dst = 0.0.0.0/0, nh = 10.245.0.1, mt = 100
IP4.ROUTE[2]: dst = 10.245.0.0/16, nh = 0.0.0.0, mt = 100
IP4.ROUTE[3]: dst = 169.254.0.0/16, nh = 0.0.0.0, mt = 1000
IP4.DNS[1]: 202.83.21.43
IP4.DNS[2]: 202.83.21.25
DHCP4.OPTION[1]: network_number = 10.245.0.0
DHCP4.OPTION[2]: domain_name_servers = 202.83.21.43 202.83.21.25
DHCP4.OPTION[3]: requested_domain_search = 1
DHCP4.OPTION[4]: requested_time_offset = 1
DHCP4.OPTION[5]: requested_domain_name = 1
DHCP4.OPTION[6]: requested_rfc3442_classless_static_routes = 1
DHCP4.OPTION[7]: requested_broadcast_address = 1
DHCP4.OPTION[8]: requested_netbios_scope = 1
DHCP4.OPTION[9]: requested_wpad = 1
DHCP4.OPTION[10]: next_server = 0.0.0.0
DHCP4.OPTION[11]: broadcast_address = 10.245.255.255
DHCP4.OPTION[12]: requested_interface_mtu = 1
DHCP4.OPTION[13]: requested_subnet_mask = 1
DHCP4.OPTION[14]: dhcp_lease_time = 79200
DHCP4.OPTION[15]: routers = 10.245.0.1
DHCP4.OPTION[16]: ip_address = 10.245.156.51
DHCP4.OPTION[17]: requested_domain_name_servers = 1
DHCP4.OPTION[18]: requested_static_routes = 1
DHCP4.OPTION[19]: dhcp_renewal_time = 39600
DHCP4.OPTION[20]: subnet_mask = 255.255.0.0
DHCP4.OPTION[21]: expiry = 1546534510
DHCP4.OPTION[22]: requested_ntp_servers = 1
DHCP4.OPTION[23]: requested_netbios_name_servers = 1
DHCP4.OPTION[24]: requested_ms_classless_static_routes = 1
DHCP4.OPTION[25]: requested_routers = 1
DHCP4.OPTION[26]: dhcp_message_type = 5
DHCP4.OPTION[27]: dhcp_rebinding_time = 69300
DHCP4.OPTION[28]: requested_host_name = 1
DHCP4.OPTION[29]: dhcp_server_identifier = 10.245.0.1
IP6.ADDRESS[1]: 2406:7400:57::2:ad50/128
IP6.ADDRESS[2]: fe80::bb7:4582:7aee:ac3a/64
IP6.GATEWAY: fe80::865b:12ff:fe4a:a1f2
IP6.ROUTE[1]: dst = ::/0, nh = fe80::865b:12ff:fe4a:a1f2, mt = 100
IP6.ROUTE[2]: dst = ff00::/8, nh = ::, mt = 256, table=255
IP6.ROUTE[3]: dst = fe80::/64, nh = ::, mt = 256
IP6.ROUTE[4]: dst = fe80::/64, nh = ::, mt = 100
IP6.ROUTE[5]: dst = 2406:7400:57::2:ad50/128, nh = ::, mt = 100
IP6.DNS[1]: 2001:4860:4860::8888
IP6.DNS[2]: 2001:4860:4860::8844
DHCP6.OPTION[1]: dhcp6_client_id = 0:4:3:96:5c:4d:d8:cf:a:6b:db:f4:47:f3:15:f:cb:70
DHCP6.OPTION[2]: requested_dhcp6_name_servers = 1
DHCP6.OPTION[3]: dhcp6_name_servers = 2001:4860:4860::8888 2001:4860:4860::8844
DHCP6.OPTION[4]: rebind = 63360
DHCP6.OPTION[5]: max_life = 79200
DHCP6.OPTION[6]: preferred_life = 79200
DHCP6.OPTION[7]: requested_dhcp6_domain_search = 1
DHCP6.OPTION[8]: requested_dhcp6_client_id = 1
DHCP6.OPTION[9]: life_starts = 1546445268
DHCP6.OPTION[10]: dhcp6_status_code = success Success
DHCP6.OPTION[11]: ip6_address = 2406:7400:57::2:ad50
DHCP6.OPTION[12]: ip6_prefixlen = 64
DHCP6.OPTION[13]: renew = 39600
DHCP6.OPTION[14]: dhcp6_server_id = 0:1:0:6:af:e2:4d:11:84:5b:12:4a:a1:f2
DHCP6.OPTION[15]: starts = 1546445268
DHCP6.OPTION[16]: iaid = 45:b0:03:83
CONNECTIONS.AVAILABLE-CONNECTION-PATHS: /org/freedesktop/NetworkManager/Settings/{1}
CONNECTIONS.AVAILABLE-CONNECTIONS[1]: 77921851-d262-378c-bb7d-c8fdee3042f9 | Wired connection 1

##### NetworkManager.state ##############

[main]
NetworkingEnabled=true
WirelessEnabled=true
WWANEnabled=true

##### NetworkManager config #############

[[/etc/NetworkManager/conf.d/default-wifi-powersave-on.conf]]
[connection]
wifi.powersave = 3

[[/etc/NetworkManager/NetworkManager.conf]]
[main]
plugins=ifupdown,keyfile
[ifupdown]
managed=false
[device]
wifi.scan-rand-mac-address=no

[[/usr/lib/NetworkManager/conf.d/10-dns-resolved.conf]]
[main]
dns=systemd-resolved

[[/usr/lib/NetworkManager/conf.d/10-globally-managed-devices.conf]]
[keyfile]
unmanaged-devices=*,except:type:wifi,except:type:wwan

[[/usr/lib/NetworkManager/conf.d/20-connectivity-ubuntu.conf]]
[connectivity]
uri=http://connectivity-check.ubuntu.com/

[[/usr/lib/NetworkManager/conf.d/no-mac-addr-change.conf]]
[device-mac-addr-change-wifi]
match-device=driver:rtl8723bs,driver:rtl8189es,driver:r8188eu,driver:8188eu,driver:eagle_sdio,driver:wl
wifi.scan-rand-mac-address=no
wifi.cloned-mac-address=preserve
ethernet.cloned-mac-address=preserve

##### NetworkManager profiles ###########

##### Netplan config ####################

[/etc/netplan/01-network-manager-all.yaml]
network:
version: 2
renderer: NetworkManager

##### iw reg get ########################

Region: Asia/Kolkata (based on set time zone)

global
country 00: DFS-UNSET
(2402 - 2472 @ 40), (6, 20), (N/A)
(2457 - 2482 @ 20), (6, 20), (N/A), AUTO-BW, PASSIVE-SCAN
(2474 - 2494 @ 20), (6, 20), (N/A), NO-OFDM, PASSIVE-SCAN
(5170 - 5250 @ 80), (6, 20), (N/A), AUTO-BW, PASSIVE-SCAN
(5250 - 5330 @ 80), (6, 20), (0 ms), DFS, AUTO-BW, PASSIVE-SCAN
(5490 - 5730 @ 160), (6, 20), (0 ms), DFS, PASSIVE-SCAN
(5735 - 5835 @ 80), (6, 20), (N/A), PASSIVE-SCAN
(57240 - 63720 @ 2160), (N/A, 0), (N/A)

##### iwlist channels ###################

lo no frequency information.

enp2s0 no frequency information.

##### iwlist scan #######################

lo Interface doesn't support scanning.

enp2s0 Interface doesn't support scanning.

##### module infos ######################

##### module parameters #################

##### /etc/modules ######################

##### modprobe options ##################

[/etc/modprobe.d/amd64-microcode-blacklist.conf]
blacklist microcode

[/etc/modprobe.d/blacklist-ath_pci.conf]
blacklist ath_pci

[/etc/modprobe.d/blacklist.conf]
blacklist evbug
blacklist usbmouse
blacklist usbkbd
blacklist eepro100
blacklist de4x5
blacklist eth1394
blacklist snd_intel8x0m
blacklist snd_aw2
blacklist i2c_i801
blacklist prism54
blacklist bcm43xx
blacklist garmin_gps
blacklist asus_acpi
blacklist snd_pcsp
blacklist pcspkr
blacklist amd76x_edac

[/etc/modprobe.d/blacklist-rare-network.conf]
alias net-pf-3 off
alias net-pf-6 off
alias net-pf-9 off
alias net-pf-11 off
alias net-pf-12 off
alias net-pf-19 off
alias net-pf-21 off
alias net-pf-36 off

[/etc/modprobe.d/intel-microcode-blacklist.conf]
blacklist microcode

[/etc/modprobe.d/iwlwifi.conf]
remove iwlwifi
(/sbin/lsmod | grep -o -e ^iwlmvm -e ^iwldvm -e ^iwlwifi | xargs /sbin/rmmod)
&& /sbin/modprobe -r mac80211

##### rc.local ##########################

grep: /etc/rc.local: No such file or directory

##### pm-utils ##########################

##### udev rules ########################

##### dmesg #############################

[ 29.099313] IPv6: ADDRCONF(NETDEV_UP): enp2s0: link is not ready
[ 29.238180] r8169 0000:02:00.0 enp2s0: link down (repeated 2 times)
[ 29.238277] IPv6: ADDRCONF(NETDEV_UP): enp2s0: link is not ready
[ 33.901614] r8169 0000:02:00.0 enp2s0: link up
[ 33.901629] IPv6: ADDRCONF(NETDEV_CHANGE): enp2s0: link becomes ready

########## wireless info END ############









share|improve this question















marked as duplicate by Kulfy, Jeremy31, chili555 wireless
Users with the  wireless badge can single-handedly close wireless questions as duplicates and reopen them as needed.

StackExchange.ready(function() {
if (StackExchange.options.isMobile) return;

$('.dupe-hammer-message-hover:not(.hover-bound)').each(function() {
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');

$hover.hover(
function() {
$hover.showInfoMessage('', {
messageElement: $msg.clone().show(),
transient: false,
position: { my: 'bottom left', at: 'top center', offsetTop: -7 },
dismissable: false,
relativeToBody: true
});
},
function() {
StackExchange.helpers.removeMessages();
}
);
});
});
Jan 2 at 23:13


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
















  • I tried running the above details in the link but got the error as stated above.

    – sciencevivekm
    Jan 2 at 19:33
















0
















This question already has an answer here:




  • How can I make my Realtek RTL8821CE wireless hardware work?

    2 answers



  • Wi-Fi not working on Lenovo ThinkPad E570 (Realtek RTL8821CE)

    5 answers




Thanks. The following worked. You need to restart multiple times.
How can I make my Realtek RTL8821CE wireless hardware work?



I tried Wi-Fi not working on Lenovo ThinkPad E570 (Realtek RTL8821CE) but I got the following error



make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.15.0-43-generic/build M=/home/ekta/Downloads/rtl8821ce  modules
make[1]: Entering directory '/usr/src/linux-headers-4.15.0-43-generic'
CC [M] /home/ekta/Downloads/rtl8821ce/os_dep/linux/os_intfs.o
/home/ekta/Downloads/rtl8821ce/os_dep/linux/os_intfs.c:1325:22: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.ndo_select_queue = rtw_select_queue,
^~~~~~~~~~~~~~~~
/home/ekta/Downloads/rtl8821ce/os_dep/linux/os_intfs.c:1325:22: note: (near initialization for ‘rtw_netdev_ops.ndo_select_queue’)
cc1: some warnings being treated as errors
scripts/Makefile.build:332: recipe for target '/home/ekta/Downloads/rtl8821ce/os_dep/linux/os_intfs.o' failed
make[2]: *** [/home/ekta/Downloads/rtl8821ce/os_dep/linux/os_intfs.o] Error 1
Makefile:1551: recipe for target '_module_/home/ekta/Downloads/rtl8821ce' failed
make[1]: *** [_module_/home/ekta/Downloads/rtl8821ce] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-43-generic'
Makefile:1902: recipe for target 'modules' failed
make: *** [modules] Error 2




########## wireless info START ##########

Report from: 03 Jan 2019 00:36 IST +0530

Booted last: 03 Jan 2019 00:00 IST +0530

Script from: 22 Oct 2018 03:34 UTC +0000

##### release ###########################

Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic

##### kernel ############################

Linux 4.15.0-43-generic #46-Ubuntu SMP Thu Dec 6 14:45:28 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Parameters: ro, quiet, splash, vt.handoff=1

##### desktop ###########################

Ubuntu

##### lspci #############################

01:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter [10ec:c821]
Subsystem: Lenovo RTL8821CE 802.11ac PCIe Wireless Network Adapter [17aa:c024]

02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 10)
Subsystem: Lenovo RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [17aa:38a8]
Kernel driver in use: r8169

##### lsusb #############################

Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 0bda:c024 Realtek Semiconductor Corp.
Bus 003 Device 002: ID 174f:116a Syntek
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 413c:301b Dell Computer Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

##### PCMCIA card info ##################

##### rfkill ############################

0: ideapad_wlan: Wireless LAN
Soft blocked: no
Hard blocked: no
1: ideapad_bluetooth: Bluetooth
Soft blocked: yes
Hard blocked: no
2: hci0: Bluetooth
Soft blocked: yes
Hard blocked: no

##### secure boot #######################

SecureBoot disabled

##### lsmod #############################

ideapad_laptop 32768 0
wmi_bmof 16384 0
sparse_keymap 16384 1 ideapad_laptop
wmi 24576 2 wmi_bmof,ideapad_laptop
video 45056 1 ideapad_laptop

##### interfaces ########################

[/etc/network/interfaces]
auto lo
iface lo inet loopback

##### ifconfig ##########################

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback <MAC address> brd <MAC address>
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether <MAC 'enp2s0' [IF1]> brd <MAC address>
inet 10.245.156.51/16 brd 10.245.255.255 scope global dynamic noprefixroute enp2s0
valid_lft 78505sec preferred_lft 78505sec
inet6 2406:7400:57::2:ad50/128 scope global dynamic noprefixroute
valid_lft 78507sec preferred_lft 78507sec
inet6 fe80::bb7:4582:7aee:ac3a/64 scope link noprefixroute
valid_lft forever preferred_lft forever

##### iwconfig ##########################

lo no wireless extensions.

enp2s0 no wireless extensions.

##### route #############################

default via 10.245.0.1 dev enp2s0 proto dhcp metric 100
10.245.0.0/16 dev enp2s0 proto kernel scope link src 10.245.156.51 metric 100
169.254.0.0/16 dev enp2s0 scope link metric 1000

##### resolv.conf #######################

[777 root '/etc/resolv.conf' -> '../run/systemd/resolve/stub-resolv.conf']

nameserver 127.0.0.53

##### network managers ##################

Installed:

NetworkManager

Running:

root 752 1 0 00:25 ? 00:00:00 /usr/sbin/NetworkManager --no-daemon

##### NetworkManager info ###############

GENERAL.DEVICE: enp2s0
GENERAL.TYPE: ethernet
GENERAL.NM-TYPE: NMDeviceEthernet
GENERAL.VENDOR: Realtek Semiconductor Co., Ltd.
GENERAL.PRODUCT: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
GENERAL.DRIVER: r8169
GENERAL.DRIVER-VERSION: 2.3LK-NAPI
GENERAL.FIRMWARE-VERSION: --
GENERAL.HWADDR: <MAC 'enp2s0' [IF1]>
GENERAL.MTU: 1500
GENERAL.STATE: 100 (connected)
GENERAL.REASON: 0 (No reason given)
GENERAL.UDI: /sys/devices/pci0000:00/0000:00:01.3/0000:02:00.0/net/enp2s0
GENERAL.IP-IFACE: enp2s0
GENERAL.IS-SOFTWARE: no
GENERAL.NM-MANAGED: yes
GENERAL.AUTOCONNECT: yes
GENERAL.FIRMWARE-MISSING: no
GENERAL.NM-PLUGIN-MISSING: no
GENERAL.PHYS-PORT-ID: --
GENERAL.CONNECTION: Wired connection 1
GENERAL.CON-UUID: 77921851-d262-378c-bb7d-c8fdee3042f9
GENERAL.CON-PATH: /org/freedesktop/NetworkManager/ActiveConnection/1
GENERAL.METERED: no (guessed)
CAPABILITIES.CARRIER-DETECT: yes
CAPABILITIES.SPEED: 100 Mb/s
CAPABILITIES.IS-SOFTWARE: no
CAPABILITIES.SRIOV: no
WIRED-PROPERTIES.CARRIER: on
IP4.ADDRESS[1]: 10.245.156.51/16
IP4.GATEWAY: 10.245.0.1
IP4.ROUTE[1]: dst = 0.0.0.0/0, nh = 10.245.0.1, mt = 100
IP4.ROUTE[2]: dst = 10.245.0.0/16, nh = 0.0.0.0, mt = 100
IP4.ROUTE[3]: dst = 169.254.0.0/16, nh = 0.0.0.0, mt = 1000
IP4.DNS[1]: 202.83.21.43
IP4.DNS[2]: 202.83.21.25
DHCP4.OPTION[1]: network_number = 10.245.0.0
DHCP4.OPTION[2]: domain_name_servers = 202.83.21.43 202.83.21.25
DHCP4.OPTION[3]: requested_domain_search = 1
DHCP4.OPTION[4]: requested_time_offset = 1
DHCP4.OPTION[5]: requested_domain_name = 1
DHCP4.OPTION[6]: requested_rfc3442_classless_static_routes = 1
DHCP4.OPTION[7]: requested_broadcast_address = 1
DHCP4.OPTION[8]: requested_netbios_scope = 1
DHCP4.OPTION[9]: requested_wpad = 1
DHCP4.OPTION[10]: next_server = 0.0.0.0
DHCP4.OPTION[11]: broadcast_address = 10.245.255.255
DHCP4.OPTION[12]: requested_interface_mtu = 1
DHCP4.OPTION[13]: requested_subnet_mask = 1
DHCP4.OPTION[14]: dhcp_lease_time = 79200
DHCP4.OPTION[15]: routers = 10.245.0.1
DHCP4.OPTION[16]: ip_address = 10.245.156.51
DHCP4.OPTION[17]: requested_domain_name_servers = 1
DHCP4.OPTION[18]: requested_static_routes = 1
DHCP4.OPTION[19]: dhcp_renewal_time = 39600
DHCP4.OPTION[20]: subnet_mask = 255.255.0.0
DHCP4.OPTION[21]: expiry = 1546534510
DHCP4.OPTION[22]: requested_ntp_servers = 1
DHCP4.OPTION[23]: requested_netbios_name_servers = 1
DHCP4.OPTION[24]: requested_ms_classless_static_routes = 1
DHCP4.OPTION[25]: requested_routers = 1
DHCP4.OPTION[26]: dhcp_message_type = 5
DHCP4.OPTION[27]: dhcp_rebinding_time = 69300
DHCP4.OPTION[28]: requested_host_name = 1
DHCP4.OPTION[29]: dhcp_server_identifier = 10.245.0.1
IP6.ADDRESS[1]: 2406:7400:57::2:ad50/128
IP6.ADDRESS[2]: fe80::bb7:4582:7aee:ac3a/64
IP6.GATEWAY: fe80::865b:12ff:fe4a:a1f2
IP6.ROUTE[1]: dst = ::/0, nh = fe80::865b:12ff:fe4a:a1f2, mt = 100
IP6.ROUTE[2]: dst = ff00::/8, nh = ::, mt = 256, table=255
IP6.ROUTE[3]: dst = fe80::/64, nh = ::, mt = 256
IP6.ROUTE[4]: dst = fe80::/64, nh = ::, mt = 100
IP6.ROUTE[5]: dst = 2406:7400:57::2:ad50/128, nh = ::, mt = 100
IP6.DNS[1]: 2001:4860:4860::8888
IP6.DNS[2]: 2001:4860:4860::8844
DHCP6.OPTION[1]: dhcp6_client_id = 0:4:3:96:5c:4d:d8:cf:a:6b:db:f4:47:f3:15:f:cb:70
DHCP6.OPTION[2]: requested_dhcp6_name_servers = 1
DHCP6.OPTION[3]: dhcp6_name_servers = 2001:4860:4860::8888 2001:4860:4860::8844
DHCP6.OPTION[4]: rebind = 63360
DHCP6.OPTION[5]: max_life = 79200
DHCP6.OPTION[6]: preferred_life = 79200
DHCP6.OPTION[7]: requested_dhcp6_domain_search = 1
DHCP6.OPTION[8]: requested_dhcp6_client_id = 1
DHCP6.OPTION[9]: life_starts = 1546445268
DHCP6.OPTION[10]: dhcp6_status_code = success Success
DHCP6.OPTION[11]: ip6_address = 2406:7400:57::2:ad50
DHCP6.OPTION[12]: ip6_prefixlen = 64
DHCP6.OPTION[13]: renew = 39600
DHCP6.OPTION[14]: dhcp6_server_id = 0:1:0:6:af:e2:4d:11:84:5b:12:4a:a1:f2
DHCP6.OPTION[15]: starts = 1546445268
DHCP6.OPTION[16]: iaid = 45:b0:03:83
CONNECTIONS.AVAILABLE-CONNECTION-PATHS: /org/freedesktop/NetworkManager/Settings/{1}
CONNECTIONS.AVAILABLE-CONNECTIONS[1]: 77921851-d262-378c-bb7d-c8fdee3042f9 | Wired connection 1

##### NetworkManager.state ##############

[main]
NetworkingEnabled=true
WirelessEnabled=true
WWANEnabled=true

##### NetworkManager config #############

[[/etc/NetworkManager/conf.d/default-wifi-powersave-on.conf]]
[connection]
wifi.powersave = 3

[[/etc/NetworkManager/NetworkManager.conf]]
[main]
plugins=ifupdown,keyfile
[ifupdown]
managed=false
[device]
wifi.scan-rand-mac-address=no

[[/usr/lib/NetworkManager/conf.d/10-dns-resolved.conf]]
[main]
dns=systemd-resolved

[[/usr/lib/NetworkManager/conf.d/10-globally-managed-devices.conf]]
[keyfile]
unmanaged-devices=*,except:type:wifi,except:type:wwan

[[/usr/lib/NetworkManager/conf.d/20-connectivity-ubuntu.conf]]
[connectivity]
uri=http://connectivity-check.ubuntu.com/

[[/usr/lib/NetworkManager/conf.d/no-mac-addr-change.conf]]
[device-mac-addr-change-wifi]
match-device=driver:rtl8723bs,driver:rtl8189es,driver:r8188eu,driver:8188eu,driver:eagle_sdio,driver:wl
wifi.scan-rand-mac-address=no
wifi.cloned-mac-address=preserve
ethernet.cloned-mac-address=preserve

##### NetworkManager profiles ###########

##### Netplan config ####################

[/etc/netplan/01-network-manager-all.yaml]
network:
version: 2
renderer: NetworkManager

##### iw reg get ########################

Region: Asia/Kolkata (based on set time zone)

global
country 00: DFS-UNSET
(2402 - 2472 @ 40), (6, 20), (N/A)
(2457 - 2482 @ 20), (6, 20), (N/A), AUTO-BW, PASSIVE-SCAN
(2474 - 2494 @ 20), (6, 20), (N/A), NO-OFDM, PASSIVE-SCAN
(5170 - 5250 @ 80), (6, 20), (N/A), AUTO-BW, PASSIVE-SCAN
(5250 - 5330 @ 80), (6, 20), (0 ms), DFS, AUTO-BW, PASSIVE-SCAN
(5490 - 5730 @ 160), (6, 20), (0 ms), DFS, PASSIVE-SCAN
(5735 - 5835 @ 80), (6, 20), (N/A), PASSIVE-SCAN
(57240 - 63720 @ 2160), (N/A, 0), (N/A)

##### iwlist channels ###################

lo no frequency information.

enp2s0 no frequency information.

##### iwlist scan #######################

lo Interface doesn't support scanning.

enp2s0 Interface doesn't support scanning.

##### module infos ######################

##### module parameters #################

##### /etc/modules ######################

##### modprobe options ##################

[/etc/modprobe.d/amd64-microcode-blacklist.conf]
blacklist microcode

[/etc/modprobe.d/blacklist-ath_pci.conf]
blacklist ath_pci

[/etc/modprobe.d/blacklist.conf]
blacklist evbug
blacklist usbmouse
blacklist usbkbd
blacklist eepro100
blacklist de4x5
blacklist eth1394
blacklist snd_intel8x0m
blacklist snd_aw2
blacklist i2c_i801
blacklist prism54
blacklist bcm43xx
blacklist garmin_gps
blacklist asus_acpi
blacklist snd_pcsp
blacklist pcspkr
blacklist amd76x_edac

[/etc/modprobe.d/blacklist-rare-network.conf]
alias net-pf-3 off
alias net-pf-6 off
alias net-pf-9 off
alias net-pf-11 off
alias net-pf-12 off
alias net-pf-19 off
alias net-pf-21 off
alias net-pf-36 off

[/etc/modprobe.d/intel-microcode-blacklist.conf]
blacklist microcode

[/etc/modprobe.d/iwlwifi.conf]
remove iwlwifi
(/sbin/lsmod | grep -o -e ^iwlmvm -e ^iwldvm -e ^iwlwifi | xargs /sbin/rmmod)
&& /sbin/modprobe -r mac80211

##### rc.local ##########################

grep: /etc/rc.local: No such file or directory

##### pm-utils ##########################

##### udev rules ########################

##### dmesg #############################

[ 29.099313] IPv6: ADDRCONF(NETDEV_UP): enp2s0: link is not ready
[ 29.238180] r8169 0000:02:00.0 enp2s0: link down (repeated 2 times)
[ 29.238277] IPv6: ADDRCONF(NETDEV_UP): enp2s0: link is not ready
[ 33.901614] r8169 0000:02:00.0 enp2s0: link up
[ 33.901629] IPv6: ADDRCONF(NETDEV_CHANGE): enp2s0: link becomes ready

########## wireless info END ############









share|improve this question















marked as duplicate by Kulfy, Jeremy31, chili555 wireless
Users with the  wireless badge can single-handedly close wireless questions as duplicates and reopen them as needed.

StackExchange.ready(function() {
if (StackExchange.options.isMobile) return;

$('.dupe-hammer-message-hover:not(.hover-bound)').each(function() {
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');

$hover.hover(
function() {
$hover.showInfoMessage('', {
messageElement: $msg.clone().show(),
transient: false,
position: { my: 'bottom left', at: 'top center', offsetTop: -7 },
dismissable: false,
relativeToBody: true
});
},
function() {
StackExchange.helpers.removeMessages();
}
);
});
});
Jan 2 at 23:13


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
















  • I tried running the above details in the link but got the error as stated above.

    – sciencevivekm
    Jan 2 at 19:33














0












0








0


1







This question already has an answer here:




  • How can I make my Realtek RTL8821CE wireless hardware work?

    2 answers



  • Wi-Fi not working on Lenovo ThinkPad E570 (Realtek RTL8821CE)

    5 answers




Thanks. The following worked. You need to restart multiple times.
How can I make my Realtek RTL8821CE wireless hardware work?



I tried Wi-Fi not working on Lenovo ThinkPad E570 (Realtek RTL8821CE) but I got the following error



make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.15.0-43-generic/build M=/home/ekta/Downloads/rtl8821ce  modules
make[1]: Entering directory '/usr/src/linux-headers-4.15.0-43-generic'
CC [M] /home/ekta/Downloads/rtl8821ce/os_dep/linux/os_intfs.o
/home/ekta/Downloads/rtl8821ce/os_dep/linux/os_intfs.c:1325:22: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.ndo_select_queue = rtw_select_queue,
^~~~~~~~~~~~~~~~
/home/ekta/Downloads/rtl8821ce/os_dep/linux/os_intfs.c:1325:22: note: (near initialization for ‘rtw_netdev_ops.ndo_select_queue’)
cc1: some warnings being treated as errors
scripts/Makefile.build:332: recipe for target '/home/ekta/Downloads/rtl8821ce/os_dep/linux/os_intfs.o' failed
make[2]: *** [/home/ekta/Downloads/rtl8821ce/os_dep/linux/os_intfs.o] Error 1
Makefile:1551: recipe for target '_module_/home/ekta/Downloads/rtl8821ce' failed
make[1]: *** [_module_/home/ekta/Downloads/rtl8821ce] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-43-generic'
Makefile:1902: recipe for target 'modules' failed
make: *** [modules] Error 2




########## wireless info START ##########

Report from: 03 Jan 2019 00:36 IST +0530

Booted last: 03 Jan 2019 00:00 IST +0530

Script from: 22 Oct 2018 03:34 UTC +0000

##### release ###########################

Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic

##### kernel ############################

Linux 4.15.0-43-generic #46-Ubuntu SMP Thu Dec 6 14:45:28 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Parameters: ro, quiet, splash, vt.handoff=1

##### desktop ###########################

Ubuntu

##### lspci #############################

01:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter [10ec:c821]
Subsystem: Lenovo RTL8821CE 802.11ac PCIe Wireless Network Adapter [17aa:c024]

02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 10)
Subsystem: Lenovo RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [17aa:38a8]
Kernel driver in use: r8169

##### lsusb #############################

Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 0bda:c024 Realtek Semiconductor Corp.
Bus 003 Device 002: ID 174f:116a Syntek
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 413c:301b Dell Computer Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

##### PCMCIA card info ##################

##### rfkill ############################

0: ideapad_wlan: Wireless LAN
Soft blocked: no
Hard blocked: no
1: ideapad_bluetooth: Bluetooth
Soft blocked: yes
Hard blocked: no
2: hci0: Bluetooth
Soft blocked: yes
Hard blocked: no

##### secure boot #######################

SecureBoot disabled

##### lsmod #############################

ideapad_laptop 32768 0
wmi_bmof 16384 0
sparse_keymap 16384 1 ideapad_laptop
wmi 24576 2 wmi_bmof,ideapad_laptop
video 45056 1 ideapad_laptop

##### interfaces ########################

[/etc/network/interfaces]
auto lo
iface lo inet loopback

##### ifconfig ##########################

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback <MAC address> brd <MAC address>
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether <MAC 'enp2s0' [IF1]> brd <MAC address>
inet 10.245.156.51/16 brd 10.245.255.255 scope global dynamic noprefixroute enp2s0
valid_lft 78505sec preferred_lft 78505sec
inet6 2406:7400:57::2:ad50/128 scope global dynamic noprefixroute
valid_lft 78507sec preferred_lft 78507sec
inet6 fe80::bb7:4582:7aee:ac3a/64 scope link noprefixroute
valid_lft forever preferred_lft forever

##### iwconfig ##########################

lo no wireless extensions.

enp2s0 no wireless extensions.

##### route #############################

default via 10.245.0.1 dev enp2s0 proto dhcp metric 100
10.245.0.0/16 dev enp2s0 proto kernel scope link src 10.245.156.51 metric 100
169.254.0.0/16 dev enp2s0 scope link metric 1000

##### resolv.conf #######################

[777 root '/etc/resolv.conf' -> '../run/systemd/resolve/stub-resolv.conf']

nameserver 127.0.0.53

##### network managers ##################

Installed:

NetworkManager

Running:

root 752 1 0 00:25 ? 00:00:00 /usr/sbin/NetworkManager --no-daemon

##### NetworkManager info ###############

GENERAL.DEVICE: enp2s0
GENERAL.TYPE: ethernet
GENERAL.NM-TYPE: NMDeviceEthernet
GENERAL.VENDOR: Realtek Semiconductor Co., Ltd.
GENERAL.PRODUCT: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
GENERAL.DRIVER: r8169
GENERAL.DRIVER-VERSION: 2.3LK-NAPI
GENERAL.FIRMWARE-VERSION: --
GENERAL.HWADDR: <MAC 'enp2s0' [IF1]>
GENERAL.MTU: 1500
GENERAL.STATE: 100 (connected)
GENERAL.REASON: 0 (No reason given)
GENERAL.UDI: /sys/devices/pci0000:00/0000:00:01.3/0000:02:00.0/net/enp2s0
GENERAL.IP-IFACE: enp2s0
GENERAL.IS-SOFTWARE: no
GENERAL.NM-MANAGED: yes
GENERAL.AUTOCONNECT: yes
GENERAL.FIRMWARE-MISSING: no
GENERAL.NM-PLUGIN-MISSING: no
GENERAL.PHYS-PORT-ID: --
GENERAL.CONNECTION: Wired connection 1
GENERAL.CON-UUID: 77921851-d262-378c-bb7d-c8fdee3042f9
GENERAL.CON-PATH: /org/freedesktop/NetworkManager/ActiveConnection/1
GENERAL.METERED: no (guessed)
CAPABILITIES.CARRIER-DETECT: yes
CAPABILITIES.SPEED: 100 Mb/s
CAPABILITIES.IS-SOFTWARE: no
CAPABILITIES.SRIOV: no
WIRED-PROPERTIES.CARRIER: on
IP4.ADDRESS[1]: 10.245.156.51/16
IP4.GATEWAY: 10.245.0.1
IP4.ROUTE[1]: dst = 0.0.0.0/0, nh = 10.245.0.1, mt = 100
IP4.ROUTE[2]: dst = 10.245.0.0/16, nh = 0.0.0.0, mt = 100
IP4.ROUTE[3]: dst = 169.254.0.0/16, nh = 0.0.0.0, mt = 1000
IP4.DNS[1]: 202.83.21.43
IP4.DNS[2]: 202.83.21.25
DHCP4.OPTION[1]: network_number = 10.245.0.0
DHCP4.OPTION[2]: domain_name_servers = 202.83.21.43 202.83.21.25
DHCP4.OPTION[3]: requested_domain_search = 1
DHCP4.OPTION[4]: requested_time_offset = 1
DHCP4.OPTION[5]: requested_domain_name = 1
DHCP4.OPTION[6]: requested_rfc3442_classless_static_routes = 1
DHCP4.OPTION[7]: requested_broadcast_address = 1
DHCP4.OPTION[8]: requested_netbios_scope = 1
DHCP4.OPTION[9]: requested_wpad = 1
DHCP4.OPTION[10]: next_server = 0.0.0.0
DHCP4.OPTION[11]: broadcast_address = 10.245.255.255
DHCP4.OPTION[12]: requested_interface_mtu = 1
DHCP4.OPTION[13]: requested_subnet_mask = 1
DHCP4.OPTION[14]: dhcp_lease_time = 79200
DHCP4.OPTION[15]: routers = 10.245.0.1
DHCP4.OPTION[16]: ip_address = 10.245.156.51
DHCP4.OPTION[17]: requested_domain_name_servers = 1
DHCP4.OPTION[18]: requested_static_routes = 1
DHCP4.OPTION[19]: dhcp_renewal_time = 39600
DHCP4.OPTION[20]: subnet_mask = 255.255.0.0
DHCP4.OPTION[21]: expiry = 1546534510
DHCP4.OPTION[22]: requested_ntp_servers = 1
DHCP4.OPTION[23]: requested_netbios_name_servers = 1
DHCP4.OPTION[24]: requested_ms_classless_static_routes = 1
DHCP4.OPTION[25]: requested_routers = 1
DHCP4.OPTION[26]: dhcp_message_type = 5
DHCP4.OPTION[27]: dhcp_rebinding_time = 69300
DHCP4.OPTION[28]: requested_host_name = 1
DHCP4.OPTION[29]: dhcp_server_identifier = 10.245.0.1
IP6.ADDRESS[1]: 2406:7400:57::2:ad50/128
IP6.ADDRESS[2]: fe80::bb7:4582:7aee:ac3a/64
IP6.GATEWAY: fe80::865b:12ff:fe4a:a1f2
IP6.ROUTE[1]: dst = ::/0, nh = fe80::865b:12ff:fe4a:a1f2, mt = 100
IP6.ROUTE[2]: dst = ff00::/8, nh = ::, mt = 256, table=255
IP6.ROUTE[3]: dst = fe80::/64, nh = ::, mt = 256
IP6.ROUTE[4]: dst = fe80::/64, nh = ::, mt = 100
IP6.ROUTE[5]: dst = 2406:7400:57::2:ad50/128, nh = ::, mt = 100
IP6.DNS[1]: 2001:4860:4860::8888
IP6.DNS[2]: 2001:4860:4860::8844
DHCP6.OPTION[1]: dhcp6_client_id = 0:4:3:96:5c:4d:d8:cf:a:6b:db:f4:47:f3:15:f:cb:70
DHCP6.OPTION[2]: requested_dhcp6_name_servers = 1
DHCP6.OPTION[3]: dhcp6_name_servers = 2001:4860:4860::8888 2001:4860:4860::8844
DHCP6.OPTION[4]: rebind = 63360
DHCP6.OPTION[5]: max_life = 79200
DHCP6.OPTION[6]: preferred_life = 79200
DHCP6.OPTION[7]: requested_dhcp6_domain_search = 1
DHCP6.OPTION[8]: requested_dhcp6_client_id = 1
DHCP6.OPTION[9]: life_starts = 1546445268
DHCP6.OPTION[10]: dhcp6_status_code = success Success
DHCP6.OPTION[11]: ip6_address = 2406:7400:57::2:ad50
DHCP6.OPTION[12]: ip6_prefixlen = 64
DHCP6.OPTION[13]: renew = 39600
DHCP6.OPTION[14]: dhcp6_server_id = 0:1:0:6:af:e2:4d:11:84:5b:12:4a:a1:f2
DHCP6.OPTION[15]: starts = 1546445268
DHCP6.OPTION[16]: iaid = 45:b0:03:83
CONNECTIONS.AVAILABLE-CONNECTION-PATHS: /org/freedesktop/NetworkManager/Settings/{1}
CONNECTIONS.AVAILABLE-CONNECTIONS[1]: 77921851-d262-378c-bb7d-c8fdee3042f9 | Wired connection 1

##### NetworkManager.state ##############

[main]
NetworkingEnabled=true
WirelessEnabled=true
WWANEnabled=true

##### NetworkManager config #############

[[/etc/NetworkManager/conf.d/default-wifi-powersave-on.conf]]
[connection]
wifi.powersave = 3

[[/etc/NetworkManager/NetworkManager.conf]]
[main]
plugins=ifupdown,keyfile
[ifupdown]
managed=false
[device]
wifi.scan-rand-mac-address=no

[[/usr/lib/NetworkManager/conf.d/10-dns-resolved.conf]]
[main]
dns=systemd-resolved

[[/usr/lib/NetworkManager/conf.d/10-globally-managed-devices.conf]]
[keyfile]
unmanaged-devices=*,except:type:wifi,except:type:wwan

[[/usr/lib/NetworkManager/conf.d/20-connectivity-ubuntu.conf]]
[connectivity]
uri=http://connectivity-check.ubuntu.com/

[[/usr/lib/NetworkManager/conf.d/no-mac-addr-change.conf]]
[device-mac-addr-change-wifi]
match-device=driver:rtl8723bs,driver:rtl8189es,driver:r8188eu,driver:8188eu,driver:eagle_sdio,driver:wl
wifi.scan-rand-mac-address=no
wifi.cloned-mac-address=preserve
ethernet.cloned-mac-address=preserve

##### NetworkManager profiles ###########

##### Netplan config ####################

[/etc/netplan/01-network-manager-all.yaml]
network:
version: 2
renderer: NetworkManager

##### iw reg get ########################

Region: Asia/Kolkata (based on set time zone)

global
country 00: DFS-UNSET
(2402 - 2472 @ 40), (6, 20), (N/A)
(2457 - 2482 @ 20), (6, 20), (N/A), AUTO-BW, PASSIVE-SCAN
(2474 - 2494 @ 20), (6, 20), (N/A), NO-OFDM, PASSIVE-SCAN
(5170 - 5250 @ 80), (6, 20), (N/A), AUTO-BW, PASSIVE-SCAN
(5250 - 5330 @ 80), (6, 20), (0 ms), DFS, AUTO-BW, PASSIVE-SCAN
(5490 - 5730 @ 160), (6, 20), (0 ms), DFS, PASSIVE-SCAN
(5735 - 5835 @ 80), (6, 20), (N/A), PASSIVE-SCAN
(57240 - 63720 @ 2160), (N/A, 0), (N/A)

##### iwlist channels ###################

lo no frequency information.

enp2s0 no frequency information.

##### iwlist scan #######################

lo Interface doesn't support scanning.

enp2s0 Interface doesn't support scanning.

##### module infos ######################

##### module parameters #################

##### /etc/modules ######################

##### modprobe options ##################

[/etc/modprobe.d/amd64-microcode-blacklist.conf]
blacklist microcode

[/etc/modprobe.d/blacklist-ath_pci.conf]
blacklist ath_pci

[/etc/modprobe.d/blacklist.conf]
blacklist evbug
blacklist usbmouse
blacklist usbkbd
blacklist eepro100
blacklist de4x5
blacklist eth1394
blacklist snd_intel8x0m
blacklist snd_aw2
blacklist i2c_i801
blacklist prism54
blacklist bcm43xx
blacklist garmin_gps
blacklist asus_acpi
blacklist snd_pcsp
blacklist pcspkr
blacklist amd76x_edac

[/etc/modprobe.d/blacklist-rare-network.conf]
alias net-pf-3 off
alias net-pf-6 off
alias net-pf-9 off
alias net-pf-11 off
alias net-pf-12 off
alias net-pf-19 off
alias net-pf-21 off
alias net-pf-36 off

[/etc/modprobe.d/intel-microcode-blacklist.conf]
blacklist microcode

[/etc/modprobe.d/iwlwifi.conf]
remove iwlwifi
(/sbin/lsmod | grep -o -e ^iwlmvm -e ^iwldvm -e ^iwlwifi | xargs /sbin/rmmod)
&& /sbin/modprobe -r mac80211

##### rc.local ##########################

grep: /etc/rc.local: No such file or directory

##### pm-utils ##########################

##### udev rules ########################

##### dmesg #############################

[ 29.099313] IPv6: ADDRCONF(NETDEV_UP): enp2s0: link is not ready
[ 29.238180] r8169 0000:02:00.0 enp2s0: link down (repeated 2 times)
[ 29.238277] IPv6: ADDRCONF(NETDEV_UP): enp2s0: link is not ready
[ 33.901614] r8169 0000:02:00.0 enp2s0: link up
[ 33.901629] IPv6: ADDRCONF(NETDEV_CHANGE): enp2s0: link becomes ready

########## wireless info END ############









share|improve this question

















This question already has an answer here:




  • How can I make my Realtek RTL8821CE wireless hardware work?

    2 answers



  • Wi-Fi not working on Lenovo ThinkPad E570 (Realtek RTL8821CE)

    5 answers




Thanks. The following worked. You need to restart multiple times.
How can I make my Realtek RTL8821CE wireless hardware work?



I tried Wi-Fi not working on Lenovo ThinkPad E570 (Realtek RTL8821CE) but I got the following error



make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.15.0-43-generic/build M=/home/ekta/Downloads/rtl8821ce  modules
make[1]: Entering directory '/usr/src/linux-headers-4.15.0-43-generic'
CC [M] /home/ekta/Downloads/rtl8821ce/os_dep/linux/os_intfs.o
/home/ekta/Downloads/rtl8821ce/os_dep/linux/os_intfs.c:1325:22: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.ndo_select_queue = rtw_select_queue,
^~~~~~~~~~~~~~~~
/home/ekta/Downloads/rtl8821ce/os_dep/linux/os_intfs.c:1325:22: note: (near initialization for ‘rtw_netdev_ops.ndo_select_queue’)
cc1: some warnings being treated as errors
scripts/Makefile.build:332: recipe for target '/home/ekta/Downloads/rtl8821ce/os_dep/linux/os_intfs.o' failed
make[2]: *** [/home/ekta/Downloads/rtl8821ce/os_dep/linux/os_intfs.o] Error 1
Makefile:1551: recipe for target '_module_/home/ekta/Downloads/rtl8821ce' failed
make[1]: *** [_module_/home/ekta/Downloads/rtl8821ce] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-43-generic'
Makefile:1902: recipe for target 'modules' failed
make: *** [modules] Error 2




########## wireless info START ##########

Report from: 03 Jan 2019 00:36 IST +0530

Booted last: 03 Jan 2019 00:00 IST +0530

Script from: 22 Oct 2018 03:34 UTC +0000

##### release ###########################

Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic

##### kernel ############################

Linux 4.15.0-43-generic #46-Ubuntu SMP Thu Dec 6 14:45:28 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Parameters: ro, quiet, splash, vt.handoff=1

##### desktop ###########################

Ubuntu

##### lspci #############################

01:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter [10ec:c821]
Subsystem: Lenovo RTL8821CE 802.11ac PCIe Wireless Network Adapter [17aa:c024]

02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 10)
Subsystem: Lenovo RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [17aa:38a8]
Kernel driver in use: r8169

##### lsusb #############################

Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 0bda:c024 Realtek Semiconductor Corp.
Bus 003 Device 002: ID 174f:116a Syntek
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 413c:301b Dell Computer Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

##### PCMCIA card info ##################

##### rfkill ############################

0: ideapad_wlan: Wireless LAN
Soft blocked: no
Hard blocked: no
1: ideapad_bluetooth: Bluetooth
Soft blocked: yes
Hard blocked: no
2: hci0: Bluetooth
Soft blocked: yes
Hard blocked: no

##### secure boot #######################

SecureBoot disabled

##### lsmod #############################

ideapad_laptop 32768 0
wmi_bmof 16384 0
sparse_keymap 16384 1 ideapad_laptop
wmi 24576 2 wmi_bmof,ideapad_laptop
video 45056 1 ideapad_laptop

##### interfaces ########################

[/etc/network/interfaces]
auto lo
iface lo inet loopback

##### ifconfig ##########################

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback <MAC address> brd <MAC address>
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether <MAC 'enp2s0' [IF1]> brd <MAC address>
inet 10.245.156.51/16 brd 10.245.255.255 scope global dynamic noprefixroute enp2s0
valid_lft 78505sec preferred_lft 78505sec
inet6 2406:7400:57::2:ad50/128 scope global dynamic noprefixroute
valid_lft 78507sec preferred_lft 78507sec
inet6 fe80::bb7:4582:7aee:ac3a/64 scope link noprefixroute
valid_lft forever preferred_lft forever

##### iwconfig ##########################

lo no wireless extensions.

enp2s0 no wireless extensions.

##### route #############################

default via 10.245.0.1 dev enp2s0 proto dhcp metric 100
10.245.0.0/16 dev enp2s0 proto kernel scope link src 10.245.156.51 metric 100
169.254.0.0/16 dev enp2s0 scope link metric 1000

##### resolv.conf #######################

[777 root '/etc/resolv.conf' -> '../run/systemd/resolve/stub-resolv.conf']

nameserver 127.0.0.53

##### network managers ##################

Installed:

NetworkManager

Running:

root 752 1 0 00:25 ? 00:00:00 /usr/sbin/NetworkManager --no-daemon

##### NetworkManager info ###############

GENERAL.DEVICE: enp2s0
GENERAL.TYPE: ethernet
GENERAL.NM-TYPE: NMDeviceEthernet
GENERAL.VENDOR: Realtek Semiconductor Co., Ltd.
GENERAL.PRODUCT: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
GENERAL.DRIVER: r8169
GENERAL.DRIVER-VERSION: 2.3LK-NAPI
GENERAL.FIRMWARE-VERSION: --
GENERAL.HWADDR: <MAC 'enp2s0' [IF1]>
GENERAL.MTU: 1500
GENERAL.STATE: 100 (connected)
GENERAL.REASON: 0 (No reason given)
GENERAL.UDI: /sys/devices/pci0000:00/0000:00:01.3/0000:02:00.0/net/enp2s0
GENERAL.IP-IFACE: enp2s0
GENERAL.IS-SOFTWARE: no
GENERAL.NM-MANAGED: yes
GENERAL.AUTOCONNECT: yes
GENERAL.FIRMWARE-MISSING: no
GENERAL.NM-PLUGIN-MISSING: no
GENERAL.PHYS-PORT-ID: --
GENERAL.CONNECTION: Wired connection 1
GENERAL.CON-UUID: 77921851-d262-378c-bb7d-c8fdee3042f9
GENERAL.CON-PATH: /org/freedesktop/NetworkManager/ActiveConnection/1
GENERAL.METERED: no (guessed)
CAPABILITIES.CARRIER-DETECT: yes
CAPABILITIES.SPEED: 100 Mb/s
CAPABILITIES.IS-SOFTWARE: no
CAPABILITIES.SRIOV: no
WIRED-PROPERTIES.CARRIER: on
IP4.ADDRESS[1]: 10.245.156.51/16
IP4.GATEWAY: 10.245.0.1
IP4.ROUTE[1]: dst = 0.0.0.0/0, nh = 10.245.0.1, mt = 100
IP4.ROUTE[2]: dst = 10.245.0.0/16, nh = 0.0.0.0, mt = 100
IP4.ROUTE[3]: dst = 169.254.0.0/16, nh = 0.0.0.0, mt = 1000
IP4.DNS[1]: 202.83.21.43
IP4.DNS[2]: 202.83.21.25
DHCP4.OPTION[1]: network_number = 10.245.0.0
DHCP4.OPTION[2]: domain_name_servers = 202.83.21.43 202.83.21.25
DHCP4.OPTION[3]: requested_domain_search = 1
DHCP4.OPTION[4]: requested_time_offset = 1
DHCP4.OPTION[5]: requested_domain_name = 1
DHCP4.OPTION[6]: requested_rfc3442_classless_static_routes = 1
DHCP4.OPTION[7]: requested_broadcast_address = 1
DHCP4.OPTION[8]: requested_netbios_scope = 1
DHCP4.OPTION[9]: requested_wpad = 1
DHCP4.OPTION[10]: next_server = 0.0.0.0
DHCP4.OPTION[11]: broadcast_address = 10.245.255.255
DHCP4.OPTION[12]: requested_interface_mtu = 1
DHCP4.OPTION[13]: requested_subnet_mask = 1
DHCP4.OPTION[14]: dhcp_lease_time = 79200
DHCP4.OPTION[15]: routers = 10.245.0.1
DHCP4.OPTION[16]: ip_address = 10.245.156.51
DHCP4.OPTION[17]: requested_domain_name_servers = 1
DHCP4.OPTION[18]: requested_static_routes = 1
DHCP4.OPTION[19]: dhcp_renewal_time = 39600
DHCP4.OPTION[20]: subnet_mask = 255.255.0.0
DHCP4.OPTION[21]: expiry = 1546534510
DHCP4.OPTION[22]: requested_ntp_servers = 1
DHCP4.OPTION[23]: requested_netbios_name_servers = 1
DHCP4.OPTION[24]: requested_ms_classless_static_routes = 1
DHCP4.OPTION[25]: requested_routers = 1
DHCP4.OPTION[26]: dhcp_message_type = 5
DHCP4.OPTION[27]: dhcp_rebinding_time = 69300
DHCP4.OPTION[28]: requested_host_name = 1
DHCP4.OPTION[29]: dhcp_server_identifier = 10.245.0.1
IP6.ADDRESS[1]: 2406:7400:57::2:ad50/128
IP6.ADDRESS[2]: fe80::bb7:4582:7aee:ac3a/64
IP6.GATEWAY: fe80::865b:12ff:fe4a:a1f2
IP6.ROUTE[1]: dst = ::/0, nh = fe80::865b:12ff:fe4a:a1f2, mt = 100
IP6.ROUTE[2]: dst = ff00::/8, nh = ::, mt = 256, table=255
IP6.ROUTE[3]: dst = fe80::/64, nh = ::, mt = 256
IP6.ROUTE[4]: dst = fe80::/64, nh = ::, mt = 100
IP6.ROUTE[5]: dst = 2406:7400:57::2:ad50/128, nh = ::, mt = 100
IP6.DNS[1]: 2001:4860:4860::8888
IP6.DNS[2]: 2001:4860:4860::8844
DHCP6.OPTION[1]: dhcp6_client_id = 0:4:3:96:5c:4d:d8:cf:a:6b:db:f4:47:f3:15:f:cb:70
DHCP6.OPTION[2]: requested_dhcp6_name_servers = 1
DHCP6.OPTION[3]: dhcp6_name_servers = 2001:4860:4860::8888 2001:4860:4860::8844
DHCP6.OPTION[4]: rebind = 63360
DHCP6.OPTION[5]: max_life = 79200
DHCP6.OPTION[6]: preferred_life = 79200
DHCP6.OPTION[7]: requested_dhcp6_domain_search = 1
DHCP6.OPTION[8]: requested_dhcp6_client_id = 1
DHCP6.OPTION[9]: life_starts = 1546445268
DHCP6.OPTION[10]: dhcp6_status_code = success Success
DHCP6.OPTION[11]: ip6_address = 2406:7400:57::2:ad50
DHCP6.OPTION[12]: ip6_prefixlen = 64
DHCP6.OPTION[13]: renew = 39600
DHCP6.OPTION[14]: dhcp6_server_id = 0:1:0:6:af:e2:4d:11:84:5b:12:4a:a1:f2
DHCP6.OPTION[15]: starts = 1546445268
DHCP6.OPTION[16]: iaid = 45:b0:03:83
CONNECTIONS.AVAILABLE-CONNECTION-PATHS: /org/freedesktop/NetworkManager/Settings/{1}
CONNECTIONS.AVAILABLE-CONNECTIONS[1]: 77921851-d262-378c-bb7d-c8fdee3042f9 | Wired connection 1

##### NetworkManager.state ##############

[main]
NetworkingEnabled=true
WirelessEnabled=true
WWANEnabled=true

##### NetworkManager config #############

[[/etc/NetworkManager/conf.d/default-wifi-powersave-on.conf]]
[connection]
wifi.powersave = 3

[[/etc/NetworkManager/NetworkManager.conf]]
[main]
plugins=ifupdown,keyfile
[ifupdown]
managed=false
[device]
wifi.scan-rand-mac-address=no

[[/usr/lib/NetworkManager/conf.d/10-dns-resolved.conf]]
[main]
dns=systemd-resolved

[[/usr/lib/NetworkManager/conf.d/10-globally-managed-devices.conf]]
[keyfile]
unmanaged-devices=*,except:type:wifi,except:type:wwan

[[/usr/lib/NetworkManager/conf.d/20-connectivity-ubuntu.conf]]
[connectivity]
uri=http://connectivity-check.ubuntu.com/

[[/usr/lib/NetworkManager/conf.d/no-mac-addr-change.conf]]
[device-mac-addr-change-wifi]
match-device=driver:rtl8723bs,driver:rtl8189es,driver:r8188eu,driver:8188eu,driver:eagle_sdio,driver:wl
wifi.scan-rand-mac-address=no
wifi.cloned-mac-address=preserve
ethernet.cloned-mac-address=preserve

##### NetworkManager profiles ###########

##### Netplan config ####################

[/etc/netplan/01-network-manager-all.yaml]
network:
version: 2
renderer: NetworkManager

##### iw reg get ########################

Region: Asia/Kolkata (based on set time zone)

global
country 00: DFS-UNSET
(2402 - 2472 @ 40), (6, 20), (N/A)
(2457 - 2482 @ 20), (6, 20), (N/A), AUTO-BW, PASSIVE-SCAN
(2474 - 2494 @ 20), (6, 20), (N/A), NO-OFDM, PASSIVE-SCAN
(5170 - 5250 @ 80), (6, 20), (N/A), AUTO-BW, PASSIVE-SCAN
(5250 - 5330 @ 80), (6, 20), (0 ms), DFS, AUTO-BW, PASSIVE-SCAN
(5490 - 5730 @ 160), (6, 20), (0 ms), DFS, PASSIVE-SCAN
(5735 - 5835 @ 80), (6, 20), (N/A), PASSIVE-SCAN
(57240 - 63720 @ 2160), (N/A, 0), (N/A)

##### iwlist channels ###################

lo no frequency information.

enp2s0 no frequency information.

##### iwlist scan #######################

lo Interface doesn't support scanning.

enp2s0 Interface doesn't support scanning.

##### module infos ######################

##### module parameters #################

##### /etc/modules ######################

##### modprobe options ##################

[/etc/modprobe.d/amd64-microcode-blacklist.conf]
blacklist microcode

[/etc/modprobe.d/blacklist-ath_pci.conf]
blacklist ath_pci

[/etc/modprobe.d/blacklist.conf]
blacklist evbug
blacklist usbmouse
blacklist usbkbd
blacklist eepro100
blacklist de4x5
blacklist eth1394
blacklist snd_intel8x0m
blacklist snd_aw2
blacklist i2c_i801
blacklist prism54
blacklist bcm43xx
blacklist garmin_gps
blacklist asus_acpi
blacklist snd_pcsp
blacklist pcspkr
blacklist amd76x_edac

[/etc/modprobe.d/blacklist-rare-network.conf]
alias net-pf-3 off
alias net-pf-6 off
alias net-pf-9 off
alias net-pf-11 off
alias net-pf-12 off
alias net-pf-19 off
alias net-pf-21 off
alias net-pf-36 off

[/etc/modprobe.d/intel-microcode-blacklist.conf]
blacklist microcode

[/etc/modprobe.d/iwlwifi.conf]
remove iwlwifi
(/sbin/lsmod | grep -o -e ^iwlmvm -e ^iwldvm -e ^iwlwifi | xargs /sbin/rmmod)
&& /sbin/modprobe -r mac80211

##### rc.local ##########################

grep: /etc/rc.local: No such file or directory

##### pm-utils ##########################

##### udev rules ########################

##### dmesg #############################

[ 29.099313] IPv6: ADDRCONF(NETDEV_UP): enp2s0: link is not ready
[ 29.238180] r8169 0000:02:00.0 enp2s0: link down (repeated 2 times)
[ 29.238277] IPv6: ADDRCONF(NETDEV_UP): enp2s0: link is not ready
[ 33.901614] r8169 0000:02:00.0 enp2s0: link up
[ 33.901629] IPv6: ADDRCONF(NETDEV_CHANGE): enp2s0: link becomes ready

########## wireless info END ############




This question already has an answer here:




  • How can I make my Realtek RTL8821CE wireless hardware work?

    2 answers



  • Wi-Fi not working on Lenovo ThinkPad E570 (Realtek RTL8821CE)

    5 answers








wireless 18.04 lenovo realtek-wireless






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 3 at 4:25







sciencevivekm

















asked Jan 2 at 19:18









sciencevivekmsciencevivekm

12




12




marked as duplicate by Kulfy, Jeremy31, chili555 wireless
Users with the  wireless badge can single-handedly close wireless questions as duplicates and reopen them as needed.

StackExchange.ready(function() {
if (StackExchange.options.isMobile) return;

$('.dupe-hammer-message-hover:not(.hover-bound)').each(function() {
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');

$hover.hover(
function() {
$hover.showInfoMessage('', {
messageElement: $msg.clone().show(),
transient: false,
position: { my: 'bottom left', at: 'top center', offsetTop: -7 },
dismissable: false,
relativeToBody: true
});
},
function() {
StackExchange.helpers.removeMessages();
}
);
});
});
Jan 2 at 23:13


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.






marked as duplicate by Kulfy, Jeremy31, chili555 wireless
Users with the  wireless badge can single-handedly close wireless questions as duplicates and reopen them as needed.

StackExchange.ready(function() {
if (StackExchange.options.isMobile) return;

$('.dupe-hammer-message-hover:not(.hover-bound)').each(function() {
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');

$hover.hover(
function() {
$hover.showInfoMessage('', {
messageElement: $msg.clone().show(),
transient: false,
position: { my: 'bottom left', at: 'top center', offsetTop: -7 },
dismissable: false,
relativeToBody: true
});
},
function() {
StackExchange.helpers.removeMessages();
}
);
});
});
Jan 2 at 23:13


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.















  • I tried running the above details in the link but got the error as stated above.

    – sciencevivekm
    Jan 2 at 19:33



















  • I tried running the above details in the link but got the error as stated above.

    – sciencevivekm
    Jan 2 at 19:33

















I tried running the above details in the link but got the error as stated above.

– sciencevivekm
Jan 2 at 19:33





I tried running the above details in the link but got the error as stated above.

– sciencevivekm
Jan 2 at 19:33










0






active

oldest

votes

















0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes

Popular posts from this blog

Quarter-circle Tiles

build a pushdown automaton that recognizes the reverse language of a given pushdown automaton?

Mont Emei