The rtl8192cu drivers come shipped with the default kernels in linux. Albeit functional, its unmaintained by Realtek. The devices supported are for N150 based devices and N300 devices are dilapidated in their functionality by this driver.
This doc will tell you how to install drivers for the rtl8192cu wifi chipset working at full N300 speeds from kernel 3.10 onwards…
Realtek does not provide updated drivers and hence is maintained at github by Janez Troha and Steffan Keller.
On Ubuntu/debian download the dependencies:
sudo apt-get install git build-essential linux-headers-generic
On Arch/Manjaro download the dependencies:
pacman -S linux-headers
choose the correct header series for your kernel.
Download rtl8192cu for kernel 3.10:
git clone https://github.com/dz0ny/rt8192cu.git
If git is not present, install it.
Next, change directory:
sudo make install
Note: If you get an error like /build directory already exists, then delete it by using its absolute path…like:
Now you have to remove the old driver from the kernel:
sudo modprobe -r rtl8192cu
Next, enter your newly compiled module(8192cu.ko) into the kernel:
sudo modprobe 8192cu
Blacklist the old driver(rtl8192cu), so that it does not load on startup:
sudo echo "blacklist rtl8192cu" >> /etc/modprobe.d/blacklist.conf
REBOOT. The rtl8192cu should work days on end without a glitch.
NOTE:THE DRIVER LOCATED AT http://220.127.116.11/downloads/downloadsView.aspx?Langid=1&PNid=48&PFid=48&Level=5&Conn=4&DownTypeID=3&GetDown=false&Downloads=true#RTL8192CU WILL NOT WORK WITH KERNEL 3.8++(maybe even earlier versions may not work). JANEZ TROHA HAS MAD CHANGES TO THE SOURCE TO MAKE IT COMPATIBLE WITH NEWER KERNELS. UPDATE FOR NEWER KERNELS–3.11++ WILL BE DECLARED AT HIS GIT: https://github.com/dz0ny/rt8192cu
A myriad of devices on the market made by Tplink, asus, edimax, trendnet etc are based on this pathetic rtl8192cu chipset. Realtek does not bother updating the driver to work with new hardware on newer kernels. I have a dlink dwa 131 N300 which i believe has the rtl8192su chipset but has excellent linux and windows support. DWA-131 works plug-n-play on windows/linux. My point being stay aloof from devices based on the rtl8192cu wifi chipset.
A SPECIAL THANKS TO JANEZ TROHA