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

Thread: Ubuntu 20.04 Realtek 8821CE wi-fi does not work properly

  1. #1
    Join Date
    Jul 2009
    Beans
    399

    Ubuntu 20.04 Realtek 8821CE wi-fi does not work properly

    The power management for the wi-fi card is not disabled with following command.

    Code:
    sudo sed -i 's/3/2/' /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf 
    , Reboot.
    To set it off I had to run
    Code:
     systemctl restart network-manager.service
    Setting the power management did not help as I ran the following script to check network failure.

    Code:
    #!/bin/bashsystemctl restart network-manager.service
    while true; do
      ping -c 1 yahoo.com &>/dev/null || date  >>t1
      sleep 2
    done
    The network failure report

    Code:
     cat t1Sun 12 Sep 2021 08:34:03 AM IST
    Sun 12 Sep 2021 08:40:16 AM IST
    Sun 12 Sep 2021 08:40:18 AM IST
    Sun 12 Sep 2021 08:40:20 AM IST
    Sun 12 Sep 2021 08:40:22 AM IST
    Sun 12 Sep 2021 08:42:47 AM IST
    Sun 12 Sep 2021 08:45:24 AM IST
    Sun 12 Sep 2021 08:45:26 AM IST
    Sun 12 Sep 2021 08:45:28 AM IST
    Sun 12 Sep 2021 08:46:02 AM IST
    Sun 12 Sep 2021 08:50:46 AM IST
    Sun 12 Sep 2021 08:50:48 AM IST
    Sun 12 Sep 2021 08:50:50 AM IST
    Sun 12 Sep 2021 08:55:34 AM IST
    Sun 12 Sep 2021 08:55:36 AM IST
    Sun 12 Sep 2021 08:55:38 AM IST
    Sun 12 Sep 2021 08:55:57 AM IST
    Sun 12 Sep 2021 08:56:16 AM IST
    Sun 12 Sep 2021 08:57:02 AM IST
    Code:
      inxi -nzNetwork:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8169 
               IF: eno1 state: down mac: <filter> 
               Device-2: Realtek RTL8821CE 802.11ac PCIe Wireless Network Adapter driver: rtw_8821ce 
               IF: wlo1 state: up mac: <filter>
    This is a dual boot with Windows 10. With Windows 10 there is no network problem.

    Any suggestions please?
    Last edited by deepakdeshp; September 12th, 2021 at 04:53 AM.

  2. #2
    Join Date
    Jul 2009
    Beans
    399

    Re: Ubuntu 20.04 Realtek 8821CE wi-fi does not work properly

    I had installed the driver for 8821CE card from following instructions on Github. I am not sure if the later kernels have the driver for it now. How to unload the drivers installed following the Github instructions and use the kernel driver if it is available?

  3. #3
    Join Date
    Jul 2006
    Location
    San Diego California
    Beans
    158
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Ubuntu 20.04 Realtek 8821CE wi-fi does not work properly


  4. #4
    Join Date
    Jul 2009
    Beans
    399

    Re: Ubuntu 20.04 Realtek 8821CE wi-fi does not work properly

    Quote Originally Posted by Joe_Linux View Post
    Thank you but it is a 20.04 server and there is no GUI

  5. #5
    Join Date
    Jul 2009
    Beans
    399

    Re: Ubuntu 20.04 Realtek 8821CE wi-fi does not work properly

    I am running kernel
    Code:
     5.13.0-14-generic
    . But the wi-fi performance is not proper. Is there are any place I can submit kernel bugs for ubuntu?

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

    Re: Ubuntu 20.04 Realtek 8821CE wi-fi does not work properly

    Did you try the steps in my post here? https://ubuntuforums.org/showthread....light=dropping
    "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
    Jul 2009
    Beans
    399

    Re: Ubuntu 20.04 Realtek 8821CE wi-fi does not work properly

    Quote Originally Posted by chili555 View Post
    Did you try the steps in my post here? https://ubuntuforums.org/showthread....light=dropping
    Thank you Dr Sheldon,
    I made the change in /etc/default/crda and made the last line as REGDOMAIN=IN .I am from India, Rebooted. But there is no joy . The wi-fi network isnt steady.
    My machine is
    lsb_release -a
    Code:
    No LSB modules are available.
    Distributor ID:    Ubuntu
    Description:    Ubuntu 20.04.2 LTS
    Release:    20.04
    
    
    Codename:    focalBus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 003 Device 004: ID 0bda:b00a Realtek Semiconductor Corp. 
    Bus 003 Device 003: ID 30c9:0013  
    Bus 003 Device 002: ID 05e3:0608 Genesys Logic, Inc. Hub
    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 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    (base) uma@uma ~ $ lspci -nnk | grep -iA3 network
    03:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter [10ec:c821]
        DeviceName: WLAN
        Subsystem: Hewlett-Packard Company RTL8821CE 802.11ac PCIe Wireless Network Adapter [103c:831a]
        Kernel driver in use: rtw_8821ce
        Kernel modules: rtw88_8821ce
    04:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Picasso [1002:15d8] (rev c2)

    In the router Band is 2.4 GHZ (B+G+N)
    Mode is AP
    Last edited by deepakdeshp; September 19th, 2021 at 12:03 PM.

  8. #8
    Join Date
    Jul 2009
    Beans
    399

    Re: Ubuntu 20.04 Realtek 8821CE wi-fi does not work properly

    Code:
     iwconfiglo        no wireless extensions.
    
    
    eno1      no wireless extensions.
    
    
    wlo1      IEEE 802.11  ESSID:"DIGISOL"  
              Mode:Managed  Frequency:2.462 GHz  Access Point: C4:70:0B:B8:5F:5B   
              Bit Rate=39 Mb/s   Tx-Power=20 dBm   
              Retry short limit:7   RTS thr:off   Fragment thr:off
              Power Management:off
              Link Quality=64/70  Signal level=-46 dBm  
              Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
              Tx excessive retries:0  Invalid misc:2517   Missed beacon:0
    
    
    vmnet1    no wireless extensions.
    
    
    vmnet8    no wireless extensions.

  9. #9
    Join Date
    Jul 2009
    Beans
    399

    Re: Ubuntu 20.04 Realtek 8821CE wi-fi does not work properly

    This is a triple boot machine and wifi with Windows 10 works without any problems.

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

    Re: Ubuntu 20.04 Realtek 8821CE wi-fi does not work properly

    Quote Originally Posted by deepakdeshp View Post
    This is a triple boot machine and wifi with Windows 10 works without any problems.
    That's often the case. The network management mechanism in Windows pretty accurately tracks changes in the router state and stays connected. So far, at least, Ubuntu does not.

    Did you undertake the changes to the router settings that I recommended?
    "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

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
  •