Page 3 of 3 FirstFirst 123
Results 21 to 26 of 26

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

  1. #21
    Join Date
    Oct 2015
    Beans
    37

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

    Finally got the Ethernet working. Was my lack of knowledge. The network is local through a switch and I had DHCP set for the connection. I changed it to local and it now works.

    I have however now lost WiFi all-together. There's no WiFi option on the top right menu, and no menu item under settings. I've done a lot of Googling and found rfkill which doesn't show WiFi as existing. sudo lshw -c network says that the network is "UNCLAIMED". It was working, so I know the hardware is ok and the drivers are installed. Something has changed during all the messing about that's crippled it. Any ideas?

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

    Did the driver fail to load on boot? Let's check for interesting clues:

    Code:
    sudo modprobe rtw_8821ce
    sudo dmesg | grep rtw
    One or both of those is likely to throw an error that we can, hopefully, fix.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, B.Sc., M.Sc., M.A., Ph.D., Sc.D.

  3. #23
    Join Date
    Oct 2015
    Beans
    37

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

    Quote Originally Posted by chili555 View Post
    Did the driver fail to load on boot? Let's check for interesting clues:

    Code:
    sudo modprobe rtw_8821ce
    sudo dmesg | grep rtw
    One or both of those is likely to throw an error that we can, hopefully, fix.
    Code:
    sudo modprobe rtw_8821ce
    modprobe: FATAL: Module rtw_8821ce not found in directory /lib/modules/6.2.0-33-generic

    Code:
    sudo dmesg | grep rtw
    Nothing returned.

    It's interesting that I got the error. In trying to resolve it myself I found a conversation on StackExchange that included yourself, so I tried reinstalling linux-generic, so it didn't make any difference.
    https://chat.stackexchange.com/trans...021/6/25/19-22

    Edit:
    This seems like it might be relevant (see the answer from yourself);
    https://askubuntu.com/questions/1401...on-20-04-4-lts
    Last edited by ScorpioTiger; September 23rd, 2023 at 05:11 PM. Reason: Added link

  4. #24
    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

    The probable answer is that you've had a kernel update. Please do:

    Code:
    cd rtw88
    make clean 
    git pull
    make -j4
    sudo -i
    make install
    modprobe rtw_8821ce
    exit
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, B.Sc., M.Sc., M.A., Ph.D., Sc.D.

  5. #25
    Join Date
    Oct 2015
    Beans
    37

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

    Quote Originally Posted by chili555 View Post
    The probable answer is that you've had a kernel update. Please do:

    Code:
    cd rtw88
    make clean 
    git pull
    make -j4
    sudo -i
    make install
    modprobe rtw_8821ce
    exit
    Tried this and got a load of errors like;
    Skipping BTF generation for /home/genesys/rtw88/rtw_8723du.ko due to unavailability of vmlinux

    DId;
    sudo cp /sys/kernel/btf/vmlinux /usr/lib/modules/6.2.0-33-generic/build

    Tried again and got
    /bin/sh: 1: pahole: not found

    Did;
    sudo apt install dwarves

    On install, I got;
    make -C /lib/modules/6.2.0-33-generic/build M=/home/genesys/rtw88 modules
    make[1]: Entering directory '/usr/src/linux-headers-6.2.0-33-generic'
    warning: the compiler differs from the one used to build the kernel
    The kernel was built by: x86_64-linux-gnu-gcc-11 (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
    You are using: gcc-11 (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
    make[1]: Leaving directory '/usr/src/linux-headers-6.2.0-33-generic'
    Install rtw88 SUCCESS

    It seems to be working, but I don't know what the consequences will be for the last warning.

    Will now see if it sticks after a reboot.
    Ok. Fine after reboot.

    Now, back top the original problem. I still have the situation where the connection drops every 20 seconds or so. I've been able to test with two other networks now and it's fine with those. Unfortunately, the network where I'm located is the one I'm having issues with. It's find if I boot into Windows 10, or on my Ubuntu 18.04 laptop. So, it's an issue of this machine combined with this network. Anything else I can try?
    Last edited by ScorpioTiger; September 24th, 2023 at 03:31 AM.

  6. #26
    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

    DId;
    sudo cp /sys/kernel/btf/vmlinux /usr/lib/modules/6.2.0-33-generic/build

    Tried again and got
    /bin/sh: 1: pahole: not found

    Did;
    sudo apt install dwarves
    Nobody ever suggested that. I strongly suspect these steps are useless.

    Tried this and got a load of errors like;
    Skipping BTF generation for /home/genesys/rtw88/rtw_8723du.ko due to unavailability of vmlinux
    Does that say 'error'? It is informational only.

    I regret that I have no further suggestions.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, B.Sc., M.Sc., M.A., Ph.D., Sc.D.

Page 3 of 3 FirstFirst 123

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
  •