0

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.

1 Answers1

0

All you need to do is Open a terminal by pressing Ctrl + Alt + T and run:

sudo nano /etc/NetworkManager/NetworkManager.conf

At the bottom of this file, copy and paste the following:

[device] 
wifi.scan-rand-mac-address=no

after pasting it press Ctrl+ X and then type Y to Save it and press Enter

You can double check if the changes got saved by running the first command again and check if the edited line is there

Now you need to start your network manager for changes to take effect

sudo service network-manager restart

And WiFi should work again, Try to connect it

reference: Belkin F7D1101 v1 works under Ubuntu 16.10 but not under Lubuntu 17.04