Page 1 of 2 12 LastLast
Results 1 to 10 of 20

Thread: Driver for RTL8811 Wireless Adapter for Ubuntu 18.04

  1. #1
    Join Date
    Dec 2018
    Beans
    3

    Unhappy Driver for RTL8811 Wireless Adapter for Ubuntu 18.04

    Does anyone have an experience of installing the drivers for RTL8811 Wireless Adapter for Ubuntu 18.04 ?

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

    Re: Driver for RTL8811 Wireless Adapter for Ubuntu 18.04

    Is it a USB adapter? Please run and post:
    Code:
    lsusb
    Thanks.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, B.Sc., M.Sc., M.A., Ph.D., Sc.D.

  3. #3
    Join Date
    Dec 2018
    Beans
    3

    Re: Driver for RTL8811 Wireless Adapter for Ubuntu 18.04

    Hello,
    Output is :
    Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 001 Device 005: ID 0c45:64ad Microdia
    Bus 001 Device 004: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
    Bus 001 Device 006: ID 0cf3:0036 Atheros Communications, Inc.
    Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 003 Device 003: ID 0bda:c811 Realtek Semiconductor Corp.
    Bus 003 Device 002: ID 046d:c52f Logitech, Inc. Unifying Receiver
    Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

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

    Re: Driver for RTL8811 Wireless Adapter for Ubuntu 18.04

    Please get a working internet connection by ethernet, tethering or whatever means possible. Open a terminal and do:

    Code:
    sudo apt update
    sudo apt install build-essential git dkms
    git clone https://github.com/whitebatman2/rtl8821CU.git
    DRV_NAME=rtl8821CU
    DRV_VERSION=5.2.5.3
    sudo mkdir /usr/src/${DRV_NAME}-${DRV_VERSION}
    git archive master | sudo tar -x -C /usr/src/${DRV_NAME}-${DRV_VERSION}
    sudo dkms add -m ${DRV_NAME} -v ${DRV_VERSION}
    sudo dkms build -m ${DRV_NAME} -v ${DRV_VERSION}
    sudo dkms install -m ${DRV_NAME} -v ${DRV_VERSION}
    Post back any errors, warnings, etc.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, B.Sc., M.Sc., M.A., Ph.D., Sc.D.

  5. #5
    Join Date
    Dec 2018
    Beans
    3

    Re: Driver for RTL8811 Wireless Adapter for Ubuntu 18.04

    Man ! I cannot describe how grateful I am . I have been looking for a solution for days now. Your solution worked perfectly ! You are the man . Thanks a lot !
    I just added one step. Everything else was smooth.

    sudo apt update
    sudo apt install build-essential git dkms
    git clone https://github.com/whitebatman2/rtl8821CU.git
    DRV_NAME=rtl8821CU
    DRV_VERSION=5.2.5.3
    sudo mkdir /usr/src/${DRV_NAME}-${DRV_VERSION}
    cd $DRV_NAME
    git archive master | sudo tar -x -C /usr/src/${DRV_NAME}-${DRV_VERSION}
    sudo dkms add -m ${DRV_NAME} -v ${DRV_VERSION}
    sudo dkms build -m ${DRV_NAME} -v ${DRV_VERSION}
    sudo dkms install -m ${DRV_NAME} -v ${DRV_VERSION}

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

    Re: Driver for RTL8811 Wireless Adapter for Ubuntu 18.04

    Quote Originally Posted by varunkalia View Post
    Man ! I cannot describe how grateful I am . I have been looking for a solution for days now. Your solution worked perfectly ! You are the man . Thanks a lot !
    I just added one step. Everything else was smooth.

    sudo apt update
    sudo apt install build-essential git dkms
    git clone https://github.com/whitebatman2/rtl8821CU.git
    DRV_NAME=rtl8821CU
    DRV_VERSION=5.2.5.3
    sudo mkdir /usr/src/${DRV_NAME}-${DRV_VERSION}
    cd $DRV_NAME
    git archive master | sudo tar -x -C /usr/src/${DRV_NAME}-${DRV_VERSION}
    sudo dkms add -m ${DRV_NAME} -v ${DRV_VERSION}
    sudo dkms build -m ${DRV_NAME} -v ${DRV_VERSION}
    sudo dkms install -m ${DRV_NAME} -v ${DRV_VERSION}
    Ah! Yes! Good catch and thanks for pointing it out.

    Please use Thread Tools at the top to mark Solved. The searchers will appreciate it.
    "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
    Jan 2018
    Beans
    2

    Re: Driver for RTL8811 Wireless Adapter for Ubuntu 18.04

    Thank you Chili555, worked well for me

    Regards

    Andrew

  8. #8
    Join Date
    Aug 2011
    Location
    Berlin, Germany
    Beans
    7,967
    Distro
    Ubuntu Mate 20.04 Focal Fossa

    Re: Driver for RTL8811 Wireless Adapter for Ubuntu 18.04

    Bookmarked, thx Chili.

    modinfo 8821cu
    Code:
    filename:       /lib/modules/4.4.0-141-generic/updates/dkms/8821cu.ko
    version:        v5.2.5.3_24795.20171031_COEX20170310-1212
    author:         Realtek Semiconductor Corp.
    description:    Realtek Wireless Lan Driver
    license:        GPL
    srcversion:     BF889E8A2C9CD0439BD79BA
    alias:          usb:v0BDAp8811d*dc*dsc*dp*icFFiscFFipFFin*
    alias:          usb:v0BDApC811d*dc*dsc*dp*icFFiscFFipFFin*
    alias:          usb:v0BDApC82Bd*dc*dsc*dp*icFFiscFFipFFin*
    alias:          usb:v0BDApC82Ad*dc*dsc*dp*icFFiscFFipFFin*
    alias:          usb:v0BDApC820d*dc*dsc*dp*icFFiscFFipFFin*
    alias:          usb:v0BDApC821d*dc*dsc*dp*icFFiscFFipFFin*
    alias:          usb:v0BDApB820d*dc*dsc*dp*icFFiscFFipFFin*
    alias:          usb:v0BDApB82Bd*dc*dsc*dp*icFFiscFFipFFin*
    depends:        cfg80211
    retpoline:      Y
    vermagic:       4.4.0-141-generic SMP mod_unload modversions retpoline 
    parm:           rtw_ips_mode:The default IPS mode (int)
    parm:           rtw_lps_level:The default LPS level (int)
    parm:           rtw_usb_rxagg_mode:int
    parm:           rtw_dynamic_agg_enable:int
    parm:           rtw_drv_log_level:set log level when insert driver module, default log level is _DRV_INFO_ = 4 (uint)
    parm:           rtw_tx_bw_mode:The max tx bw for 2.4G and 5G. format is the same as rtw_bw_mode (uint)
    parm:           rtw_rx_ampdu_sz_limit_1ss:RX AMPDU size limit for 1SS link of each BW, 0xFF: no limitation (array of uint)
    parm:           rtw_rx_ampdu_sz_limit_2ss:RX AMPDU size limit for 2SS link of each BW, 0xFF: no limitation (array of uint)
    parm:           rtw_rx_ampdu_sz_limit_3ss:RX AMPDU size limit for 3SS link of each BW, 0xFF: no limitation (array of uint)
    parm:           rtw_rx_ampdu_sz_limit_4ss:RX AMPDU size limit for 4SS link of each BW, 0xFF: no limitation (array of uint)
    parm:           rtw_vht_enable:int
    parm:           rtw_vht_rx_mcs_map:VHT RX MCS map (uint)
    parm:           rtw_rf_config:int
    parm:           rtw_country_code:The default country code (in alpha2) (charp)
    parm:           rtw_channel_plan:The default chplan ID when rtw_alpha2 is not specified or valid (int)
    parm:           rtw_excl_chs:exclusive channel array (array of uint)
    parm:           rtw_btcoex_enable:BT co-existence on/off, 0:off, 1:on, 2:by efuse (int)
    parm:           rtw_ant_num:Antenna number setting, 0:by efuse (int)
    parm:           rtw_force_igi_lb:force IGI low-bound, 0:no specified (int)
    parm:           rtw_qos_opt_enable:int
    parm:           ifname:The default name to allocate for first interface (charp)
    parm:           if2name:The default name to allocate for second interface (charp)
    parm:           rtw_pwrtrim_enable:int
    parm:           rtw_initmac:charp
    parm:           rtw_special_rf_path:int
    parm:           rtw_chip_version:int
    parm:           rtw_rfintfs:int
    parm:           rtw_lbkmode:int
    parm:           rtw_network_mode:int
    parm:           rtw_channel:int
    parm:           rtw_mp_mode:int
    parm:           rtw_wmm_enable:int
    parm:           rtw_vrtl_carrier_sense:int
    parm:           rtw_vcs_type:int
    parm:           rtw_busy_thresh:int
    parm:           rtw_ht_enable:int
    parm:           rtw_bw_mode:int
    parm:           rtw_ampdu_enable:int
    parm:           rtw_rx_stbc:int
    parm:           rtw_rx_ampdu_amsdu:int
    parm:           rtw_tx_ampdu_amsdu:int
    parm:           rtw_lowrate_two_xmit:int
    parm:           rtw_power_mgnt:int
    parm:           rtw_smart_ps:int
    parm:           rtw_low_power:int
    parm:           rtw_wifi_spec:int
    parm:           rtw_full_ch_in_p2p_handshake:int
    parm:           rtw_antdiv_cfg:int
    parm:           rtw_antdiv_type:int
    parm:           rtw_drv_ant_band_switch:int
    parm:           rtw_single_ant_path:int
    parm:           rtw_switch_usb_mode:int
    parm:           rtw_enusbss:int
    parm:           rtw_hwpdn_mode:int
    parm:           rtw_hwpwrp_detect:int
    parm:           rtw_hw_wps_pbc:int
    parm:           rtw_check_hw_status:int
    parm:           rtw_max_roaming_times:The max roaming times to try (uint)
    parm:           rtw_mc2u_disable:int
    parm:           rtw_80211d:Enable 802.11d mechanism (int)
    parm:           rtw_notch_filter:0:Disable, 1:Enable, 2:Enable only for P2P (uint)
    parm:           rtw_hiq_filter:0:allow all, 1:allow special, 2:deny all (uint)
    parm:           rtw_adaptivity_en:0:disable, 1:enable (uint)
    parm:           rtw_adaptivity_mode:0:normal, 1:carrier sense (uint)
    parm:           rtw_adaptivity_dml:0:disable, 1:enable (uint)
    parm:           rtw_adaptivity_dc_backoff:DC backoff for Adaptivity (uint)
    parm:           rtw_adaptivity_th_l2h_ini:th_l2h_ini for Adaptivity (int)
    parm:           rtw_adaptivity_th_edcca_hl_diff:th_edcca_hl_diff for Adaptivity (int)
    parm:           rtw_amplifier_type_2g:BIT3:2G ext-PA, BIT4:2G ext-LNA (uint)
    parm:           rtw_amplifier_type_5g:BIT6:5G ext-PA, BIT7:5G ext-LNA (uint)
    parm:           rtw_RFE_type:default init value:64 (uint)
    parm:           rtw_powertracking_type:default init value:64 (uint)
    parm:           rtw_GLNA_type:default init value:0 (uint)
    parm:           rtw_TxBBSwing_2G:default init value:0xFF (uint)
    parm:           rtw_TxBBSwing_5G:default init value:0xFF (uint)
    parm:           rtw_OffEfuseMask:default open Efuse Mask value:0 (uint)
    parm:           rtw_FileMaskEfuse:default drv Mask Efuse value:0 (uint)
    parm:           rtw_rxgain_offset_2g:default RF Gain 2G Offset value:0 (uint)
    parm:           rtw_rxgain_offset_5gl:default RF Gain 5GL Offset value:0 (uint)
    parm:           rtw_rxgain_offset_5gh:uint
    parm:           rtw_rxgain_offset_5gm:default RF Gain 5GM Offset value:0 (uint)
    parm:           rtw_pll_ref_clk_sel:force pll_ref_clk_sel, 0xF:use autoload value (uint)
    parm:           rtw_tx_pwr_by_rate:0:Disable, 1:Enable, 2: Depend on efuse (int)
    parm:           rtw_tx_pwr_lmt_enable:0:Disable, 1:Enable, 2: Depend on efuse (int)
    parm:           rtw_target_tx_pwr_2g_a:2.4G target tx power (unit:dBm) of RF path A for each rate section, should match the real calibrate power, -1: undefined (array of int)
    parm:           rtw_target_tx_pwr_2g_b:2.4G target tx power (unit:dBm) of RF path B for each rate section, should match the real calibrate power, -1: undefined (array of int)
    parm:           rtw_target_tx_pwr_2g_c:2.4G target tx power (unit:dBm) of RF path C for each rate section, should match the real calibrate power, -1: undefined (array of int)
    parm:           rtw_target_tx_pwr_2g_d:2.4G target tx power (unit:dBm) of RF path D for each rate section, should match the real calibrate power, -1: undefined (array of int)
    parm:           rtw_target_tx_pwr_5g_a:5G target tx power (unit:dBm) of RF path A for each rate section, should match the real calibrate power, -1: undefined (array of int)
    parm:           rtw_target_tx_pwr_5g_b:5G target tx power (unit:dBm) of RF path B for each rate section, should match the real calibrate power, -1: undefined (array of int)
    parm:           rtw_target_tx_pwr_5g_c:5G target tx power (unit:dBm) of RF path C for each rate section, should match the real calibrate power, -1: undefined (array of int)
    parm:           rtw_target_tx_pwr_5g_d:5G target tx power (unit:dBm) of RF path D for each rate section, should match the real calibrate power, -1: undefined (array of int)
    parm:           rtw_phy_file_path:The path of phy parameter (charp)
    parm:           rtw_load_phy_file:PHY File Bit Map (int)
    parm:           rtw_decrypt_phy_file:Enable Decrypt PHY File (int)
    parm:           rtw_en_napi:int
    parm:           rtw_en_gro:int

  9. #9
    Join Date
    Jan 2019
    Beans
    1

    Re: Driver for RTL8811 Wireless Adapter for Ubuntu 18.04

    This totally worked for me. I'd been struggling a few days with this until happening on this post.

    I'm on Lubuntu 18.10 with 4.18.0-10-generic (out of the box).

    Thanks Chili for spelling it out! I'm not a total newbie but more of an advanced end user, and was working on a computer I built for about $40 not including the $5 junk motherboard my 12 year old bought me at a flea market. I built the computer to show him how to build computers. Pentium 4, 2 GB RAM, and an AGP Radeon card. How old school is that?

  10. #10
    Join Date
    May 2019
    Beans
    1

    Re: Driver for RTL8811 Wireless Adapter for Ubuntu 18.04

    Hey guys,

    This seems like a perfect guide for an issue that took me whole day to work out. Unfortunately, my struggle is not quite done - I followed the steps here and got no errors, however I still can't actually connect to any wifi.

    My networkctl displays:

    Code:
    IDX LINK             TYPE               OPERATIONAL SETUP
      1 lo               loopback           carrier     unmanaged
      2 enp1s0           ether              routable    configured
      3 wlx000f00dbbe5f  wlan               no-carrier  configuring
      4 docker0          ether              no-carrier  unmanaged
    even though lshw -class network seems OK:
    Code:
      *-network
           description: Ethernet interface
           product: NetXtreme BCM5764M Gigabit Ethernet PCIe
           vendor: Broadcom Inc. and subsidiaries
           physical id: 0
           bus info: pci@0000:01:00.0
           logical name: enp1s0
           version: 10
           serial: 00:25:b3:c8:53:43
           size: 1Gbit/s
           capacity: 1Gbit/s
           width: 64 bits
           clock: 33MHz
           capabilities: pm vpd msi pciexpress bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
           configuration: autonegotiation=on broadcast=yes driver=tg3 driverversion=3.137 duplex=full firmware=5764m-v3.35 ip=192.168.0.2 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
           resources: irq:28 memory:e3000000-e300ffff
      *-network:0
           description: Wireless interface
           physical id: 1
           bus info: usb@2:4
           logical name: wlx000f00dbbe5f
           serial: 00:0f:00:db:be:5f
           capabilities: ethernet physical wireless
           configuration: broadcast=yes driver=rtl8821cu multicast=yes wireless=unassociated
      *-network:1
           description: Ethernet interface
           physical id: 2
           logical name: docker0
           serial: 02:42:87:b4:0c:a7
           capabilities: ethernet physical
           configuration: broadcast=yes driver=bridge driverversion=2.3 firmware=N/A ip=172.17.0.1 link=no multicast=yes
    Finally, the relevan lsusb entry is:
    Code:
    Bus 002 Device 002: ID 0bda:c811 Realtek Semiconductor Corp.
    I thought the issue might be in netplan config: so here is my 50-cloud-init.yaml:
    Code:
    network:
        ethernets:
            enp1s0:
                addresses:
                - 192.168.0.2/24
                gateway4: 192.168.0.1
                nameservers:
                    addresses:
                    - 192.168.0.1
        version: 2
        wifis:
            wlx000f00dbbe5f:
                dhcp4: true
                access-points:
                    "ak":
                      password: "ak123456"
    Any ideas what else I can try?

Page 1 of 2 12 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
  •