Default Wi-fi won't connect properly

Hey guys, my Tab stopped connecting to the wifi properly all of a sudden. I mean, it connects... but the wifi icon is orange. No Google services work for me. I can access Facebook and Instagram, but I can't load images. WhatsApp still works fine. But my brother's Moto G works fine. I'm using Connectify 8 on my PC. Tried rebooting tablet and Connectify several times and it won't work. What should I do?

Edit: tried a factory reset and I got "Can't establish a reliable connection to the server.". That could be a Google issue, but why is my device the only affected? My brother's Motorola still can download apps and stuff, even using the same network as me.
Device: Samsung Galaxy Tab 2 7.0 (Wi-Fi)
CyanogenMod version: 11-20140906-NIGHTLY-p3110
Android version: 4.4.4
Kernel version: 3.0.31-CM-g9b3f943
Build number: cm_p3110-userdebug 4.4.4 KTU84Q d4dba7c401 test-keys
Recovery: CWM