Most likely your country banned access to Google, or at least its "captive portal" which is responsible for verification of network access on OS level. As I answered herehere,
Just execute
su
thensettings put global captive_portal_server SERVER_YOU_WANT_TO_USE
in a terminal emulator app or ADB shell.
For China using g.cn is alright, while for your country you will need to figure out a suitable captive portal. A possible list of that can be seen in this answerthis answer.