why there is exclamation mark on wi fi. I am facing problem after upgrading to lollipop 5.0
in lollipop , '!' is shown usually when wifi is connected but unable to access internet for reasons like Sign-in into ISP webpage,etc .

i suggest u to turn off wifi router power supply and turn it on after 10 seconds,
this solved same problem for me