I managed to solve the issue.. Thanks a million to thamer from Github.. https://github.com/Mange/rtl8192eu-linux-driver/issues/18
Just adding "8192eu" via text editor to "/etc/modules" and recompiling the driver did the trick..
I have seen many people report wifi connection problems after upgrading to kernel 4.9.x, especially with Realtek wifi chipsets..
I have managed to find a solution, thanks to thamer
from Github.. https://github.com/Mange/rtl8192eu-linux-driver/issues/18
Actually this is a driver issue.. The 4.9.x kernel for some reason is unable to use the correct 8192eu driver.. instead it is using the rtl8xxxu driver..
If you run "lshw -c network" from a root terminal, you can clearly see it is using a different 81xx driver..
So to solve this:A.
Open "etc/modules" from a file manager (Nautilus, PcManfm, etc..) as root..
The "modules" file just contains a single entry "loop".. Add an entry "8192eu" before the loop as shown below:
What this does is manually pre-loads the 8192eu module during boot..B.
Recompile the driver using "make && make install" from a root terminal and reboot..
Viola!! You'll have the driver working again.. I have checked this multiple times and have been satisfied this works every time..C.
Actually, I have put together a tutorial for new users or people looking for detailed information on how to compile the Github driver..https://scdas141.wordpress.com/2017/01/28/how-to-compile-mangertl8192eu-linux-driver-driver/
Hope this helps..
Thanks again, everyone -- especially paxmark who tried to help..
PS. Request to moderator to mark it as solved..