hi,,
i am using kali2.0 64 bit on VirtualBox, and i am using rtl8192cu USB WIFI .

when i am using the internet from terminal it works fine (ping, apt-get) but when i open browser it stops working and also i cannot use it
from the terminal any more . unless i restart the network using
Code:
 service network-manager restart
, i can use internet from the terminal again
i have found that there is a problem in the driver https://github.com/pvaret/rtl8192cu-fixes , and i have followed it and it does not work (it worked with Ubuntu) , i have also tried to disable the power management and nothing changed .