phone is not able to connect to wifi

My pixel phone can not connect to wifi , it connects to wifi only when it is on router . Even then it only shows the connection but the internet never works !

When i shake my phone , sometime the wifi gets connected for a while . I bought my phone from US to india ... and phone doesn't cover international warranty , helpless!!

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 0
crwdns2934285:0crwdne2934285:0