Wifi Connects To Hotspot, But No Internet With Linux Mint 18.3
Hello.
I've encountered a problem that sounds similar to others I've been reading about for the past two days, in various forums, but I haven't found a solution that works, so now I'll ask before I start rooting around and break something. I use mobile broadband for internet access. My desktop can access the internet via the hotspot under both Slack64 v14.1 and Win7 using all of the same hardware. My laptop can do the same under Slack64 v14.2 and Win10, but not under Linux Mint 18.3. If I connect (USB) the hotspot to the laptop, then everything works fine. I've gone back and forth comparing all of the various settings that I can find, and everything seems to match between all five. The wifi from both machines connects just fine to the hotspot, but Linux Mint can't even ping anything beyond itself (at the address assigned by the hotspot). I'm guessing there's a setting or a config file or something along those lines that I've missed. Any help is greatly appreciated. |
Usual things are
|
I find this intriguing. I can't think of any really good diagnostic questions to ask, so I'll fall back to basics.
Could you provide more information about this hotspot of which you speak? Is it your mobile phone? If so, does it offer the option of a WiFi hotspot and have you tried using that instead of the USB hotspot? What is the output of ip addr or ifconfig -a on the Mint install? (Please be sure to surround any terminal output with "code" tags, which become available when you click the "Go Advanced" button beneath the compose post window.) Could you post the output of the ping you mention? Also, could you try these commands and post the output? Code:
ping google.com |
Quote:
Good diagnostics questions might be:
|
Quote:
2. Output of the route command: Code:
Kernel IP routing table Code:
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8) |
Quote:
nameserver 208.67.222.222 nameserver 208.67.220.220 which uses opendns.org. See if you have internet then. You could also try nameserver 192.168.0.1 which uses your phone's dns. Then I would try 'man resolveconf' and/or 'man resolver' and see if you can figure out where to configure this stuff. I also did a search for 'Ubuntu set dns nameservers' and discovered that half of their users have had this problem. |
Quote:
Code:
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8) |
So your gateway isn't passing dns. Instead of 192.168.0.1, put in the 2 opendns servers i gave you in the previous post
|
Mint uses dnsmasq as a DNS cache which is why the resolv.conf has 127.0.0.1 instead of an actual DNS server. If you cant ping the IP address of your gateway then something else is wrong. The route table looks ok.
Is dnsmasq running? |
Quote:
Code:
server=/localnet/192.168.0.1 |
Quote:
|
All times are GMT -5. The time now is 09:53 PM. |