Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 26

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

  1. #11
    Join Date
    Oct 2015
    Beans
    37

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

    sudo dmesg | grep -e rtw -e firm
    [ 0.133491] Spectre V2 : Enabling Restricted Speculation for firmware calls
    [ 3.043621] rtw_core: loading out-of-tree module taints kernel.
    [ 3.043833] rtw_core: module verification failed: signature and/or required key missing - tainting kernel
    [ 3.143611] rtw_8821ce 0000:01:00.0: enabling device (0100 -> 0103)
    [ 3.159811] rtw_8821ce 0000:01:00.0: Firmware version 24.11.0, H2C version 12
    [ 3.571384] rtw_8821ce 0000:01:00.0 wlp1s0: renamed from wlan0
    [ 40.652251] rtw_8821ce 0000:01:00.0: timed out to flush queue 1
    [ 41.168233] rtw_8821ce 0000:01:00.0: timed out to flush queue 1
    [ 44.992258] rtw_8821ce 0000:01:00.0: timed out to flush queue 1
    [ 46.196224] rtw_8821ce 0000:01:00.0: timed out to flush queue 1
    [ 1662.188321] rtw_8821ce 0000:01:00.0: timed out to flush queue 1
    [ 4227.208433] rtw_8821ce 0000:01:00.0: timed out to flush queue 1
    [ 4285.172440] rtw_8821ce 0000:01:00.0: timed out to flush queue 1
    [ 5833.620479] rtw_8821ce 0000:01:00.0: failed to get tx report from firmware

  2. #12
    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

    Please try:

    Code:
    sudo -i
    echo "options rtw_pci disable_aspm=Y"  >  /etc/modprobe.d/rtw_pci.conf
    sed -i 's/3/2/' /etc/NetworkManager/conf.d/*
    exit
    Reboot and tell us if there is 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.

  3. #13
    Join Date
    Oct 2015
    Beans
    37

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

    Tried it. No change.

    Really out of my league on this one.

    I'm going to take the PC somewhere else and try another WiFi. Will post the result.

  4. #14
    Join Date
    Oct 2015
    Beans
    37

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

    Ok. I've tried with another WiFi and I'm getting a much better result. I have better connectivity, but it seems to be frequently reauthenticating. I don't know if this is normal or not.

    The question still remains of how I can stay connected to the WiFi where I am. Physically carrying the PC to a cafe every time I want to do something isn't a preferred solution.

    Does the output below shed any light?

    sudo dmesg | grep wlp1s0
    [ 3.718272] rtw_8821ce 0000:01:00.0 wlp1s0: renamed from wlan0
    [ 103.666552] wlp1s0: authenticate with 20:25:64:11:3c:15
    [ 104.312281] wlp1s0: send auth to 20:25:64:11:3c:15 (try 1/3)
    [ 104.313996] wlp1s0: authenticated
    [ 104.316234] wlp1s0: associate with 20:25:64:11:3c:15 (try 1/3)
    [ 104.321858] wlp1s0: RX AssocResp from 20:25:64:11:3c:15 (capab=0x411 status=0 aid=6)
    [ 104.322175] wlp1s0: associated
    [ 104.428433] IPv6: ADDRCONF(NETDEV_CHANGE): wlp1s0: link becomes ready
    [ 238.742131] wlp1s0: deauthenticated from 20:25:64:11:3c:15 (Reason: 7=CLASS3_FRAME_FROM_NONASSOC_STA)
    [ 239.412547] wlp1s0: authenticate with 20:25:64:11:3c:15
    [ 240.060329] wlp1s0: send auth to 20:25:64:11:3c:15 (try 1/3)
    [ 240.061982] wlp1s0: authenticated
    [ 240.064273] wlp1s0: associate with 20:25:64:11:3c:15 (try 1/3)
    [ 240.069213] wlp1s0: RX AssocResp from 20:25:64:11:3c:15 (capab=0x411 status=0 aid=6)
    [ 240.069535] wlp1s0: associated
    [ 389.596728] wlp1s0: authenticate with 20:25:64:11:3c:15
    [ 390.240300] wlp1s0: send auth to 20:25:64:11:3c:15 (try 1/3)
    [ 390.242133] wlp1s0: authenticated
    [ 390.244289] wlp1s0: associate with 20:25:64:11:3c:15 (try 1/3)
    [ 390.252446] wlp1s0: RX AssocResp from 20:25:64:11:3c:15 (capab=0x411 status=0 aid=6)
    [ 390.252749] wlp1s0: associated
    [ 409.701924] wlp1s0: authenticate with 20:25:64:11:3c:15
    [ 410.356304] wlp1s0: send auth to 20:25:64:11:3c:15 (try 1/3)
    [ 410.358694] wlp1s0: authenticated
    [ 410.360277] wlp1s0: associate with 20:25:64:11:3c:15 (try 1/3)
    [ 410.366019] wlp1s0: RX AssocResp from 20:25:64:11:3c:15 (capab=0x411 status=0 aid=6)
    [ 410.366344] wlp1s0: associated
    [ 418.613714] wlp1s0: authenticate with 20:25:64:11:3c:15
    [ 419.260302] wlp1s0: send auth to 20:25:64:11:3c:15 (try 1/3)
    [ 419.265619] wlp1s0: authenticated
    [ 419.268277] wlp1s0: associate with 20:25:64:11:3c:15 (try 1/3)
    [ 419.271631] wlp1s0: RX AssocResp from 20:25:64:11:3c:15 (capab=0x411 status=0 aid=6)
    [ 419.271918] wlp1s0: associated

  5. #15
    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

    What does the signal strength look like?
    Code:
    sudo iwlist wlp1s0 scan
    If it is low, say Quality=40/70 or so, then you'd have trouble staying connected. If you are fairly close to the router, then I'd wonder if both antenna connectors are firmly snapped in place.

    https://qph.cf2.quoracdn.net/main-qi...42ddd749807-lq
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, B.Sc., M.Sc., M.A., Ph.D., Sc.D.

  6. #16
    Join Date
    Nov 2008
    Location
    Boston MetroWest
    Beans
    16,326

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

    Do you have physical access to the router? If so, plug an Ethernet cable between your computer and one of the router's "LAN" ports and turn off any wireless devices. Then you should have a reliable high-speed connection while you get your other problems sorted out.
    If you ask for help, do not abandon your request. Please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

  7. #17
    Join Date
    Oct 2015
    Beans
    37

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

    This is from the machine in question;
    Quality=48/70 Signal level=-62 dBm
    Quality=50/70 Signal level=-60 dBm
    Quality=48/70 Signal level=-62 dBm
    Quality=38/70 Signal level=-72 dBm
    Quality=48/70 Signal level=-62 dBm

    And this is from an 18.04 laptop sitting on the same desk;
    Quality=40/70 Signal level=-70 dBm
    Quality=33/70 Signal level=-77 dBm
    Quality=44/70 Signal level=-66 dBm
    Quality=32/70 Signal level=-78 dBm
    Quality=27/70 Signal level=-83 dBm
    Quality=41/70 Signal level=-69 dBm

    I've been able to work on the 18.04 laptop for several months now without issue; even hour long VOIP sessions go without problems.

    I should also restate, that if I boot the machine into Windows 10, I don't have issues. If I connect to another WiFi it's fine. It seems to be something specific to this router and the Ubuntu 20.04 install, and something that isn't an issue on my 18.04 install.
    Last edited by ScorpioTiger; September 20th, 2023 at 04:37 AM.

  8. #18
    Join Date
    Oct 2015
    Beans
    37

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

    Quote Originally Posted by SeijiSensei View Post
    Do you have physical access to the router? If so, plug an Ethernet cable between your computer and one of the router's "LAN" ports and turn off any wireless devices. Then you should have a reliable high-speed connection while you get your other problems sorted out.
    Two problems with that. 1) the router is outside on a different building and a cable run isn't going to be practical. 2) Ethernet on the machine also doesn't work.

  9. #19
    Join Date
    Oct 2015
    Beans
    37

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

    Quote Originally Posted by chili555 View Post
    What does the signal strength look like?
    Code:
    sudo iwlist wlp1s0 scan
    If it is low, say Quality=40/70 or so, then you'd have trouble staying connected. If you are fairly close to the router, then I'd wonder if both antenna connectors are firmly snapped in place.

    https://qph.cf2.quoracdn.net/main-qi...42ddd749807-lq
    Given that the signal strength is similar between the two machines and one has no issue, that would not seem to be the problem. I'm now starting to look at the Ethernet which is also not working. Is it possible the two problems are related?

  10. #20
    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'm now starting to look at the Ethernet which is also not working. Is it possible the two problems are related?
    They are certainly related by Network Manager. Let's have a look:

    Code:
    sudo dmesg | grep -e etwork -e enp
    I wonder if your docker container is a culprit:

    docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default
    link/ether <MAC 'docker0' [IF3]> brd <MAC address>
    inet 172.17.0.1/16 brd 172.17.255.255 scope global docker0
    valid_lft forever preferred_lft forever
    I'm sorry, but I know nothing, nada, zero about docker.
    Last edited by chili555; September 22nd, 2023 at 12:31 AM.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, B.Sc., M.Sc., M.A., Ph.D., Sc.D.

Page 2 of 3 FirstFirst 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
  •