Tag: mini-HOWTO
Build the Linux Kernel Module to Enable RTL8811CU/RTL8821CU USB Wireless Dongles
There is no built-in support for Realtek RTL8811CU[1][2] and RTL8821CU[3] in Ubuntu 20.04 LTS. The later also has a Bluetooth controller. I have to download the RTL8811CU/RTL8821CU driver source code, compile to a kernel module, add it to the kernel, and switch to the WiFi USB mode.
The following USB wireless dongle uses the RTL8811CU chipset:
- TOTOLINK A650UA[4]
Quick Summary
For Ubuntu 18.04 LTS and 20.04LTS, follow these steps:
$sudo apt-get update $sudo apt-get install dkms git $git clone https://github.com/brektrou/rtl8821CU.git $cd ~/rtl8821CU $sudo ./dkms-install.sh $sudo /usr/sbin/usb_modeswitch -KW -v 0bda -p 1a2b
If the usb_modeswitch doesn’t work, check the vendor and product id:
$sudo modprobe 8821cu $lsusb
If it works, make it work automatically:
$sudo vi /lib/udev/rules.d/40-usb_modeswitch.rules /1a2b # D-Link DWA-171 Wifi Dongle #ATTR{idVendor}=="0bda", ATTR{idProduct}=="1a2b", RUN+="usb_modeswitch '/%k'" # TOTOLINK A500UA ATTR{idVendor}=="0bda", ATTR{idProduct}=="1a2b", RUN+="/usr/sbin/usb_modeswitch -K -v 0bda -p 1a2b"
For RTL8821CU, run systemctl start bluetooth.service to enable Bluetooth.
Continue reading “Build the Linux Kernel Module to Enable RTL8811CU/RTL8821CU USB Wireless Dongles”Build the Linux Kernel Module to Enable RTL8192EU USB Wireless Dongles
The built-in support for Realtek RTL8192EU[1][2] in Ubuntu 20.04 LTS has some issues with D-Link DWA-131 E1[3]. It provides a weak signal and slow WiFi. To improve, I have to download the RTL8192EU driver source code, compile to a kernel module, add it to the kernel, remove the existing drivers, and fix the detection issue.
The following USB wireless dongle uses the RTL8192EU chipset:
- D-Link DWA-131 E1
Quick Summary
For Ubuntu 18.04 LTS and 20.04LTS, follow these steps:
Continue reading “Build the Linux Kernel Module to Enable RTL8192EU USB Wireless Dongles”$sudo apt-get update $sudo apt-get install dkms git $git clone https://github.com/Mange/rtl8192eu-linux-driver $cd ~/rtl8192eu-linux-driver $sudo rmmod 8192eu $sudo rmmod rtl8xxxu $sudo dkms remove rtl8192eu/1.0 --all $sudo dkms add . $sudo dkms install rtl8192eu/1.0 $sudo depmod -a $echo "blacklist rtl8xxxu" | sudo tee /etc/modprobe.d/rtl8xxxu.conf $echo -e "8192eu\n\nloop" | sudo tee /etc/modules $echo "options 8192eu rtw_power_mgnt=0 rtw_enusbss=0" | sudo tee /etc/modprobe.d/8192eu.conf $sudo update-grub $sudo update-initramfs -u; $sudo shutdown -r now
Build the Linux Kernel Module to Enable RTL8812AU USB Wireless Dongles
There is no built-in support for Realtek RTL8812AU[1][2] in Linux. To enable, I have to download the RTL8122AU driver source code, compile to a kernel module, and add to the kernel.
Following USB wireless dongles use the RTL8812AU chipset:
- D-Link DWA-171 A1[3]
- Edimax EW-7811UTC[4]
- netis WF2190[5]
- TP-Link Archer T2U Ver 3.0 (RTL8811AU)
Quick Summary
For Ubuntu 18.04 LTS and 20.04LTS, follow these steps:
$sudo apt-get update $sudo apt-get install dkms git $git clone https://github.com/aircrack-ng/rtl8812au.git $cd ~/rtl8812au $sudo make dkms_install $sudo modprobe 88XXauContinue reading “Build the Linux Kernel Module to Enable RTL8812AU USB Wireless Dongles”
Install and Use Chinese Input in Ubuntu
- Install and Configure RimeĀ for iBus
- Install and Configure Pinyin for iBus
- Install and Configure Google Pinyin for iBus
- Install and Configure Rime for Fcitx
- Install and Configure Google Pinyin for Fcitx
- Remove Google Pinyin for Fcitx and Restore Rime for iBus
- Switch Between iBus and Fcitx
- Issues