Alfa AWUS036NHR connection issues

view story

http://askubuntu.com – I'm running Ubuntu 13.10, and the wifi card, Broadcom BCM4313, running driver wl0, shows networks but won't connect to them. I've kind of given up trying to fix this, and bought an external wifi adapter, an Alfa AWUS036NHR, which uses the driver rtl8192cu. This works ok, but every few minutes, the connection freezes. Sometimes it is fixed by disconnecting and re-connecting to the AP, but sometimes i have to un-plug it and plug it in again. I can also re-set it by removing and re-loading the driver with modprobe, but I'd like to know if there's a definitive solution to this. Thanks in advance. (HowTos)