I suspect DNS, try to "ping 8.8.8.8" (Google DNS) if this works you have conectivity, then try to "nslookup amazon.com" if the nslookup fails you are likely to have a DNS problem, take a look in the Systemlog.
– user58634Apr 15 '17 at 13:22
Please see: https://askubuntu.com/questions/425155/my-wireless-wifi-connection-does-not-work-what-information-is-needed-to-diagnos/425180#425180
– chili555Apr 15 '17 at 13:25
I have the same problem, I tried the following solution a few hours ago and the problem didn't occur anymore. I didn't restart the notebook yet, so I'm not sure if it is a persistent solution: https://askubuntu.com/a/905019/147496
– Elin Y.Apr 16 '17 at 12:47