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

Thread: RTL8821CU Onboard WIFI

  1. #1

    Default RTL8821CU Onboard WIFI

    I recently purchased a Terryza compute stick from Amazon with the RTL8821CU wifi chip. It's not a USB variant of the chip, but onboard. I was wondering what my steps would be to get this little monster running wifi, since the wifi is the only onboard networking device. I have the OpenSUSE x64 DVD repository on USB, so I've installed Make, but that's where things kind of fall apart. Can anyone assist me in any way? Running the RPM was no help, it broke during the initial install, and I'm not super familiar with OpenSUSE in a vacuum like this.

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    30,939
    Blog Entries
    15

    Default Re: RTL8821CU Onboard WIFI

    Quote Originally Posted by suntzu243 View Post
    I recently purchased a Terryza compute stick from Amazon with the RTL8821CU wifi chip. It's not a USB variant of the chip, but onboard. I was wondering what my steps would be to get this little monster running wifi, since the wifi is the only onboard networking device. I have the OpenSUSE x64 DVD repository on USB, so I've installed Make, but that's where things kind of fall apart. Can anyone assist me in any way? Running the RPM was no help, it broke during the initial install, and I'm not super familiar with OpenSUSE in a vacuum like this.
    Hi and welcome to the Forum
    What rpm was this, for a driver? If so from where?

    Normally you need to install kernel-default-devel to build a driver, what I have lying around is a USB to ethernet dongle for situations like this... this may be an option if can't get things to work.
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  3. #3
    Join Date
    Mar 2011
    Location
    Sauerland
    Posts
    5,602

    Default AW: RTL8821CU Onboard WIFI

    Please post:
    Code:
    lsusb
    Code:
    /sbin/lspci -nnk | grep -EiA3 'net|real'
    Code:
    zypper se -si kernel rtl
    Code:
    uname -a
    Please use for every command a seperate Code-Tag:
    https://forums.opensuse.org/showthre...und-Your-Paste

  4. #4

    Wink Re: RTL8821CU Onboard WIFI

    Quote Originally Posted by malcolmlewis View Post
    Hi and welcome to the Forum
    What rpm was this, for a driver? If so from where?

    Normally you need to install kernel-default-devel to build a driver, what I have lying around is a USB to ethernet dongle for situations like this... this may be an option if can't get things to work.
    Sorry for the delayed response guys. Covid shots and snowy days are messing up my schedule. I used an RPM from Sauerland's repos, and I have no idea what you mean by "kernel-default-devel" other than... it's a development kernel? Sorry, like I said this is out of my wheelhouse. As for your questions Sauerland:

    Code:
    lsusb
    returned-

    Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hubBus 001 Device 004: ID 2020:0720 TONPHA USB 2.0 Classic
    Bus 001 Device 003: ID 0bda:c820 Realtek Semiconductor Corp. 802.11ac NIC
    Bus 001 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

    Code:
    /sbin/lspci -nnk | grep -EiA3 'net|real'
    RETURNED NOTHING

    Code:
    zypper se si- kernel rtl
    returned-

    Download (curl) error for 'http://download.opensuse.org/tumbleweed/repo/non-oss/repodata/repomd.xml':
    Error code: Connection failed
    Error message: Could not resolve host: download.opensuse.org
    I then received the option to abort, ignore or retry. If I chose to ignore, I got:

    Error building the cache:
    [repo-non-oss|http://download.opensuse.org/tumbleweed/repo/non-oss/] Valid metadata not found at specified URL
    History:
    - Unknown error reading from 'http://download.opensuse.org/tumbleweed/repo/non-oss/'
    - SKIP request: User-requested skipping of a file
    - Download (curl) error for 'http://download.opensuse.org/tumbleweed/repo/non-oss/repodata/repomd.xml':
    Error code: Connection failed
    Error message: Could not resolve host: download.opensuse.org




    Warning: The metadata cache needs to be built for the 'openSUSE-Tumbleweed-Non-Oss' repository. You can run 'zypper refresh' as root to do this.
    Warning: Skipping repository 'openSUSE-Tumbleweed-Non-Oss' because of the above error.
    Download (curl) error for 'http://download.opensuse.org/tumbleweed/repo/oss/repodata/repomd.xml':
    Error code: Connection failed
    Error message: Could not resolve host: download.opensuse.org
    If I chose to abort I got:

    Error building the cache:
    [repo-update|http://download.opensuse.org/update/tumbleweed/] Valid metadata not found at specified URL
    History:
    - Unknown error reading from 'http://download.opensuse.org/update/tumbleweed/'
    - ABORT request: Aborting requested by user
    - Download (curl) error for 'http://download.opensuse.org/update/tumbleweed/repodata/repomd.xml':
    Error code: Connection failed
    Error message: Could not resolve host: download.opensuse.org




    Warning: The metadata cache needs to be built for the 'openSUSE-Tumbleweed-Update' repository. You can run 'zypper refresh' as root to do this.
    Warning: Skipping repository 'openSUSE-Tumbleweed-Update' because of the above error.
    Some of the repositories have not been refreshed because of an error.
    Loading repository data...
    Reading installed packages...


    S | Name | Type | Version | Arch | Repository
    ---+-----------------------------+---------+-----------------------------------------+--------+--------------------
    i+ | kernel-default | package | 5.10.16-1.3 | x86_64 | openSUSE-20210302-0
    i | kernel-firmware-all | package | 20210208-2.1 | noarch | openSUSE-20210302-0
    i | kernel-firmware-amdgpu | package | 20210208-2.1 | noarch | openSUSE-20210302-0
    i | kernel-firmware-ath10k | package | 20210208-2.1 | noarch | openSUSE-20210302-0
    i | kernel-firmware-ath11k | package | 20210208-2.1 | noarch | openSUSE-20210302-0
    i | kernel-firmware-atheros | package | 20210208-2.1 | noarch | openSUSE-20210302-0
    i | kernel-firmware-bluetooth | package | 20210208-2.1 | noarch | openSUSE-20210302-0
    i | kernel-firmware-bnx2 | package | 20210208-2.1 | noarch | openSUSE-20210302-0
    i | kernel-firmware-brcm | package | 20210208-2.1 | noarch | openSUSE-20210302-0
    i | kernel-firmware-chelsio | package | 20210208-2.1 | noarch | openSUSE-20210302-0
    i | kernel-firmware-dpaa2 | package | 20210208-2.1 | noarch | openSUSE-20210302-0
    i | kernel-firmware-i915 | package | 20210208-2.1 | noarch | openSUSE-20210302-0
    i | kernel-firmware-intel | package | 20210208-2.1 | noarch | openSUSE-20210302-0
    i | kernel-firmware-iwlwifi | package | 20210208-2.1 | noarch | openSUSE-20210302-0
    i | kernel-firmware-liquidio | package | 20210208-2.1 | noarch | openSUSE-20210302-0
    i | kernel-firmware-marvell | package | 20210208-2.1 | noarch | openSUSE-20210302-0
    i | kernel-firmware-media | package | 20210208-2.1 | noarch | openSUSE-20210302-0
    i | kernel-firmware-mediatek | package | 20210208-2.1 | noarch | openSUSE-20210302-0
    i | kernel-firmware-mellanox | package | 20210208-2.1 | noarch | openSUSE-20210302-0
    i | kernel-firmware-mwifiex | package | 20210208-2.1 | noarch | openSUSE-20210302-0
    i | kernel-firmware-network | package | 20210208-2.1 | noarch | openSUSE-20210302-0
    i | kernel-firmware-nfp | package | 20210208-2.1 | noarch | openSUSE-20210302-0
    i | kernel-firmware-nvidia | package | 20210208-2.1 | noarch | openSUSE-20210302-0
    i | kernel-firmware-platform | package | 20210208-2.1 | noarch | openSUSE-20210302-0
    i | kernel-firmware-prestera | package | 20210208-2.1 | noarch | openSUSE-20210302-0
    i | kernel-firmware-qlogic | package | 20210208-2.1 | noarch | openSUSE-20210302-0
    i | kernel-firmware-radeon | package | 20210208-2.1 | noarch | openSUSE-20210302-0
    i | kernel-firmware-realtek | package | 20210208-2.1 | noarch | openSUSE-20210302-0
    i | kernel-firmware-serial | package | 20210208-2.1 | noarch | openSUSE-20210302-0
    i | kernel-firmware-sound | package | 20210208-2.1 | noarch | openSUSE-20210302-0
    i | kernel-firmware-ti | package | 20210208-2.1 | noarch | openSUSE-20210302-0
    i | kernel-firmware-ueagle | package | 20210208-2.1 | noarch | openSUSE-20210302-0
    i | kernel-firmware-usb-network | package | 20210208-2.1 | noarch | openSUSE-20210302-0
    i | purge-kernels-service | package | 0-7.3 | noarch | openSUSE-20210302-0
    i+ | rtl8821cu-kmp-default | package | 20210117_k4.12.14_lp151.28.91-lp151.5.2 | x86_64 | (System Packages)
    Code:
    uname -a
    returned-

    Linux localhost 5.10.16-1-default #1 SMP Sat Feb 13 16:20:19 UTC 2021 (11381f3) x86_64 x86_64 x86_64 GNU/Linux
    I hope that answers all of your questions! Thanks in advance for the help!

  5. #5
    Join Date
    Mar 2011
    Location
    Sauerland
    Posts
    5,602

    Default AW: RTL8821CU Onboard WIFI

    i+ | rtl8821cu-kmp-default | package | 20210117_k4.12.14_lp151.28.91-lp151.5.2 | x86_64 | (System Packages)
    Linux localhost 5.10.16-1-default #1 SMP Sat Feb 13 16:20:19 UTC 2021 (11381f3) x86_64 x86_64 x86_64 GNU/Linux
    You see the difference?
    The rtl8821cu is build for kernel 4.12, but you are running an kernel 5.10.

    If you can connect to Internet with Lan, you can do as root:
    Code:
    rpm -e rtl8821cu-kmp-default
    Code:
    zypper ar -f https://download.opensuse.org/repositories/home:/Sauerland:/hardware/openSUSE_Tumbleweed/ Sauerland-Tumble
    Code:
    zypper in -f rtl8821cu-kmp-default
    So you will get an Update when a new Kernel is released.

    Otherwise download:
    https://download.opensuse.org/reposi....13.x86_64.rpm

    And install it the "hard way".....

  6. #6

    Default Re: AW: RTL8821CU Onboard WIFI

    Quote Originally Posted by Sauerland View Post
    Otherwise download:
    https://download.opensuse.org/reposi....13.x86_64.rpm

    And install it the "hard way".....
    #ChallengeAccepted

    So what are my steps? just grab the rpm, move it via USB and install the RPM? Should I remove those other packages? How should I do that?

  7. #7
    Join Date
    Mar 2011
    Location
    Sauerland
    Posts
    5,602

    Default AW: RTL8821CU Onboard WIFI

    Grab it with another PC, move it and install it.
    Before please delete as root:
    Code:
    rpm -e rtl8821cu-kmp-default

  8. #8

    Default Re: AW: RTL8821CU Onboard WIFI

    Quote Originally Posted by Sauerland View Post
    Grab it with another PC, move it and install it.
    Before please delete as root:
    Code:
    rpm -e rtl8821cu-kmp-default
    Okay, so that part is done. I had to run the install from the command line with --nodeps to get it to finish. It originally errored out about dependencies.

  9. #9

    Default Re: RTL8821CU Onboard WIFI

    Nope, still no internet. Network Interfaces nor the YaST network tool see the device...

  10. #10
    Join Date
    Mar 2011
    Location
    Sauerland
    Posts
    5,602

    Default AW: RTL8821CU Onboard WIFI

    Post:
    Code:
    zypper se -si kernel rtl8821

Page 1 of 3 123 LastLast

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
  •