Rtl88x2ce driver installed twice wlan0 and wlan1. I wanna remove one

Hello.

Device: Asus TUF A15.

VERSION_ID=“5.0”
VERSION=“5.0 (LTS)”
VERSION_CODENAME=bullseye
Linux 5.14.0-9parrot1-amd64

I previously had problems with my wifi. It used to stop working after every 3-4 mins and started to work again after reconnect to the wifi. This thing keeps repeating.
Then I installed a driver from github
Now it shows wlan0 and wlan1. And net keeps working.
But after every 5 mins it suddenly reaches 0kbps and then after 20 sec it reaches the normal speed. I've created network-restart.service file, and copied the scipt, but don't know how to activate it.

System:    Host: NobinPegasus Kernel: 5.14.0-9parrot1-amd64 x86_64 bits: 64 compiler: gcc v: 10.2.1
           parameters: BOOT_IMAGE=/@/boot/vmlinuz-5.14.0-9parrot1-amd64 root=UUID=85563e94-cfe5-45d2-9388-0e942f11a50f ro
           rootflags=subvol=@ quiet splash noautomount quiet splash
           Console: pty pts/3 wm: kwin_x11 DM: LightDM 1.26.0 Distro: Parrot OS 5.0 (LTS) base: Debian parrot
Machine:   Type: Laptop System: ASUSTeK product: ASUS TUF Gaming A15 FA506IU_TUF506IU v: 1.0 serial: L5NRCX026887212
           Mobo: ASUSTeK model: FA506IU v: 1.0 serial: L418NRCX00CEW9MB UEFI: American Megatrends v: FA506IU.316
           date: 03/12/2021
  Model: "Realtek RTL8822CE 802.11ac PCIe Wireless Network Adapter"
  Driver: "rtl88x2ce"
  Device File: wlan0
  Link detected: no
    Driver Status: rtw88_8822ce is not active
    Driver Activation Cmd: "modprobe rtw88_8822ce"
    Driver Status: rtl88x2ce is active
    Driver Activation Cmd: "modprobe rtl88x2ce"
    Driver Status: wl is active
    Driver Activation Cmd: "modprobe wl"
  Model: "Realtek RTL8822CE 802.11ac PCIe Wireless Network Adapter"
  Driver: "rtl88x2ce"
  Device File: wlan1
  Link detected: yes
  Model: "Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller"
  Driver: "r8168"
  Device File: eth0
  Link detected: no
    Driver Status: r8169 is not active
    Driver Activation Cmd: "modprobe r8169"
    Driver Status: r8168 is active
    Driver Activation Cmd: "modprobe r8168"
  Model: "IMC Networks Bluetooth Radio"
  Hotplug: USB
  Driver: "btusb"
  Speed: 12 Mbps
    Driver Status: btusb is active
    Driver Activation Cmd: "modprobe btusb"
head: cannot open '/var/log/pacman.log' for reading: No such file or directory
System install date 

The ping time clearly shows the problem:

└──╼ $ping google.com
PING google.com (216.58.200.142) 56(84) bytes of data.
64 bytes from maa05s10-in-f14.1e100.net (216.58.200.142): icmp_seq=1 ttl=113 time=46.6 ms
64 bytes from maa05s10-in-f14.1e100.net (216.58.200.142): icmp_seq=2 ttl=113 time=34.9 ms
64 bytes from maa05s10-in-f14.1e100.net (216.58.200.142): icmp_seq=3 ttl=113 time=3769 ms
64 bytes from maa05s10-in-f14.1e100.net (216.58.200.142): icmp_seq=4 ttl=113 time=2749 ms
64 bytes from maa05s10-in-f14.1e100.net (216.58.200.142): icmp_seq=5 ttl=113 time=1721 ms
64 bytes from maa05s10-in-f14.1e100.net (216.58.200.142): icmp_seq=6 ttl=113 time=697 ms
64 bytes from maa05s10-in-f14.1e100.net (216.58.200.142): icmp_seq=7 ttl=113 time=64.7 ms
64 bytes from maa05s10-in-f14.1e100.net (216.58.200.142): icmp_seq=8 ttl=113 time=34.6 ms
64 bytes from maa05s10-in-f14.1e100.net (216.58.200.142): icmp_seq=9 ttl=113 time=34.8 ms
^C
--- google.com ping statistics ---
9 packets transmitted, 9 received, 0% packet loss, time 8076ms
rtt min/avg/max/mdev = 34.590/1016.859/3768.896/1329.762 ms, pipe 4

Literally directly bellow your post in the networking section is a very in depth thread on your exact same adapter with a very clear set of instructions on how to get the rtl8822ce driver working.

Sorry, but I’m not going to repeat all the steps and commands i already gave in great detail on that thread over the last 2 weeks all over again.

Follow the uninstall directions from github to remove the driver you installed from github. Uninstall the rtl88x2c driver. Then, follow the directions on the other thread I linked to install the rtl8822ce driver properly.

Welcome to Garuda.

4 Likes

https://github.com/juanro49/rtl88x2ce-dkms

I followed this link to install the driver.
It's in spanish or portugese I don't understand properly.
But when I use
sudo modprobe -r rtl88x2ce
It deactivates my networks. and both the wlan0 and wlan1.
Thus I'm unable to uninstall just one of the drivers

I don’t know how I can be much clearer.

Either way I don’t really provide support for Debian based OS’s, wifi issues in a virtual install, (or the live environment). I provide networking support for Garuda installed to bare metal only.

5 Likes