This question already has an answer here:
I am using Ubuntu 17.04 and connect Internet from WiFi hotspot using my android mobile. It successfully connected and get ip address but Internet is not working. When I ping Google, it shows output as
ping: google.com: Name or service not known
while the connection information showing 1 to 72 MBPS speed. I also found another question with same issue but got no benefit.
- internet is working if i connect it with usb cable or LAN etc.