Limited Connectivity - Connected, no Internet When attempting to connect to my school's wifi, I enter my username and password and connect to the network. Below the wifi name it says Connected, no Internet and the wifi icon at the top right of the status bar is there, but with an exclamation mark! I can ping the router, but not google. My Android device is a Samsung Galaxy S2 i9100 and I'm running CM13 (Marshmallow). I've tried rebooting, forgetting network, wiping cache, resetting network settings and also factory resetting. Any help appreciated, thanks!
This is the exact problem I met. Since you cannot ping google I'd guess you're from China, just like me. My i9300 had the exact problem as yours. After downgrading to CM11 everything is fine.

Then I bought a Nexus 6P. Guess what? It has the same problem. After confirming with a friend who works in Huawei, this is actually a Marshmallow feature, or bug in our case. When you cannot connect to google service, Marshmallow would think that there is no internet connection. 

Update: Found a possible fix which worked for me:


Create a new user via Settings -> Users
While it is trying to connect the network (which will take some time, or forever in our case), power off the phone. 
Turn on the phone again. The "no internet" warning should be gone. 
You may need to delete the newly created account.**