How to Download and Install Realtek Rtl8723ae Driver on Ubuntu
If you have a Realtek rtl8723ae wireless card and you want to use it on Ubuntu, you may need to install the driver manually. This article will show you how to download and install the Realtek rtl8723ae driver on Ubuntu 18.04, 20.04 and other versions.
Realtek rtl8723ae is a wireless card that supports both 802.11n and Bluetooth 4.0. It is commonly found in laptops and desktops from various manufacturers. However, it may not work out of the box on Ubuntu, as some drivers are not included in the Linux kernel or the Ubuntu repositories.
Fortunately, you can download the driver from Realtek's website or GitHub and compile it yourself. This requires some basic command-line skills and packages, but it is not too difficult. Here are the steps to follow:
Find out your wireless card chipset ID. You can do this by opening a terminal and typing lspci -v grep Wireless for PCI/PCIe internal adapters, or lsusb -v grep Wireless for USB dongles. You should see something like Realtek Semiconductor Co., Ltd. RTL8723AE PCIe Wireless Network Adapter in the output.
Download the driver source code. You can get it from Realtek's website or GitHub. The GitHub version may be more updated and compatible with newer kernels. To download it from GitHub, you need to install git first: sudo apt-get install git. Then, clone the repository: git clone https://github.com/lwfinger/rtl8723au.git. This will create a folder called rtl8723au in your home directory.
Compile and install the driver. You need to install some packages for compiling software: sudo apt-get install build-essential. Then, go to the rtl8723au folder: cd rtl8723au. And run these commands: make && sudo make install. This will compile the driver and install it to your system.
Load the driver module. You need to load the driver module to make it work: sudo modprobe rtl8723ae. You can also add it to /etc/modules to load it automatically at boot: echo rtl8723ae sudo tee -a /etc/modules.
Check if the driver works. You should see your wireless card detected and working now. You can check it by typing iwconfig or nmcli device status. You should see something like wlan0 802-11-wireless connected. You can also scan for available networks and connect to them using your network manager.
Congratulations! You have successfully downloaded and installed the Realtek rtl8723ae driver on Ubuntu. You can now enjoy wireless connectivity and Bluetooth functionality on your device.If you want to uninstall the driver, you can follow these steps:
Go to the rtl8723au folder: cd rtl8723au.
Run this command: sudo make uninstall. This will remove the driver from your system.
Remove the driver module from /etc/modules: sudo sed -i '/rtl8723ae/d' /etc/modules.
Reboot your device: sudo reboot.
After rebooting, your wireless card will not work anymore. You can use another driver or reinstall the Realtek rtl8723ae driver if you want. 29c81ba772