Page 1 of 3 123 LastLast
Results 1 to 10 of 26

Thread: Ubuntu 22.04 - RTL8821CE 802.11ac PCIe Wireless Network Adapter

  1. #1
    Join Date
    Oct 2015
    Beans
    37

    Ubuntu 22.04 - RTL8821CE 802.11ac PCIe Wireless Network Adapter

    I've purchased a new all-in-one and rebuilt it as dual-boot Windows 10 and Ubuntu 22.04.

    At the time of install, I couldn't get the WiFi to connect, so the install was done offline.

    It appears that I'm missing some drivers or config somewhere as I have issues with the back-light brightness configuration not working, the WiFi dropping every few seconds, and the Ethernet is not working at all.

    This post focuses on the Wifi, but wanted to make everyone aware that this is not the only issue, and there could be something underlying all of the issues I'm having.

    I am able to connect to WiFi and browse the internet, however it stops working every few seconds and I can only load a page about half the time. Curiously if I have an SSH session open, it stays open through this (though unusable as keystrokes aren't transmitted). On a different machine on 18.04, a dropped WiFi connection resulted in a terminated session. I don't know if this is something in my config that persists sessions, so this observation might not be relevant.

    I've tried disabling the power saving as has been suggested on various forums, but this make no difference.

    I tried specifying a driver in the Additional Drivers dialog. Again, this doesn't make any difference.

    I've tried
    HTML Code:
    sudo ubuntu-drivers autoinstall
    , but it says "All the available drivers are already installed."

    Output from the wireless info script attached:
    wireless-info.tar.gz

  2. #2
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    26,047
    Distro
    Ubuntu Development Release

    Re: Ubuntu 22.04 - RTL8821CE 802.11ac PCIe Wireless Network Adapter

    You may find some helpful suggestions here: https://askubuntu.com/questions/1032...353723#1353723
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, B.Sc., M.Sc., M.A., Ph.D., Sc.D.

  3. #3
    Join Date
    Oct 2015
    Beans
    37

    Re: Ubuntu 22.04 - RTL8821CE 802.11ac PCIe Wireless Network Adapter

    Quote Originally Posted by chili555 View Post
    You may find some helpful suggestions here: https://askubuntu.com/questions/1032...353723#1353723
    I'd already tried that. Didn't make a difference.

    I should also add that i don't have control over the router, so I can't change any config there. The same WiFi works for a laptop with Ubuntu 18.04 and an Android mobile, so I'm sure that the problem is at my end on this new PC.

  4. #4
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    26,047
    Distro
    Ubuntu Development Release

    Re: Ubuntu 22.04 - RTL8821CE 802.11ac PCIe Wireless Network Adapter

    I'd check to see if the wireless is roaming from the 2.4 gHz segment to the 5 gHz segment of the router by checking the message log. First, find the name of your wireless interface:

    Code:
    iwconfig
    It will probably be something like wlpxxx or wloxxx. Then search the log for the interface name you found:

    Code:
    sudo dmesg | grep wlp3s0
    Of course, substitue your interface name if not wlp3s0.

    You might also find some interesting clues looking at the driver name:
    Code:
    sudo dmesg | grep -i 8821c
    Look for disconnects from one MAC address like 12:34:56:99 to try to reconnect to 12:34:56:98. Consecutive numbers almost always signify the 2.4 gHz and the 5gHz segments of the same router. If that's the case, bind Network Manager to the 5gHz segment by its MAC address like this: https://askubuntu.com/questions/1084...084046#1084046
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, B.Sc., M.Sc., M.A., Ph.D., Sc.D.

  5. #5
    Join Date
    Oct 2015
    Beans
    37

    Re: Ubuntu 22.04 - RTL8821CE 802.11ac PCIe Wireless Network Adapter

    Thanks for the guidance.

    HTML Code:
    sudo dmesg | grep wlp1s0
    Gives me repeating output like below. The following occurred over a short space of time;

    [ 1438.166548] wlp1s0: associating to AP 88:d7:f6:80:24:ec with corrupt probe response
    [ 1438.168171] wlp1s0: associate with 88:d7:f6:80:24:ec (try 1/3)
    [ 1438.176951] wlp1s0: RX AssocResp from 88:d7:f6:80:24:ec (capab=0xc31 status=0 aid=1)
    [ 1438.177257] wlp1s0: associated
    [ 1483.068820] wlp1s0: deauthenticating from 88:d7:f6:80:24:ec by local choice (Reason: 3=DEAUTH_LEAVING)
    [ 1491.989139] wlp1s0: authenticate with 88:d7:f6:80:24:ec
    [ 1492.636174] wlp1s0: send auth to 88:d7:f6:80:24:ec (try 1/3)
    [ 1492.638343] wlp1s0: authenticated
    [ 1492.638599] wlp1s0: associating to AP 88:d7:f6:80:24:ec with corrupt probe response
    [ 1492.640170] wlp1s0: associate with 88:d7:f6:80:24:ec (try 1/3)
    [ 1492.652010] wlp1s0: RX AssocResp from 88:d7:f6:80:24:ec (capab=0xc31 status=0 aid=1)
    [ 1492.652343] wlp1s0: associated
    [ 1529.537447] wlp1s0: authenticate with 88:d7:f6:80:24:ec
    [ 1530.184169] wlp1s0: send auth to 88:d7:f6:80:24:ec (try 1/3)
    [ 1530.188172] wlp1s0: authenticated
    [ 1530.188373] wlp1s0: associating to AP 88:d7:f6:80:24:ec with corrupt probe response
    [ 1530.192179] wlp1s0: associate with 88:d7:f6:80:24:ec (try 1/3)
    [ 1530.197786] wlp1s0: RX AssocResp from 88:d7:f6:80:24:ec (capab=0xc31 status=0 aid=1)
    [ 1530.198093] wlp1s0: associated
    [ 1575.105015] wlp1s0: deauthenticating from 88:d7:f6:80:24:ec by local choice (Reason: 3=DEAUTH_LEAVING)
    [ 1583.989145] wlp1s0: authenticate with 88:d7:f6:80:24:ec
    [ 1584.636169] wlp1s0: send auth to 88:d7:f6:80:24:ec (try 1/3)
    [ 1584.637893] wlp1s0: authenticated
    [ 1584.638059] wlp1s0: associating to AP 88:d7:f6:80:24:ec with corrupt probe response
    [ 1584.644206] wlp1s0: associate with 88:d7:f6:80:24:ec (try 1/3)
    [ 1584.649805] wlp1s0: RX AssocResp from 88:d7:f6:80:24:ec (capab=0xc31 status=0 aid=1)
    [ 1584.650122] wlp1s0: associated
    [ 1985.525450] wlp1s0: authenticate with 88:d7:f6:80:24:ec
    [ 1986.172151] wlp1s0: send auth to 88:d7:f6:80:24:ec (try 1/3)
    [ 1986.177287] wlp1s0: authenticated
    [ 1986.177576] wlp1s0: associating to AP 88:d7:f6:80:24:ec with corrupt probe response
    [ 1986.184126] wlp1s0: associate with 88:d7:f6:80:24:ec (try 1/3)
    [ 1986.191716] wlp1s0: RX AssocResp from 88:d7:f6:80:24:ec (capab=0xc31 status=0 aid=1)
    [ 1986.192019] wlp1s0: associated
    [ 2031.088679] wlp1s0: deauthenticating from 88:d7:f6:80:24:ec by local choice (Reason: 3=DEAUTH_LEAVING)
    [ 2039.985247] wlp1s0: authenticate with 88:d7:f6:80:24:ec
    [ 2040.632141] wlp1s0: send auth to 88:d7:f6:80:24:ec (try 1/3)
    [ 2040.634160] wlp1s0: authenticated
    [ 2040.634461] wlp1s0: associating to AP 88:d7:f6:80:24:ec with corrupt probe response
    [ 2040.636108] wlp1s0: associate with 88:d7:f6:80:24:ec (try 1/3)
    [ 2040.641695] wlp1s0: RX AssocResp from 88:d7:f6:80:24:ec (capab=0xc31 status=0 aid=1)
    [ 2040.641999] wlp1s0: associated

  6. #6
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    26,047
    Distro
    Ubuntu Development Release

    Re: Ubuntu 22.04 - RTL8821CE 802.11ac PCIe Wireless Network Adapter

    associating to AP 88:xxxx:ec with corrupt probe response
    I am very worried about this.
    I should also add that i don't have control over the router, so I can't change any config there.
    And I'm very sorry about this.

    A google search for 'associating to AP with corrupt probe response' yields all kinds of answers, some of which suggest that the router is not operating properly, needs a firmware update, etc. Some suggest that the encryption method is wrong, usually the deprecated and insecure TKIP, and more. I suspect it is the 2.4 gHz vs. 5 gHz issue I pointed out before, auto channel select and the bizarre name of the network: >>>FULAY<<<. I am puzzled that it seems to work properly in Ubuntu 18.04.

    I think there are two things we might try. First, try a live session of Ubuntu 20.04 LTS with an older kernel (by default) and see if it works. If so, install it. Second, we could try the later and, I assume, newer driver version from here: https://github.com/lwfinger/rtw88

    If you'd like to try the latter, I'll be happy to provide a step-by-step.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, B.Sc., M.Sc., M.A., Ph.D., Sc.D.

  7. #7
    Join Date
    Oct 2015
    Beans
    37

    Re: Ubuntu 22.04 - RTL8821CE 802.11ac PCIe Wireless Network Adapter

    I've just tried with the ubuntu 20.04 on USB as you've suggested. I get the same result. Looking at a sample of output from sudo dmesg | grep wlp3s0, it's cycling on average every 36 seconds. I ran the same on my Ubuntu 18.04 laptop and the same cycle is there, but the average is 16870 seconds.

    I should also add, that if I boot to Windows 10 on the same machine, the Wifi is fine, so I think we can discount dodgy hardware.

    It's also worth noting that I can't connect Ethernet either. I don't know if it could be related.

  8. #8
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    26,047
    Distro
    Ubuntu Development Release

    Re: Ubuntu 22.04 - RTL8821CE 802.11ac PCIe Wireless Network Adapter

    I suggest that we try the newer driver. With a reliable internet connection, open a terminal and do:

    Code:
    sudo apt update
    sudo apt install --reinstall git bc build-essential
    git clone https://github.com/lwfinger/rtw88.git
    cd rtw88
    make -j4
    sudo -i
    make install
    echo "blacklist rtw88_8821ce" >>  /etc/modprobe.d/blacklist.conf
    exit
    Reboot. Is there any improvement?
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, B.Sc., M.Sc., M.A., Ph.D., Sc.D.

  9. #9
    Join Date
    Oct 2015
    Beans
    37

    Re: Ubuntu 22.04 - RTL8821CE 802.11ac PCIe Wireless Network Adapter

    It's still going through the same cycle, though the frequency is slightly less; not significantly so however.

    It might only be anecdotal; but it seems as though it doesn't happen as much if I'm actively using the connection; ie; not more than a few seconds between requests.

  10. #10
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    26,047
    Distro
    Ubuntu Development Release

    Re: Ubuntu 22.04 - RTL8821CE 802.11ac PCIe Wireless Network Adapter

    Is there anything in the log about firmware?

    Code:
    sudo dmesg | grep -e rtw -e firm
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, B.Sc., M.Sc., M.A., Ph.D., Sc.D.

Page 1 of 3 123 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •