I think I have messed up my network driver and hence it has messed up OpenVPN and WireGuard installations.
My laptop gets disconnected pretty often from the Wifi, and it was driving me crazy. So I checked for a solution and somehow came up with this driver, I'm still not sure whether my network card really fits this model or not.
https://github.com/tomaspinho/rtl8821ce
Anyway after installing this using the manual procedure, I cannot connect to Wireguard or OpenVPN anymore. I have tried uninstalling them both, and uninstalling the driver, but to no avail. I think there is a certain mismatch between the network adapter and openvpn? Maybe it's a bug in the kernel?
This is the output of uname -r
:
5.13.0-27-generic
My OS is Kubutn 20.04 LTS.
Is there anyway to revert network adapter and all the network components to the initial settings?
This is the output of lshw -class network
:
*-network
description: Ethernet interface
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:01:00.0
logical name: eno1
version: 15
serial: 50:81:40:fc:db:71
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8168 driverversion=8.048.00-NAPI latency=0 link=no multicast=yes port=twisted pair
resources: irq:145 ioport:4000(size=256) memory:52104000-52104fff memory:52100000-52103fff
*-network
description: Wireless interface
product: RTL8821CE 802.11ac PCIe Wireless Network Adapter
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:02:00.0
logical name: wlo1
version: 00
serial: f8:89:d2:a8:b3:1d
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=rtl8821ce driverversion=5.13.0-27-generic ip=192.168.1.7 latency=0 multicast=yes wireless=IEEE 802.11bgn
resources: irq:159 ioport:3000(size=256) memory:52000000-5200ffff
*-network
description: Ethernet interface
physical id: 4
logical name: cali8c907f48644
serial: ee:ee:ee:ee:ee:ee
size: 10Gbit/s
capabilities: ethernet physical
configuration: autonegotiation=off broadcast=yes driver=veth driverversion=1.0 duplex=full link=yes multicast=yes port=twisted pair speed=10Gbit/s