Try a ping to 8.8.8.8 and see what you get. I can help once we know where to look.I'm having an issue with my Linux machine, i can connect to my phone hotspot but can't ping any nameserver or Google, please i need help.
Try a ping to 8.8.8.8 and see what you get. I can help once we know where to look.
ip a
looks like no reply at all. yes making a song reference. I have seen this before with hotspots. you need to make sure you are connected to the hotspot. keep in mind that the hotspots usually turn off if not actively running data in a couple minutes. so check the phone hotspot setting there.
next go into a terminal and type "ifconfig" and locate your network adapter in all the crap that comes up. what you want is to find the assigned ip address. that is 4 sets of numbers separated by dots. if you see something starting with 169 then your hotspot is not giving us an ip address. or if it is all 0's
if possible check to see what ip addresses are being given out by your phone. You may or may not be able to find this in your settings but it is referred to as a "dhcp pool". You would recognize this sort of thing on most computers you find your ip address as something like 192.168.
My phone give me ip address, starting with 192looks like no reply at all. yes making a song reference. I have seen this before with hotspots. you need to make sure you are connected to the hotspot. keep in mind that the hotspots usually turn off if not actively running data in a couple minutes. so check the phone hotspot setting there.
next go into a terminal and type "ifconfig" and locate your network adapter in all the crap that comes up. what you want is to find the assigned ip address. that is 4 sets of numbers separated by dots. if you see something starting with 169 then your hotspot is not giving us an ip address. or if it is all 0's
if possible check to see what ip addresses are being given out by your phone. You may or may not be able to find this in your settings but it is referred to as a "dhcp pool". You would recognize this sort of thing on most computers you find your ip address as something like 192.168.1.15
What is the exact output when you try to ping Google?
More specifically, does it get far enough to show an IP address or does it just fizzle out and throw an error about the connection?
What happens when you ping the gateway?
I connected my hotspot to my friend Linux system and it worked, i think I have DNS problemIn my mind I start working my way outward. You have established you cant make it to google. Here is what I would do
1. do the command "ip a" to obtain your interface IP
2 ping your own interface
3. do the command "route -n" to get your gateway
4. ping the gateway.
5. If all of that works you can try a traceroute to the google dns IP and see how far that gets
Based on the failure I'm guessing you are probably not getting past your gateway. You might also try connecting anything else to your hotspot and see if that works. if you can connect the system not getting to the public internet to any other working Internet connection that would also either eliminate or point the finger at the pc.
Good luck
5. If all of that works you can try a traceroute to the google dns IP and see how far that gets
It looks like everything is working. you can ping the gateway and you are getting DNS resolution according to the ping for google. This leaves the issue on your phone. You can confirm this by connecting to another wifi network assuming you can move the computer in question.My phone give me ip address, starting with 192