rtl8821ce doesn't work on Fedora 29 - Page 2
FedoraForum.org - Fedora Support Forums and Community
Page 2 of 3 FirstFirst 1 2 3 LastLast
Results 16 to 30 of 39
  1. #16
    Join Date
    Feb 2019
    Location
    Mexico
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: rtl8821ce doesn't work on Fedora 29

    They are the same version as you can see:

    kernel-headers-4.20.10-200.fc29.x86_64
    kernel-core-4.20.10-200.fc29.x86_64
    abrt-addon-kerneloops-2.12.0-2.fc29.x86_64
    kernel-modules-4.20.10-200.fc29.x86_64
    kernel-4.20.10-200.fc29.x86_64
    kernel-devel-4.20.10-200.fc29.x86_64
    libreport-plugin-kerneloops-2.10.0-1.fc29.x86_64

  2. #17
    Join Date
    May 2018
    Location
    UK
    Posts
    204
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: rtl8821ce doesn't work on Fedora 29

    And that matches " uname -r " just to be absolutely sure?

    Could you post the output of " ls -l /lib/modules/4.20.10-200.fc29.x86_64/ " and " ls -l /lib/modules/4.20.10-200.fc29.x86_64/build/ "

  3. #18
    Join Date
    Feb 2019
    Location
    Mexico
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: rtl8821ce doesn't work on Fedora 29

    They are the same again.

    First one:
    total 16944
    -rw-r--r--. 1 root root 258 feb 15 12:57 bls.conf
    drwxr-xr-x. 2 root root 4096 feb 24 02:51 build
    -rw-r--r--. 1 root root 201371 feb 15 12:56 config
    drwxr-xr-x. 14 root root 4096 feb 22 23:05 kernel
    -rw-r--r--. 1 root root 1074886 feb 22 23:14 modules.alias
    -rw-r--r--. 1 root root 1048515 feb 22 23:14 modules.alias.bin
    -rw-r--r--. 1 root root 1692 feb 15 12:57 modules.block
    -rw-r--r--. 1 root root 8296 feb 15 12:57 modules.builtin
    -rw-r--r--. 1 root root 10721 feb 22 23:14 modules.builtin.bin
    -rw-r--r--. 1 root root 394453 feb 22 23:14 modules.dep
    -rw-r--r--. 1 root root 544034 feb 22 23:14 modules.dep.bin
    -rw-r--r--. 1 root root 363 feb 22 23:14 modules.devname
    -rw-r--r--. 1 root root 153 feb 15 12:57 modules.drm
    -rw-r--r--. 1 root root 69 feb 15 12:57 modules.modesetting
    -rw-r--r--. 1 root root 2667 feb 15 12:57 modules.networking
    -rw-r--r--. 1 root root 136744 feb 15 12:57 modules.order
    -rw-r--r--. 1 root root 562 feb 22 23:14 modules.softdep
    -rw-r--r--. 1 root root 448996 feb 22 23:14 modules.symbols
    -rw-r--r--. 1 root root 547884 feb 22 23:14 modules.symbols.bin
    lrwxrwxrwx. 1 root root 5 feb 15 12:57 source -> build
    -rw-------. 1 root root 4111527 feb 15 12:56 System.map
    drwxr-xr-x. 2 root root 4096 feb 15 12:54 updates
    drwxr-xr-x. 2 root root 4096 feb 22 23:05 vdso
    -rwxr-xr-x. 1 root root 8753352 feb 15 12:57 vmlinuz

    Second one:
    total 0

  4. #19
    Join Date
    May 2018
    Location
    UK
    Posts
    204
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: rtl8821ce doesn't work on Fedora 29

    Well I can immediately see that build isn't linked where it should be. Try

    sudo rm -rf /lib/modules/4.20.10-200.fc29.x86_64/build
    sudo ln -s /usr/src/kernels/4.20.10-200.fc29.x86_64 /lib/modules/4.20.10-200.fc29.x86_64/build

    Confirm with " ls -l /lib/modules/4.20.10-200.fc29.x86_64/build/ " that you now see content then try rebuilding the driver.

  5. #20
    Join Date
    Feb 2019
    Location
    Mexico
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: rtl8821ce doesn't work on Fedora 29

    When tried to confirm with ls - /lib/modules...
    Got a new error: /lib/modules/4.20.10-200.fc29.x86_64/build does not exist according to that.

  6. #21
    Join Date
    May 2018
    Location
    UK
    Posts
    204
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: rtl8821ce doesn't work on Fedora 29

    Okay. Again post the output of " ls -l /lib/modules/4.20.10-200.fc29.x86_64/ " and " also the output of " ls -l /usr/src/kernels/4.20.10-200.fc29.x86_64 "

    If you don't see anything in the second directory above is there anything at all in /usr/src/kernels/ ?
    Last edited by hogweed; 27th February 2019 at 02:07 AM.

  7. #22
    Join Date
    Feb 2019
    Location
    Mexico
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: rtl8821ce doesn't work on Fedora 29

    First one:
    total 16940
    -rw-r--r--. 1 root root 258 feb 15 12:57 bls.conf
    -rw-r--r--. 1 root root 201371 feb 15 12:56 config
    drwxr-xr-x. 14 root root 4096 feb 22 23:05 kernel
    -rw-r--r--. 1 root root 1074886 feb 22 23:14 modules.alias
    -rw-r--r--. 1 root root 1048515 feb 22 23:14 modules.alias.bin
    -rw-r--r--. 1 root root 1692 feb 15 12:57 modules.block
    -rw-r--r--. 1 root root 8296 feb 15 12:57 modules.builtin
    -rw-r--r--. 1 root root 10721 feb 22 23:14 modules.builtin.bin
    -rw-r--r--. 1 root root 394453 feb 22 23:14 modules.dep
    -rw-r--r--. 1 root root 544034 feb 22 23:14 modules.dep.bin
    -rw-r--r--. 1 root root 363 feb 22 23:14 modules.devname
    -rw-r--r--. 1 root root 153 feb 15 12:57 modules.drm
    -rw-r--r--. 1 root root 69 feb 15 12:57 modules.modesetting
    -rw-r--r--. 1 root root 2667 feb 15 12:57 modules.networking
    -rw-r--r--. 1 root root 136744 feb 15 12:57 modules.order
    -rw-r--r--. 1 root root 562 feb 22 23:14 modules.softdep
    -rw-r--r--. 1 root root 448996 feb 22 23:14 modules.symbols
    -rw-r--r--. 1 root root 547884 feb 22 23:14 modules.symbols.bin
    lrwxrwxrwx. 1 root root 5 feb 15 12:57 source -> build
    -rw-------. 1 root root 4111527 feb 15 12:56 System.map
    drwxr-xr-x. 2 root root 4096 feb 15 12:54 updates
    drwxr-xr-x. 2 root root 4096 feb 22 23:05 vdso
    -rwxr-xr-x. 1 root root 8753352 feb 15 12:57 vmlinuz

    Second one:
    total 5492
    drwxr-xr-x. 27 root root 4096 feb 25 17:21 arch
    drwxr-xr-x. 3 root root 4096 feb 25 17:21 block
    lrwxrwxrwx. 1 root root 40 feb 15 12:57 build -> /usr/src/kernels/4.20.10-200.fc29.x86_64
    drwxr-xr-x. 2 root root 4096 feb 25 17:21 certs
    drwxr-xr-x. 4 root root 4096 feb 25 17:21 crypto
    drwxr-xr-x. 136 root root 4096 feb 25 17:21 drivers
    drwxr-xr-x. 2 root root 4096 feb 25 17:21 firmware
    drwxr-xr-x. 73 root root 4096 feb 25 17:21 fs
    drwxr-xr-x. 29 root root 4096 feb 15 12:32 include
    drwxr-xr-x. 2 root root 4096 feb 25 17:22 init
    drwxr-xr-x. 2 root root 4096 feb 25 17:22 ipc
    -rw-r--r--. 1 root root 563 feb 15 12:56 Kconfig
    drwxr-xr-x. 17 root root 4096 feb 25 17:22 kernel
    drwxr-xr-x. 13 root root 4096 feb 25 17:22 lib
    -rw-r--r--. 1 root root 61182 feb 15 12:56 Makefile
    drwxr-xr-x. 3 root root 4096 feb 25 17:22 mm
    -rw-r--r--. 1 root root 1353607 feb 15 12:56 Module.symvers
    drwxr-xr-x. 70 root root 4096 feb 25 17:22 net
    drwxr-xr-x. 26 root root 4096 feb 25 17:22 samples
    drwxr-xr-x. 14 root root 4096 feb 25 17:22 scripts
    drwxr-xr-x. 10 root root 4096 feb 25 17:22 security
    drwxr-xr-x. 26 root root 4096 feb 25 17:22 sound
    -rw-r--r--. 1 root root 4111527 feb 15 12:56 System.map
    drwxr-xr-x. 28 root root 4096 feb 25 17:22 tools
    drwxr-xr-x. 2 root root 4096 feb 25 17:22 usr
    drwxr-xr-x. 4 root root 4096 feb 25 17:22 virt
    -rw-r--r--. 1 root root 41 feb 15 12:56 vmlinux.id

    I see several directories in the second directory.

  8. #23
    Join Date
    May 2018
    Location
    UK
    Posts
    204
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: rtl8821ce doesn't work on Fedora 29

    Well okay, the sudo ln -s command didn't happen or didn't work.

    Again try
    Code:
    sudo ln -s /usr/src/kernels/4.20.10-200.fc29.x86_64 /lib/modules/4.20.10-200.fc29.x86_64/build
    Then post
    Code:
    ls -l /lib/modules/4.20.10-200.fc29.x86_64/
    You are looking for in second command output

    build -> /usr/src/kernels/4.20.10-200.fc29.x86_64

    If that works again try to rebuild driver
    Last edited by hogweed; 28th February 2019 at 01:05 AM.

  9. #24
    Join Date
    Feb 2019
    Location
    Mexico
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: rtl8821ce doesn't work on Fedora 29

    Thank you so much for all your support!
    It have worked at least!
    Here my first internet connection without using the ethernet cable since I bought this computer.

  10. #25
    Join Date
    Dec 2013
    Location
    United Kingdom
    Posts
    7,099
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: rtl8821ce doesn't work on Fedora 29

    Quote Originally Posted by fdrnk
    Will Fedora 30 find this internal Wi-Fi adapter?
    It's not likely because Realtek in their infinite wisdom use closed-source code for wireless devices which Fedora Project developers don't have access to. So if the support is not in Kernel 5.0 already upstream then you'll need to rebuild the kernels yourselves with the right modules as per the instructions above.

  11. #26
    Join Date
    Dec 2012
    Location
    santa barbara, CA
    Posts
    1,174
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: rtl8821ce doesn't work on Fedora 29

    my 0.02$: I have witnessed "many times", when, depending on what/when/how you upgrade your OS, your devel package gets out of sync with the kernel installed. This used to happen a lot when you did a manual module addition (say NVIDIA's proprietary driver install). Usually what I used to do then is to remove the kernel-devel , dnf upgrade the OS, and then and reinstall kernel-devel after the reboot.
    "monsters John ... monsters from the ID..."
    "ma vule teva maar gul nol naya"

  12. #27
    Join Date
    May 2018
    Location
    UK
    Posts
    204
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: rtl8821ce doesn't work on Fedora 29

    On the plus side the bluetooth portion of the chip now works in the current Fedora kernel as it is now upstream.

    The wifi side I think is held up by newer chip drivers being sufficiently different from existing linux kernel rtlwifi drivers that there are issues merging the newer code into existing mainline rtlwifi support but will happen at some point - I could have that wrong though - but the recent additon of bluetooth support for the chip to mainline kernel seems a good sign.

    One bit of bad news though is that Tomas Pinho who maintains the dkms integrated driver (based on Endless OS Linux driver based on Realtek's driver code) for archlinux and ubuntu, which also works on Fedora, has changed jobs and no longer has a work laptop with the chip so is looking for someone to take over. The good news is that for now he is still working with others to keep the port maintained and Linux kernel 5.0 is officially supported in latest update.

    As googling makes obvious there are a lot of people on various distros using the Tomas Pinho repo so hopefully that can continue to be maintained until someone takes over formally or mainstream support appears.
    Last edited by hogweed; 10th March 2019 at 12:41 AM.

  13. #28
    Join Date
    May 2018
    Location
    UK
    Posts
    204
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: rtl8821ce doesn't work on Fedora 29

    Follow the instructions in the second post in this thread which I repeat below. I have edited it and changed the order of the installs so you hopefully don't get into the state chomi got into above which then required manual fixing.

    Code:
    sudo dnf install -y make git kernel-headers kernel-devel elfutils-libelf-devel
    sudo dnf install -y dkms
    git clone https://github.com/tomaspinho/rtl8821ce
    cd rtl8821ce
    chmod +x dkms-install.sh
    chmod +x dkms-remove.sh
    sudo ./dkms-install.sh
    You will need to turn of secure boot in BIOS if on as the kernel module compiled will not be signed for secure boot. By using dkms, a new module will be recompiled automatically every time a new kernel is installed.
    Last edited by hogweed; 13th March 2019 at 06:59 PM.

  14. #29
    Join Date
    May 2018
    Location
    UK
    Posts
    204
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: rtl8821ce doesn't work on Fedora 29

    I assumed you had some other form of network connection but if you don't then the git clone and dnf installs will fail. If there is no ethernet port you should be able to temporarily tether a phone via USB and then download over that - on a USB tethered connection Android will share the wifi connection if available so you don't use mobile data.. Or use a usb wifi dongle or usb to ethernet adapter. These methods would be far easier than trying to download all the rpms etc. on another machine and then copying them over for manual installation.

    In theory you should also be able to connect via Bluetooth (which should be working) to another bluetooth device providing internet access but I have never tried this in Linux. It might also be possible to share the internet connection via USB from other systems but that's more complicated to setup.

    Of the above, by far the simplest option seems to be USB tether to a phone (unless you have suitable dongles handy). Fedora will recognise the device and bring up networking as soon as you plug the phone in and enable USB tethering on it - at least for an Android.
    Last edited by hogweed; 11th March 2019 at 04:29 PM.

  15. #30
    Join Date
    May 2018
    Location
    UK
    Posts
    204
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: rtl8821ce doesn't work on Fedora 29

    It looks like you updated the system without rebooting to get the new kernel as kernel devel is kernel-devel-4.20.14-200.fc29.x86_64 but kernel-headers is kernel-headers-4.18.16-300.fc29.x86_64. - or in other words - you are running 4.18.16-300.fc29.x86_6 but have updated to 4.20.14-200.fc29.x86_64 but have never rebooted since. The procedure failed because it tried to build the driver for the older running kernel - not the latest installed with development support.

    Clean out the broken stuff in dkms with
    Code:
    sudo rm -rf /var/lib/dkms/rtl8821ce
    Reboot then

    Code:
    sudo dnf --refresh upgrade
    Then reboot again if another kernel came in during that update. You can check your running kernel version with "uname -a". Make sure the output from uname matches the highest numbered kernel listed by " sudo dnf list kernel " which for me is currently 4.20.14-200.fc29

    Finally cd back to where you cloned the git repo and
    Code:
    sudo ./dkms-install.sh
    If you still get errors read back through this thread and check that the build directory is correctly linked. Change the kernel version in the commands to match your running kernel.
    Last edited by hogweed; 14th March 2019 at 05:40 PM.

Page 2 of 3 FirstFirst 1 2 3 LastLast

Similar Threads

  1. [SOLVED]
    Will rtl8821ce wireless driver be mainlined?
    By taztcs in forum Hardware & Laptops
    Replies: 4
    Last Post: 26th November 2018, 06:10 PM
  2. wifi issue realtek rtl8821ce HP Pavilion
    By bobatlcpmbdx in forum Hardware & Laptops
    Replies: 1
    Last Post: 5th September 2018, 10:32 PM
  3. Fedora 12 Kde doesn't work
    By decodedthought in forum Hardware & Laptops
    Replies: 15
    Last Post: 15th June 2010, 09:21 AM
  4. Mic doesn't work in Fedora 10
    By Wrenthir in forum Using Fedora
    Replies: 2
    Last Post: 22nd December 2008, 06:48 PM
  5. DVD rom doesn't work with fedora
    By solomon in forum Hardware & Laptops
    Replies: 0
    Last Post: 7th December 2008, 02:07 AM

Tags for this Thread

Posting Permissions

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