I have a TP-Link TL-WN821N wireless usb device that I was using with hostapd to provide a wireless network in my office. The built in kernel driver for this device is rtl8192cu. When using this driver, I was having issues with intermittent stopping or slowing of traffic. So I thought I would try building the 8192-fixes driver using dkms. I used information from here . I found that the driver does not support the access point mode, so I switched back to using the built in driver. The problem I am having is the rtl8192cu driver does not get automatically loaded at boot up or if I plug the device in after the computer is up and running. - It will only load if I modprobe it. If I modprobe the module, unplug the device, and then plug it back in it does load the module. I’ve checked that it is not blacklisted in /etc/modprob.d.
Are you absolutely sure it is still not blacklisted? Check with
grep -rnw '/etc/modprobe.d/' -e "rtl8192cu"
I’m suspicious since you mentioned that you had previously built the 8192cu driver, and one of the steps includes blacklisting the rtl8192cu driver (in /etc/modprobe.d/blacklist-native-rtl8192.conf). If you did since remove the blacklist config file, did you then reboot after that?
This is an alternative driver for various Realtek RTL8XXX parts written to utilize the Linux mac80211 stack. The driver is known to work with a number of RTL8723AU, RL8188CU, RTL8188RU, RTL8191CU, and RTL8192CU devices
This driver is under development and has a limited feature set. In particular it does not yet support 40MHz channels and power management. However it should have a smaller memory footprint than the vendor drivers and benefits from the in kernel mac80211 stack.
It can coexist with drivers from drivers/staging/rtl8723au, drivers/staging/rtl8192u, and drivers/net/wireless/rtlwifi, but you will need to control which module you wish to load.
On 12/28/2016 05:36 PM, chiefpete wrote:
>
> I have a TP-Link TL-WN821N wireless usb device that I was using with
> hostapd to provide a wireless network in my office. The built in kernel
> driver for this device is rtl8192cu. When using this driver, I was
> having issues with intermittent stopping or slowing of traffic.
I have this same device and also have the same problem. My “work around”
is to ping the router continuously to keep the link active.
Fortunately I only need the PC on for a couple of hours a day.
–
Ken
linux since 1994
S.u.S.E./openSUSE since 1996